skill
Chatgpt Apps
نبذة
# ChatGPT Apps
## Overview
Scaffold ChatGPT Apps SDK implementations with a docs-first, example-first workflow, then generate code that follows current Apps SDK and MCP Apps bridge patterns.
Use this skill to produce:
- A primary app-archetype classification and repo-shape decision - A tool plan (names, schemas, annotations, outputs) - An upstream starting-point recommendation (official example, ext-apps example, or local fallback scaffold) - An MCP server scaffold (resource registration, tool handlers, metadata) - A widget scaffold (MCP Apps bridge first, `window.openai` compatibility/extensions second) - A reusable Node + `@modelcontextprotocol/ext-apps` starter scaffold for low-dependency fallbacks - A validation report against the minimum working repo contract - Local dev and connector setup steps - A short stakeholder summary of what the app does (when requested)
## Mandatory Docs-First Workflow
Use `$openai-docs` first whenever building or changing a ChatGPT Apps SDK app.
1. Invoke `$openai-docs` (preferred) or call the OpenAI docs MCP server directly. 2. Fetch current Apps SDK docs before writing code, especially (baseline pages): - `apps-sdk/build/mcp-server` - `apps-sdk/build/chatgpt-ui` - `apps-sdk/build/examples` - `apps-sdk/plan/tools` - `apps-sdk/reference` 3. Fetch `apps-sdk/quickstart` when scaffolding a new app or generating a first-pass implementation, and check the official examples repo/page before inventing a scaffold from scratch. 4. Fetch deployment/submission docs when the task includes local ChatGPT testing, hosting, or public launch: - `apps-sdk/deploy` - `apps-sdk/deploy/submission` - `apps-sdk/app-submission-guidelines` 5. Cite the docs URLs you used when explaining design choices or generated scaffolds. 6. Prefer current docs guidance over older repo patterns when they differ, and call out compatibility aliases explicitly. 7. If doc search times out or returns poor matches, fetch the canonical Apps SDK pages directly by URL and continue; do not let search failure block scaffolding.
If `$openai-docs` is unavailable, use:
- `mcp__openaiDeveloperDocs__search_openai_docs` - `mcp__openaiDeveloperDocs__fetch_openai_doc`
Read `references/apps-sdk-docs-workflow.md` for suggested doc queries and a compact checklist. Read `references/app-archetypes.md` to classify the request into a small number of supported app shapes before choosing examples or scaffolds. Read `references/repo-contract-and-validation.md` when generating or reviewing a repo so the output stays inside a stable “working app” contract. Read `references/search-fetch-standard.md` when the app is connector-like, data-only, sync-oriented, or meant to work well with company knowledge or deep research. Read `references/upstream-example-workflow.md` when starting a greenfield app or when deciding whether to adapt an upstream example or use the local fallback scaffold. Read `references/window-openai-patterns.md` when the task needs ChatGPT-specific widget behavior or when translating repo examples that use wrapper-specific `app.*` helpers.
## Prompt Guidance
Use prompts that explicitly pair this skill with `$openai-docs` so the resulting scaffold is grounded in current docs.
Preferred prompt patterns:
- `Use $chatgpt-apps with $openai-docs to scaffold a ChatGPT app for <use case> with a <TS/Python> MCP server and <React/vanilla> widget.` - `Use $chatgpt-apps with $openai-docs to adapt the closest official Apps SDK example into a ChatGPT app for <use case>.` - `Use $chatgpt-apps and $openai-docs to refactor this Apps SDK demo into a production-ready structure with tool annotations, CSP, and URI versioning.` - `Use $chatgpt-apps with $openai-docs to plan tools first, then generate the MCP server and widget code.`
When responding, ask for or infer these inputs before coding:
- Use case and primary user flows - Read-only vs mutating tools - Demo vs production target - Private/internal use vs public directory submission - Backend language and UI stack - Auth requirements - External API domains for CSP allowlists - Hosting target and local dev approach - Org ownership/verification readiness (for submission tasks)
## Classify The App Before Choosing Code
Before choosing examples, repo shape, or scaffolds, classify the request into one primary archetype and state it.
- `tool-only` - `vanilla-widget` - `react-widget` - `interactive-decoupled` - `submission-ready`
Infer the archetype unless a missing detail is truly blocking. Use the archetype to choose:
- whether a UI is needed at all - whether to preserve a split `server/` + `web/` layout - whether to prefer official OpenAI examples, ext-apps examples, or the local fallback scaffold - which validation checks matter most - whether `search` and `fetch` should be the default read-only tool surface
Read `references/app-archetypes.md` for the decision rubric.
## Default Starting-Point Order
For greenfield apps, prefer these starting points in orde
التثبيت
شغل هذا الأمر
git clone https://github.com/openai/skills && cp -r skills/skills/.curated/chatgpt-apps ~/.claude/skills/يعمل مع
خطوات التثبيت
Clone the repository and copy the `skills/.curated/chatgpt-apps` folder into your Claude skills directory. Compatible with Claude Code, Cursor, Codex, and any Agent Skills-compatible agent.
أسئلة شائعة
كيف أثبت Chatgpt Apps؟
شغل هذا الأمر في الطرفية:
git clone https://github.com/openai/skills && cp -r skills/skills/.curated/chatgpt-apps ~/.claude/skills/مع أي أدوات ذكاء اصطناعي تعمل Chatgpt Apps؟
تعمل مع claude_app، claude_code، claude_api، cursor، codex، windsurf، cline، zed.
من طور Chatgpt Apps؟
طورها OpenAI، وتصدر بترخيص Apache-2.0.
هل Chatgpt Apps مجانية؟
نعم، يمكنك استخدامها مجانا وفق ترخيص Apache-2.0.
npx skills add google/agents-cli
npx skills add prisma/skills
npx skills add pbakaus/impeccable
npx skills add shadcn/ui
npx skills add scrapegraphai/just-scrape
npx skills add qu-skills/superpowers
افحص قبل التثبيت
شغل أي مصدر عبر فحوصاتنا - الظهور في الذكاء الاصطناعي والأمان والأداء واكتشاف التقنيات.
فحص أمني تلقائي للموقع
الأمان
محلل سرعة الصفحة
الأداء
اختبار جودة المحتوى العربي بالذكاء الاصطناعي
جودة المحتوى
مختبر وكلاء الذكاء الاصطناعي
اختبار الذكاء الاصطناعي
كاشف منصة الموقع
الترحيل
تدقيق الظهور في محركات الذكاء الاصطناعي
الظهور في الذكاء الاصطناعي
مولد ملف llms.txt
الظهور في الذكاء الاصطناعي
مقياس سهولة القراءة بالعربية
جودة المحتوى
منشئ البيانات المنظمة
الظهور في الذكاء الاصطناعي
حاسبة تكاليف الذكاء الاصطناعي
اختبار الذكاء الاصطناعي
محلل العناوين العربية
جودة المحتوى