Skip to content
Skill

Docsync

Audits docs against the code and proposes human-approved fixes for drift

Docsync is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
19
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Docsync

Docsync checks whether a project's documentation still matches what the code actually does. It can audit a single doc or sweep the whole public doc tree, cross-referencing claims such as skill counts, command names, config keys, install paths, version examples and symbol signatures against the code. Findings are graded Blocking, Minor or Info, and the stale section is highlighted for each.

The audit is read-only. When the user asks for reconciliation, the agent previews a unified diff of the proposed doc edits and writes only after explicit approval through a human gate. The skill is designed to change documentation, never source code, and it leans on the code graph and project memory for symbol and config checks when those are available, falling back to reading and grepping the code otherwise.

The skill is driven by a bundled mokata engine invoked from the command line, and it expects a project path plus a Python interpreter to run it. Its full checklist lives in a separate reference file that the agent loads when needed.

When your agent uses it

mokata · Keep the docs TRUE to the code — audit a doc (or sweep + drift-detect the docs) against the code, then reconcile the drift behind a human-gated, previewed write.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (14 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the mokata plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add JasGujral/mokata-oss
/plugin install mokata@mostack

Or copy only this skill to ~/.claude/skills/docsync:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/docsync &&
cp -R "$tmp/src/mokata/skills/docsync" ~/.claude/skills/docsync &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/docsync inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/docsync to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/docsync &&
cp -R "$tmp/src/mokata/skills/docsync" ~/.agents/skills/docsync &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/docsync inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/docsync to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/docsync &&
cp -R "$tmp/src/mokata/skills/docsync" ~/.cursor/skills/docsync &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/docsync inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/JasGujral/mokata-oss.git --path src/mokata/skills/docsync

Or copy the folder to ~/.gemini/skills/docsync yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/docsync:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/docsync &&
cp -R "$tmp/src/mokata/skills/docsync" ~/.copilot/skills/docsync &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/docsync inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/JasGujral/mokata-oss.git

Then copy mokata-oss/src/mokata/skills/docsync into your agent's skills folder as docsync. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Doc-to-code audit
Cross-checks each claim in a doc against the current code without changing anything.
Whole doc tree sweep
Scans every public doc to find drift without needing to know which file went stale.
Severity-graded findings
Labels each discrepancy as Blocking, Minor or Info and points to the affected section.
Previewed human-gated fixes
Shows a unified diff of proposed doc edits and writes only after explicit approval.
Symbol and config checks
Verifies command names, config keys, counts and install paths against the code graph.

Good for

  • Check whether the README still matches the current CLI commands
  • Find docs that reference a function whose signature just changed
  • Verify install instructions before a release
  • Update a stale skill count in the documentation
  • Review which doc sections a recent rename has made outdated

Docsync FAQ

Does docsync change my code to match the docs?

No. It brings documentation in line with the code and never edits code to match a doc.

Will Docsync write to my docs automatically?

No. The audit is read-only, and any reconcile edit is shown as a diff and written only after explicit approval.

Should I use Docsync to write new documentation from scratch?

No. The skill is meant for reconciling existing docs with the code, not for authoring new documentation.

What does Docsync need to run?

It runs the bundled mokata engine with Python from a project path. The code graph and memory are optional and sharpen some checks when present.

How do I install Docsync in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/docsync to use it in all your projects, or to .claude/skills/docsync in one project. Or install the mokata plugin, which includes it: /plugin marketplace add JasGujral/mokata-oss, then /plugin install mokata@mostack.

Does Docsync run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Docsync?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Docsync?

The closest alternatives to Docsync are Docs sync audit, Analyze, Docs governance, Intent drift and Spec scout.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from JasGujral/mokata-oss

  1. Makes the agent design API contracts first and check callers before changing them

    • Open source
    • 19 GitHub stars
    • Developer tools
  2. Gives an agent NestJS rules for guards, DTO validation, modules and tests

    • Open source
    • 19 GitHub stars
    • Developer tools
  3. Guides an agent through Socratic exploration of an approach before any spec or code

    • Open source
    • 19 GitHub stars
    • Developer tools
  4. Guides an agent to capture live browser console, network and page state for tests

    • Open source
    • 19 GitHub stars
    • Developer tools
  5. Guides the agent to reproduce a reported bug with a failing test before fixing it

    • Open source
    • 19 GitHub stars
    • Developer tools
  6. Guides an agent on CI/CD pipelines, release builds and pinned supply-chain posture

    • Open source
    • 19 GitHub stars
    • Developer tools