首页/ AI 技能 / @skilllib/skill-2117939930272417869
Skill站外收录 @skilllib/skill-2117939930272417869

openai-knowledge

提供对 OpenAI 平台最新官方文档的精准检索与解析能力,覆盖 API 接口定义、工具使用规范、流式响应机制、认证方式、模型特性、速率限制及 MCP 集成等核心内容,确保回答严格基于权威文档原文。

0.0 (0) 47 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# OpenAI Knowledge ## Overview Use the OpenAI Developer Documentation MCP server to search and fetch exact docs (markdown), then base your answer on that text instead of guessing. ## Workflow ### 1) Check whether the Docs MCP server is available If the `mcp__openaiDeveloperDocs__*` tools are available, use them. If you are unsure, run `codex mcp list` and check for `openaiDeveloperDocs`. ### 2) Use MCP tools to pull exact docs - Search first, then fetch the specific page(s). - `mcp__openaiDeveloperDocs__search_openai_docs` → pick the best URL. - `mcp__openaiDeveloperDocs__fetch_openai_doc` → retrieve the exact markdown (optionally with an `anchor`). - When you need endpoint schemas or parameters, use: - `mcp__openaiDeveloperDocs__get_openapi_spec` - `mcp__openaiDeveloperDocs__list_api_endpoints` Base your answer on the fetched text and quote or paraphrase it precisely. Do not invent flags, field names, defaults, or limits. ### 3) If MCP is not configured, guide setup (do not change config unless asked) Provide one of these setup options, then ask the user to restart the Codex session so the tools load: - CLI: - `codex mcp add openaiDeveloperDocs --url https://developers.openai.com/mcp` - Config file (`~/.codex/config.toml`): - Add: ```toml [mcp_servers.openaiDeveloperDocs] url = "https://developers.openai.com/mcp" ``` Also point to: https://developers.openai.com/resources/docs-mcp#quickstart

评论 0

还没有评论,来抢沙发。