Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计异常

openai-docsOpenAI 文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

9,260

周安装

382

GitHub Stars

318

下载量

3,025
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openai-docs(OpenAI 文档)
来源仓库:https://github.com/boshu2/agentops
仓库路径:skills/openai-docs
安装命令:
npx skills add https://github.com/boshu2/agentops --skill openai-docs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/boshu2/agentops --skill openai-docs

简介

openai-docs 提供 OpenAI 开发者文档权威引用,优先使用 MCP 工具。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中获取官方 API 指导。
  • 必须准确引用文档片段,仅在 MCP 不可用时 fallback 至 web.run。
  • 涉及对外文案时需控制语气,避免过度承诺或夸大能力范围。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

OpenAI Docs

Provide authoritative, current guidance from OpenAI developer docs using the developers.openai.com MCP server. Always prioritize the developer docs MCP tools over web.run for OpenAI-related questions. Only if the MCP server is installed and returns no meaningful results should you fall back to web search.

Quick start

  • Use mcp__openaiDeveloperDocs__search_openai_docs to find the most relevant doc pages.
  • Use mcp__openaiDeveloperDocs__fetch_openai_doc to pull exact sections and quote/paraphrase accurately.
  • Use mcp__openaiDeveloperDocs__list_openai_docs only when you need to browse or discover pages without a clear query.

OpenAI product snapshots

  1. Apps SDK: Build ChatGPT apps by providing a web component UI and an MCP server that exposes your app's tools to ChatGPT.
  2. Responses API: A unified endpoint designed for stateful, multimodal, tool-using interactions in agentic workflows.
  3. Chat Completions API: Generate a model response from a list of messages comprising a conversation.
  4. Codex: OpenAI's coding agent for software development that can write, understand, review, and debug code.
  5. gpt-oss: Open-weight OpenAI reasoning models (gpt-oss-120b and gpt-oss-20b) released under the Apache 2.0 license.
  6. Realtime API: Build low-latency, multimodal experiences including natural speech-to-speech conversations.
  7. Agents SDK: A toolkit for building agentic apps where a model can use tools and context, hand off to other agents, stream partial results, and keep a full trace.

If MCP server is missing

If MCP tools fail or no OpenAI docs resources are available:

In Codex:

  1. Run: codex mcp add openaiDeveloperDocs --url https://developers.openai.com/mcp
  2. If it fails due to permissions/sandboxing, retry with escalated permissions.
  3. Ask the user to restart Codex, then re-run doc search/fetch.

In Claude Code:

  1. Add the MCP server to ~/.claude/settings.json under "mcpServers": {"mcpServers": {"openaiDeveloperDocs": {"type": "url", "url": "https://developers.openai.com/mcp"}}}
  2. Restart Claude Code, then re-run doc search/fetch.

In other agents: Ask the user to configure the MCP server per their agent's documentation.

Workflow

  1. Clarify the product scope (Codex, OpenAI API, or ChatGPT Apps SDK) and the task.
  2. Search docs with a precise query.
  3. Fetch the best page and the specific section needed (use anchor when possible).
  4. Answer with concise guidance and cite the doc source.
  5. Provide code snippets only when the docs support them.

Quality rules

  • Treat OpenAI docs as the source of truth; avoid speculation.
  • Keep quotes short and within policy limits; prefer paraphrase with citations.
  • If multiple pages differ, call out the difference and cite both.
  • If docs do not cover the user’s need, say so and offer next steps.

Tooling notes

  • Always use MCP doc tools before any web search for OpenAI-related questions.
  • If the MCP server is installed but returns no meaningful results, then use web search as a fallback.
  • When falling back to web search, restrict to official OpenAI domains (developers.openai.com, platform.openai.com) and cite sources.

Examples

OpenAI API Guidance

User says: "How do I use tool calls with the Responses API?"

What happens:

  1. Search OpenAI docs MCP for "Responses API tools".
  2. Fetch the most relevant section.
  3. Return implementation guidance with citations.

Codex Capability Check

User says: "Does Codex support read-only review workflows?"

What happens:

  1. Query Codex docs via MCP.
  2. Fetch flag/sandbox references.
  3. Answer with source-backed guidance and constraints.

Troubleshooting

ProblemCauseSolution
MCP docs search returns nothingMCP server not installedInstall openaiDeveloperDocs MCP, restart Codex, retry search
Results are stale/unclearQuery too broadNarrow query by product + feature, then fetch exact page section
Need citation-ready answerSource not fetchedFetch specific doc section before answering
Docs do not cover questionGap in official docsState gap explicitly and provide safe best-effort guidance

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.31%
按下载量换算1,159

Claude

27.57%
按下载量换算834

Cursor

19.39%
按下载量换算587

Gemini CLI

9.9%
按下载量换算299

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills