Skip to main content

openai-knowledge

Retrieve authoritative OpenAI API and platform documentation when an integration or claim needs current external evidence.

来源信息

仓库
openai/openai-agents-python
最近来源活动
2026年9月5日 06:19
检测到的 SKILL.md 语言
英语
星标
29,842
分支
4,845

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
openai-knowledge
description
Retrieve authoritative OpenAI API and platform documentation when an integration or claim needs current external evidence.
# 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 or pages. - `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
在 GitHub 查看