| name | official-ai-devdocs |
| description | Official documentation first for Codex, Claude Code, Kimi Code, and projects meant to work across multiple AI coding clients. Use automatically for provider configuration, config syntax, plugins, skills, connectors, MCP servers, hooks, subagents, memory/instruction files, auth setup, environment variables, CLI commands, IDE/desktop/web surfaces, model/provider routing, migrations, or compatibility between Codex, Claude Code, and Kimi Code. Check official docs before guessing provider-specific shapes or behavior. |
| when_to_use | When the user asks about or edits anything provider-specific for Codex, Claude Code, Kimi Code, or shared AI-agent project setup; when official provider docs could prevent stale or invented syntax; when comparing or translating concepts between the three clients. |
| type | prompt |
| whenToUse | When the user asks about or edits anything provider-specific for Codex, Claude Code, Kimi Code, or shared AI-agent project setup; when official provider docs could prevent stale or invented syntax; when comparing or translating concepts between the three clients. |
| disableModelInvocation | false |
Official AI Devdocs
Use this skill to keep multi-client agent projects grounded in current provider documentation. The goal is simple: when provider behavior, syntax, setup, or compatibility can be looked up, verify it from the official docs before answering or editing files.
This applies especially to projects targeting more than one AI coding client, mainly:
- OpenAI Codex
- Anthropic Claude Code
- Kimi Code
Core Rule
Before making a provider-specific claim or changing provider-specific files, consult the relevant official documentation first. Do not rely on memory for config keys, plugin structure, connector setup, MCP setup, hook syntax, command names, auth paths, environment variables, model IDs, or cross-client compatibility behavior.
If the official docs do not establish the needed fact, say that plainly and proceed with bounded uncertainty. Prefer a small, verified answer over a broad guessed one.
Official Sources
Use these entry points and then navigate to the most specific page for the task.
| Provider | Official docs entry point | Use for |
|---|
| Codex | https://developers.openai.com/codex | Codex CLI/app/web/IDE behavior, config.toml, AGENTS.md, skills, plugins, MCP, hooks, permissions, automations, subagents, integrations |
| Claude Code | https://code.claude.com/docs/en/overview | Claude Code CLI/desktop/web/IDE behavior, .claude directory, CLAUDE.md, skills, hooks, MCP, sessions, permission modes, settings, commands |
| Kimi Code | https://www.kimi.com/code/docs/en/ | Kimi Code CLI/VS Code behavior, configuration files, providers/models, overrides, environment variables, MCP, skills, plugins, agents, hooks, third-party coding-agent setup |
For Claude Code, first fetch or inspect https://code.claude.com/docs/llms.txt when possible. The overview page points to that file as the complete documentation index, and it is the best way to discover the current page to read next.
Discovery Compatibility
This skill is written as a directory-form SKILL.md skill with YAML frontmatter and Markdown instructions so it is usable by Codex, Claude Code, and Kimi Code.
- Codex uses
name and description. This repository keeps Codex-facing skills under .codex/skills for clean provider-specific organization. For user-wide Codex discovery, install or symlink the canonical skill into the Codex skills home, such as ~/.codex/skills.
- Claude Code uses
description and optional when_to_use, and discovers project skills from .claude/skills.
- Kimi Code uses
name, description, type, whenToUse, and disableModelInvocation, and discovers project skills from .kimi-code/skills.
Keep the canonical copy in this repository's top-level official-ai-devdocs/ directory. Provider discovery directories may symlink to it so the skill stays in one place.
Lookup Workflow
- Identify which provider(s) the task touches.
- Open the official docs entry point for each touched provider.
- Navigate to the narrowest official page that owns the needed fact.
- Verify exact syntax, filenames, command names, environment variables, config nesting, required fields, and current limitations.
- Capture the source URL(s) in your notes and cite or mention them in the user-facing result when the answer depends on provider docs.
- Only then answer, edit files, or recommend a setup.
When multiple clients are involved, check each provider's docs independently. Similar concepts often have different names or file locations across clients.
What Requires Documentation First
Always verify first for these task types:
- Creating or editing Codex, Claude Code, or Kimi Code config files.
- Adding skills, plugins, hooks, MCP servers, slash commands, subagents, or connector/app setup.
- Writing installation, onboarding, or migration instructions for any of the three clients.
- Mapping one provider's concept to another, such as Codex
AGENTS.md versus Claude CLAUDE.md, or provider-specific plugin formats.
- Setting model IDs, base URLs, API endpoints, auth flows, or provider routing for Kimi/OpenAI/Anthropic-compatible clients.
- Troubleshooting provider behavior, CLI flags, permission modes, sandboxing, browser/desktop/IDE features, or automation features.
- Building shared repo guidance intended to steer more than one coding agent.
Source Priority
Prefer the most authoritative source available:
- Official docs pages from the provider domains listed above.
- Official provider docs indexes, markdown docs, or
llms.txt files that point to exact docs pages.
- Official CLI help output from an installed provider CLI, but only as a supplement to docs unless the user specifically asks about the installed local version.
- Existing repo files, examples, or memory, used only after official docs have established the provider shape.
Avoid third-party blog posts, old GitHub snippets, package README guesses, or model memory for provider-specific syntax unless official docs are unavailable and you label the result as unverified.
Editing Rules
When changing files:
- Keep provider-specific sections separated unless the docs explicitly say the same file or setting applies to multiple clients.
- Preserve existing working config unless official docs show it is invalid or the user asks for migration.
- Add comments sparingly and only where they prevent future agents from confusing provider-specific formats.
- If docs conflict with current repo conventions, explain the conflict before making a broad change.
- If a syntax detail cannot be verified, leave a TODO or ask for confirmation rather than inventing a key or shape.
Response Pattern
For docs-backed answers, use this compact shape:
- Recommendation or change made.
- Provider docs checked, with URLs.
- Any uncertainty or provider differences that matter.
For implementation work, include the docs check in the final summary:
Docs checked: Codex config docs, Claude Code settings docs, Kimi Code provider/model docs.
Failure Mode
If you cannot reach the official docs:
- Try the provider's docs index or search within the same official domain.
- Use local CLI help only for installed-version behavior.
- Tell the user exactly which docs could not be reached.
- Avoid changing provider-specific syntax unless the repo already contains a working example or the user confirms the intended shape.