Official agent skill

Docs Sync

by openai in openai/openai-agents-js

Audit or update authored English SDK documentation within a requested topic or diff using implementation evidence.

OfficialMITAuto-check passed

Install Docs Sync

skills CLI
$ npx skills add openai/openai-agents-js --skill docs-sync -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openai/openai-agents-js docs-sync --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openai/openai-agents-js.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/docs-sync .claude/skills/docs-sync && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docs-sync
GitHub stars
3.9k
Token cost
~1.5k tokens
SKILL.md length
733 words
Files
3 (incl. references)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Audit or update authored English SDK documentation within a requested topic or diff using implementation evidence.

  • Works in 8 steps: Confirm scope and base branch → Build a feature inventory from the… → Doc-first pass: review existing pages → …
  • SKILL.md covers Overview, Scope and authorization, Workflow and Output format, plus 1 more section
  • Calls rg, git and pnpm

What it does

Docs Sync is an agent skill from openai/openai-agents-js, published by the product's own GitHub organization. Audit or update authored English SDK documentation within a requested topic or diff using implementation evidence.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/doc-coverage-checklist.md`).

It works with OpenAI. The repository describes itself as: A lightweight, powerful framework for multi-agent workflows and voice agents. The licence is MIT.

Example prompts

  • “/docs-sync”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Confirm scope and base branch
  2. Build a feature inventory from the selected scope
  3. Doc-first pass: review existing pages
  4. Code-first pass: map features to docs
  5. Detect gaps and inaccuracies
  6. Classify the proposed complete diff
  7. Report findings or continue authorized updates
  8. Apply authorized changes (English only)

What it can do on your machine

Read from SKILL.md and the folder at commit d8fa6c3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rg
    • git
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Docs Sync loads about 1.5k tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 31 tokens; SKILL.md has 733 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openai/openai-agents-js at commit d8fa6c3, republished under its MIT licence (© openai). 733 words, ~1,460 tokens.

Download SKILL.mdSave it as .claude/skills/docs-sync/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
docs-sync
description
Audit or update authored English SDK documentation within a requested topic or diff using implementation evidence.

Docs Sync

Overview

Identify documentation gaps and inaccuracies within the requested topic or diff using implementation evidence.

Scope and authorization

For audit or proposal-only requests, report findings without editing. When the user requests updates or has approved a plan, complete the scoped edits and verification without asking again. Ask only for unresolved behavior, scope, release timing, or additional authority. Apply the repository's Documentation Release Timing policy before including unreleased behavior in docs/.

Workflow

  1. Confirm scope and base branch

    • Identify the current branch and default branch (usually main).
    • Prefer analyzing the current branch to keep work aligned with in-flight changes.
    • Use a branch diff only for a branch-scoped request. A requested topic or released-doc correction remains in scope even when unrelated to the current branch diff.
    • Avoid switching branches if it would disrupt local changes. Prefer read-only inspection such as git show main:<path>. If a separate checkout is genuinely required, stop and obtain the explicit approval required by AGENTS.md before creating or switching a worktree.
  2. Build a feature inventory from the selected scope

    • Bound the inventory to the requested topic or diff. Inventory the full surface only for an explicitly comprehensive audit.
    • For branch-scoped work, inspect additions, changes, and removals relative to the intended base.
    • Focus on user-facing behavior: public exports, configuration options, environment variables, CLI commands, default values, and documented runtime behaviors.
    • Capture evidence for each item (file path + symbol/setting).
    • Use targeted search to find option types and feature flags (for example: rg "Options", rg "process.env", rg "export").
    • When the topic involves OpenAI platform features, invoke $openai-knowledge to pull current details from the OpenAI Developer Docs MCP server instead of guessing, while treating the SDK source code as the source of truth when discrepancies appear.
    • For MCP SDK (modelcontextprotocol/typescript-sdk) or Vercel AI SDK (@ai-sdk/*) topics, optionally use Deepwiki MCP for quick lookups, and still treat the SDK source code as the source of truth.
  3. Doc-first pass: review existing pages

    • Walk each relevant page under docs/src/content/docs (excluding docs/src/content/docs/openai).
    • Identify missing mentions of important, supported options (opt-in flags, env vars), customization points, or new features from packages/.
    • Propose additions where users would reasonably expect to find them on that page.
  4. Code-first pass: map features to docs

    • Review the current docs information architecture under docs/src/content/docs.
    • Determine the best page/section for each feature based on existing patterns and package boundaries.
    • Identify features that lack any doc page or have a page but no corresponding content.
    • Note when a structural adjustment would improve discoverability.
  5. Detect gaps and inaccuracies

    • Missing: features/configs present in main but absent in docs.
    • Incorrect/outdated: names, defaults, or behaviors that diverge from main.
    • Structural issues (optional): pages overloaded, missing overviews, or mis-grouped topics.
  6. Classify the proposed complete diff

    • Use the Documentation Change Verification Tiers in AGENTS.md as the single source of truth.
    • Classify the complete proposed diff by its highest applicable Editorial, Content, or Structural tier before editing.
    • Keep the tier-specific verification separate from the existing eligibility rules for $implementation-final-review, $code-change-verification, $changeset-validation, and $pr-draft-summary.
  7. Report findings or continue authorized updates

    • For audit-only work, provide evidence, suggested locations, proposed edits, and required verification, then stop.
    • For an update request, complete the authorized edits using the findings and selected verification tier.
  8. Apply authorized changes (English only)

    • Edit only English docs in docs/src/content/docs/**.
    • Exclude docs/src/content/docs/openai from review and updates.
    • Do not edit docs/src/content/docs/ja, docs/src/content/docs/ko, or docs/src/content/docs/zh.
    • Keep changes aligned with the existing docs style and navigation.
    • Do not add TypeScript or TSX fenced blocks directly to MDX. Place every TypeScript or TSX snippet in a compilable source file under examples/docs/<doc-area>/, import it into MDX with ?raw, and render that imported source using the existing docs pattern.
    • If code is not useful enough to maintain as a complete example, explain the behavior in prose instead of adding an unverified snippet.
    • Run the focused verification required by the highest applicable Documentation Change Verification Tier in AGENTS.md. When the complete diff changes a rendered TypeScript or TSX snippet source or its MDX import/rendering, run pnpm -F docs-code build-check and fix issues before handoff.
Show full SKILL.md (60 more words)Show less

Output format

Use this template when reporting findings:

Docs Sync Report

  • Doc-first findings
    • Page + missing content → evidence + suggested insertion point
  • Code-first gaps
    • Feature + evidence → suggested doc page/section (or missing page)
  • Incorrect or outdated docs
    • Doc file + issue + correct info + evidence
  • Structural suggestions (optional)
    • Proposed change + rationale
  • Proposed edits
    • Doc file → concise change summary
  • Unresolved decisions, only when needed

References

  • references/doc-coverage-checklist.md

© openai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .agents/skills/docs-sync of openai/openai-agents-js.

  • SKILL.md
  • agents/openai.yaml
  • references/doc-coverage-checklist.md

Open the folder on GitHubat commit d8fa6c3

Compare with similar skills

Docs Sync next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Docs Sync compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docs Sync this skillopenai/openai-agents-js3.9k—~1.5kAutomated safety check: PassMIT
Geo Fundamentalswasp-lang/wasp19k8 repos~861Automated safety check: PassMIT
AI SDKvercel-labs/ai-facts16821 repos~1.2kAutomated safety check: PassNone
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
SEO GeoReScienceLab/opc-skills1.8k4 repos~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Geo Fundamentals

    wasp-lang/wasp

    Generative Engine Optimization for AI search engines (ChatGPT, Claude, Perplexity).

    19k GitHub starsUsed in 8 repos~861 tokens
    Marketing & SEOAuto-check passed
  • AI SDK

    vercel-labs/ai-facts

    Official

    Answer questions about the AI SDK and help build AI-powered features.

    168 GitHub starsUsed in 21 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • SEO Geo

    ReScienceLab/opc-skills

    SEO & GEO (Generative Engine Optimization) for websites. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub starsUsed in 4 repos~2.1k tokens
    Marketing & SEOAuto-check passed
  • Get API Docs with chub

    andrewyng/context-hub

    Fetches current documentation for third-party APIs and SDKs with the chub CLI before the agent writes code against them, instead of relying on remembered API shapes.

    14k GitHub starsUsed in 2 repos~775 tokens
    DevelopmentAuto-check passed

More from openai/openai-agents-js

All 10 skills in this repo
  • Changeset Validation

    openai/openai-agents-js

    Official

    Validate changesets in openai-agents-js using LLM judgment against git diffs (including uncommitted local changes).

    3.9k GitHub stars~607 tokensUpdated today
    Auto-check passed
  • Pnpm Upgrade

    openai/openai-agents-js

    Official

    Keep pnpm current: preflight the published package and pnpm/action-setup self-installer, update pnpm locally, align packageManager in package.json, and refresh CI pins.

    3.9k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Final Release Review

    openai/openai-agents-js

    Official

    Assess a JS SDK release candidate or release plan against the previous release and recommend ship or block.

    3.9k GitHub stars~4k tokensUpdated today
    Auto-check passed
  • Sensitive Logging Audit

    openai/openai-agents-js

    Official

    Audit or fix sensitive-data exposure in JS SDK diagnostics, exceptions, logging, and telemetry.

    3.9k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Runtime Behavior Probe

    openai/openai-agents-js

    Official

    Plan and, after explicit approval, execute runtime-behavior probes for local or live integrations.

    3.9k GitHub stars~4.9k tokensUpdated today
    Auto-check passed
  • Code Change Verification

    openai/openai-agents-js

    Official

    Run the required final install, build, type, lint, test, and format checks after eligible SDK changes pass review.

    3.9k GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Works with

Questions about Docs Sync

What does Docs Sync do?

Audit or update authored English SDK documentation within a requested topic or diff using implementation evidence. Docs Sync is an agent skill from openai/openai-agents-js, published by the product's own GitHub organization. Audit or update authored English SDK documentation within a requested topic or diff using implementation evidence.

How do I install Docs Sync in Claude Code?

Run `npx skills add openai/openai-agents-js --skill docs-sync -a claude-code`. Or copy the skill folder (.agents/skills/docs-sync in openai/openai-agents-js) into .claude/skills/docs-sync in your project. Claude Code loads it when a task matches its description.

How do I install Docs Sync in Codex?

Run `npx skills add openai/openai-agents-js --skill docs-sync -a codex`. Or copy the skill folder (.agents/skills/docs-sync in openai/openai-agents-js) into .agents/skills/docs-sync in your project. Codex loads it when a task matches its description.

Can I use Docs Sync in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openai/openai-agents-js --skill docs-sync -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-sync, .gemini/skills/docs-sync, .github/skills/docs-sync and .opencode/skills/docs-sync in your project.

What does Docs Sync need to run?

Going by SKILL.md and its folder, Docs Sync needs the command-line tools its instructions call (rg, git and pnpm).

Does Docs Sync access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Docs Sync safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Docs Sync use?

Docs Sync is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Docs Sync use?

About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 713 tokens, read only when the agent opens those files.

What are the alternatives to Docs Sync?

Skills that share tags, products or a category with Docs Sync: Geo Fundamentals (wasp-lang/wasp, 19k stars), AI SDK (vercel-labs/ai-facts, 168 stars), AI Image Generation and Editing (zhayujie/CowAgent, 47k stars) and PR Design Doc (OpenHands/OpenHands, 90k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docs Sync?

openai (a GitHub organization, an official publisher) maintains it in openai/openai-agents-js, which has 3,892 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 6, 2026.

Source: openai/openai-agents-js on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.