Agent skill

Sync Specs

by nexu-io in nexu-io/nexu

A skill your agent uses when code changes may have made documentation outdated, when reviewing docs for consistency, or when the user asks to sync or audit documentation.

MITAuto-check passedDevelopment

Install Sync Specs

skills CLI
$ npx skills add nexu-io/nexu --skill sync-specs -a claude-code

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

GitHub CLI
$ gh skill install nexu-io/nexu sync-specs --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/nexu-io/nexu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/localdev/sync-specs .claude/skills/sync-specs && 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
sync-specs
GitHub stars
3.3k
Token cost
~1.2k tokens
SKILL.md length
468 words
Files
2
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when code changes may have made documentation outdated, when reviewing docs for consistency, or when the user asks to sync or audit documentation.

  • Works in 9 steps: CLAUDE.md Commands section <-> AGENTS.md… → CLAUDE.md Documentation Map paths <->… → CLAUDE.md Hard Rules <-> AGENTS.md Hard… → …
  • Code changes may have made documentation outdated
  • SKILL.md covers Mode, Delta Mode Baseline, Impact Mapping and Cross-Reference Pairs, plus 3 more sections
  • Runs Shell scripts from its folder; calls git

What it does

Sync Specs is an agent skill from nexu-io/nexu. Use when code changes may have made documentation outdated, when reviewing docs for consistency, or when the user asks to sync or audit documentation.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `check-doc-drift.sh`).

It sits in Development, covering Messaging and chat bots. It works with WeChat, Feishu (Lark) and Slack. The repository describes itself as: The simplest desktop client for OpenClaw 🦞 — bridge your Agent to WeChat, Feishu, Slack & Discord in one click. Works with Claude Code, Codex & any LLM. BYOK, Oauth… The licence is MIT.

When your agent uses it

  • Code changes may have made documentation outdated
  • Reviewing docs for consistency
  • The user asks to sync
  • Audit documentation

Example prompts

  • “/sync-specs”

Requirements

  • A Bash shell

Workflow steps

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

  1. CLAUDE.md Commands section <-> AGENTS.md Commands section (same entries)
  2. CLAUDE.md Documentation Map paths <-> actual files on disk
  3. CLAUDE.md Hard Rules <-> AGENTS.md Hard rules
  4. ARCHITECTURE.md monorepo layout <-> actual apps/ + packages/ dirs
  5. specs/DESIGN.md table <-> actual specs/design-specs/ + specs/designs/ contents
  6. specs/design-specs/index.md table <-> actual design files
  7. specs/product-specs/index.md table <-> actual specs/product-specs/*.md files
  8. specs/PLANS.md table <-> specs/exec-plans/{active,completed}/ contents
  9. specs/FRONTEND.md Pages table <-> apps/web/src/app.tsx routes

What it can do on your machine

Read from SKILL.md and the folder at commit dadfb1c. 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

    Ships script files (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, 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

Sync Specs loads about 1.2k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 468 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~1.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 nexu-io/nexu at commit dadfb1c, republished under its MIT licence (© nexu-io). 468 words, ~1,161 tokens.

Download SKILL.mdSave it as .claude/skills/sync-specs/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
sync-specs
description
Use when code changes may have made documentation outdated, when reviewing docs for consistency, or when the user asks to sync or audit documentation.

Documentation Sync

Review code changes and update project documentation for consistency.

Mode

ModeHow to activateBehavior
delta (default)No argument, or say "delta"Diff against merge-base with origin/main + working tree changes
fullSay "full audit" or "full sync"Complete audit of all docs against current codebase
Scope keywordSay the keyword (e.g. "db", "api")Targeted check (see Scope Filters below)

Delta Mode Baseline

Identify changed files using merge-base (not a fixed commit count):

bash
# Branch changes since diverging from main
git diff --name-only $(git merge-base HEAD origin/main)...HEAD
# Plus staged + unstaged
git diff --name-only --cached
git diff --name-only

Combine the results into a single list of changed files. Then use the Impact Mapping to identify which docs may need updates.

Impact Mapping

Map changed areas to the docs they affect:

Changed areaAffected docs
apps/controller/src/routes/specs/references/api-patterns.md, ARCHITECTURE.md, specs/product-specs/*.md (if route is user-facing)
apps/web/src/pages/ or apps/web/src/app.tsxspecs/FRONTEND.md
apps/landing/ARCHITECTURE.md (Monorepo layout)
apps/controller/src/runtime/ARCHITECTURE.md, specs/RELIABILITY.md
packages/shared/src/schemas/ARCHITECTURE.md (Type safety)
package.json scriptsCLAUDE.md + AGENTS.md Commands sections
New apps/packages dirsARCHITECTURE.md (Monorepo layout)
Config generatorspecs/references/openclaw-config-schema.md, specs/openclaw-config-reference.md
Auth changesspecs/SECURITY.md
New/moved doc filesCLAUDE.md Doc Map, AGENTS.md Where to look, relevant index files

Cross-Reference Pairs

Always verify consistency between these paired docs:

  1. CLAUDE.md Commands section <-> AGENTS.md Commands section (same entries)
  2. CLAUDE.md Documentation Map paths <-> actual files on disk
  3. CLAUDE.md Hard Rules <-> AGENTS.md Hard rules
  4. ARCHITECTURE.md monorepo layout <-> actual apps/ + packages/ dirs
  5. specs/DESIGN.md table <-> actual specs/design-specs/ + specs/designs/ contents
  6. specs/design-specs/index.md table <-> actual design files
  7. specs/product-specs/index.md table <-> actual specs/product-specs/*.md files
  8. specs/PLANS.md table <-> specs/exec-plans/{active,completed}/ contents
  9. specs/FRONTEND.md Pages table <-> apps/web/src/app.tsx routes

Scope Filters

When the user specifies a scope keyword, limit the check to that area:

KeywordWhat it checks
dbSchema source vs specs/generated/db-schema.md
apiRoute files vs specs/references/api-patterns.md
frontendapps/web/ vs specs/FRONTEND.md
commandspackage.json scripts vs CLAUDE.md/AGENTS.md Commands sections
architectureAll apps/ + packages/ vs ARCHITECTURE.md layout
securityAuth/crypto code vs specs/SECURITY.md
linksVerify all doc map paths and index references resolve to existing files
guidesspecs/guides/** internal cross-references
designsspecs/designs/** + specs/design-specs/** vs index files
exec-plansspecs/exec-plans/** vs specs/PLANS.md
product-specsspecs/product-specs/** vs index + specs/PRODUCT_SENSE.md
Show full SKILL.md (147 more words)Show less

Rules

  1. Never remove forward-looking documentation — ask if uncertain whether content is aspirational or stale.
  2. Preserve original language (English/Chinese) and writing style of existing docs.
  3. For backend API updates, treat apps/controller as the source of truth; do not reference removed legacy package paths.
  4. Always verify CLAUDE.md <-> AGENTS.md consistency after any update to either file.
  5. Do NOT auto-commit — present the diff summary and let the user decide when to commit.

Workflow

  1. Determine mode from user request (default: delta).
  2. If delta mode: run the git diff commands above, collect changed files.
  3. Map changed files to affected docs using the Impact Mapping.
  4. Read each affected doc and compare against current code.
  5. Check all Cross-Reference Pairs for consistency.
  6. Present findings: what's outdated, what's missing, what's inconsistent.
  7. Apply fixes with user approval.
  8. After fixes, re-verify Cross-Reference Pairs touched by changes.

© nexu-io, 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 1 other file in skills/localdev/sync-specs of nexu-io/nexu.

  • SKILL.md
  • check-doc-drift.sh

Open the folder on GitHubat commit dadfb1c

Compare with similar skills

Sync Specs 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.

Sync Specs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sync Specs this skillnexu-io/nexu3.3k—~1.2kAutomated safety check: PassMIT
Use Avibeavibe-bot/avibe620—~2.5kAutomated safety check: PassMIT
Claude To Imop7418/Claude-to-IM-skill2.9k—~3.4kAutomated safety check: NotesMIT
Content CollectorvigorX777/content-collector-skill240—~2kAutomated safety check: PassNone
Yichen Wechat Mp Batch Exportermcncarl/yichen-skills4.3k—~1.5kAutomated safety check: PassCustom licence
Web To Markdownrookie-ricardo/erduo-skills935—~894Automated safety check: PassMIT

Similar skills

  • Use Avibe

    avibe-bot/avibe

    Safely inspect and modify local Avibe configuration, routing, runtime settings, watches, scheduled tasks, Avibe Cloud remote access, and operational state.

    620 GitHub stars~2.5k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Claude To Im

    op7418/Claude-to-IM-skill

    Bridge THIS Claude Code or Codex session to Telegram, Discord, Feishu/Lark, QQ, or WeChat so the user can chat with Claude from their phone.

    2.9k GitHub stars~3.4k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check: notes
  • Content Collector

    vigorX777/content-collector-skill

    Collect social media content (X/Twitter, WeChat, Jike, Reddit, etc.) into Feishu bitable.

    240 GitHub stars~2k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed
  • Yichen Wechat Mp Batch Exporter

    mcncarl/yichen-skills

    批量下载微信公众号文章正文、历史文章列表、原创文章筛选、历史计数口径、阅读量、点赞/转发等指标、评论和评论回复。Use when the user asks to batch fetch mp.weixin.qq.com articles, export WeChat public-account history, distinguish publish groups vs expanded…

    4.3k GitHub stars~1.5k tokensUpdated 4 days ago
    Productivity & AutomationAuto-check passed
  • Web To Markdown

    rookie-ricardo/erduo-skills

    Convert a web URL into cleaned Markdown with deterministic routing.

    935 GitHub stars~894 tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed
  • Feedgrab

    iBigQiang/feedgrab

    Universal content grabber — fetch any URL and return structured Markdown.

    614 GitHub stars~2k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed

More from nexu-io/nexu

All 10 skills in this repo
  • Libtv Video

    nexu-io/nexu

    Seedance 2.0 video & image generation via LibTV Gateway - AI text-to-video, image-to-video, video continuation, style transfer, and text-to-image using Seedance 2.0 model.

    3.3k GitHub stars~3.5k tokensUpdated 5 mo ago
    Auto-check passed
  • Nano Banana

    nexu-io/nexu

    Generate or edit images via Nano Banana image models. An agent skill from nexu-io/nexu.

    3.3k GitHub stars~757 tokensUpdated 5 mo ago
    Auto-check passed
  • All-in-one image generation with Gemini models. An agent skill from nexu-io/nexu.

    3.3k GitHub stars~870 tokensUpdated 5 mo ago
    Auto-check passed
  • 一句话生成大师级海报、书籍封面、专辑封面和各类设计作品。无需懂PS、配色或艺术史,AI自动选择最佳风格(基于33+位传奇设计师)。支持多平台多比例:公众号封面(21:9)、小红书配图(3:4)、文章配图(16:9)、书籍封面(9:16)、专辑封面(1:1)、电影海报(9:16)。包含AI提示词优化、风格对比、图生图转换功能。触发词:"Mondo风格"、"书籍封面设计"、"专辑封面"、"海报设计"…

    3.3k GitHub starsUsed in 1 repo~4.1k tokens
    Auto-check passed
  • Static Deploy

    nexu-io/nexu

    Deploy static pages to nexu.space. An agent skill from nexu-io/nexu.

    3.3k GitHub stars~989 tokensUpdated 5 mo ago
    Auto-check passed
  • Nexu E2E Test

    nexu-io/nexu

    A skill your agent uses when verifying OpenClaw gateway fixes end-to-end, testing skill loading after restart, or running integration tests against the local Nexu+OpenClaw stack.

    3.3k GitHub stars~1.7k tokensUpdated 5 mo ago
    Auto-check passed

Questions about Sync Specs

What does Sync Specs do?

A skill your agent uses when code changes may have made documentation outdated, when reviewing docs for consistency, or when the user asks to sync or audit documentation. Sync Specs is an agent skill from nexu-io/nexu. Use when code changes may have made documentation outdated, when reviewing docs for consistency, or when the user asks to sync or audit documentation.

When should I use Sync Specs?

Sync Specs fits situations like: code changes may have made documentation outdated; reviewing docs for consistency; the user asks to sync; audit documentation.

How do I install Sync Specs in Claude Code?

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

How do I install Sync Specs in Codex?

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

Can I use Sync Specs 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 nexu-io/nexu --skill sync-specs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sync-specs, .gemini/skills/sync-specs, .github/skills/sync-specs and .opencode/skills/sync-specs in your project.

What does Sync Specs need to run?

Going by SKILL.md and its folder, Sync Specs needs a shell for the scripts in its folder and the command-line tools its instructions call (git). Our summary lists: A Bash shell.

Does Sync Specs 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 Sync Specs 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 Sync Specs use?

Sync Specs 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 Sync Specs use?

About 1.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sync Specs?

Skills that share tags, products or a category with Sync Specs: Use Avibe (avibe-bot/avibe, 620 stars), Claude To Im (op7418/Claude-to-IM-skill, 2.9k stars), Content Collector (vigorX777/content-collector-skill, 240 stars) and Yichen Wechat Mp Batch Exporter (mcncarl/yichen-skills, 4.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sync Specs?

nexu-io (a GitHub organization) maintains it in nexu-io/nexu, which has 3,281 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on April 26, 2026.

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