Spherse: Skill for Claude Code

.agents/skills/doc-sync/SKILL.md

doc-sync is a skill for Claude Code, Codex from mengrru/Spherse. It costs 37 tokens per session (1,099 once invoked), scanned A, original, MIT.

A checklist for keeping documentation aligned with code changes. It checks official documentation, package README files, and the project backlog after features, infrastructure work, or bug fixes.

In plain words
What is it for?
Use it after implementing or preparing to commit changes, especially when files, public interfaces, data formats, or packages have changed.
Why use it?
It reduces the chance that documentation describes old behavior or that completed work is missing from the backlog.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; mentions OpenCode.

This is mengrru/Spherse's own configuration. It tells Claude Code and Codex how to work on Spherse itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Spherse configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mengrru/Spherse. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mengrru/Spherse/main/.agents/skills/doc-sync/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mengrru/Spherse

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for doc-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/mengrru/spherse/doc-sync/github.svg)](https://agentmods.dev/skills/mengrru/spherse/doc-sync)
Your own site
<a href="https://agentmods.dev/skills/mengrru/spherse/doc-sync"><img src="https://agentmods.dev/badge/skills/mengrru/spherse/doc-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doc-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/mengrru/spherse/doc-sync"><img src="https://agentmods.dev/badge/skills/mengrru/spherse/doc-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,099 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01099
Opus 5.5 $0.00015 $0.00440
Sonnet 5.5 $0.00007 $0.00220
Haiku 4.5 $0.00004 $0.00110

Measured 1mo ago against content hash c532c6eba6d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/doc-sync/SKILL.md · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Documentation Sync Skill

Purpose

Every code change has a documentation surface. This skill walks the full checklist so nothing is missed: official docs stay current, package READMEs stay accurate, and the backlog reflects completed work. Run it when a feature/infra/bugfix is finished, or whenever the user asks to commit.

Process

  1. Determine the change surface.

    • If changes are uncommitted: read git status and git diff (staged + unstaged).
    • If the work spans commits: read git log and per-commit diffs for this branch.
    • List the touched packages, directories, public exports, data formats, and cross-package seams.
  2. Walk the sync checklist below and check every row that matches the change surface. Do not skip rows silently — each row must end up either "updated" or "no impact, because ...".

  3. Apply updates following the writing rules.

  4. Report: list each checklist row with its outcome (updated / no impact). Flag anything you intentionally did not update and why.

Sync checklist

Change Must sync
Files/dirs/packages added, moved, or removed docs/official/project-structure.md (tree + surrounding notes). Exception: .agents/ and .opencode/ are deliberately NOT recorded there — do not add them back
Architecture decisions, package boundaries, capability/assembly changes, API contract approach the matching domain file under docs/official/architecture/ (routing table in docs/official/README.md; follow its writing rules)
An architecture decision made or overturned append a new ADR under docs/dev/decisions/ (thin: 10-20 lines; overturned ⇒ only flip status to superseded); link it from the matching official doc claim
Data file formats, storage location conventions docs/official/data-conventions.md
New domain concept or overloaded term introduced docs/official/glossary.md (one-line definition + authoritative doc link)
Package-level coding/review rules the package's own README (packages/{pkg}/README.md)
User-visible strings the i18n skill (add keys + translations)
Design system, theme mechanism, chat DOM/layout/CSS tokens, themeable selectors packages/presets/skills/spherse-create-ui-theme/ and packages/presets/skills/spherse-create-agent-chat-theme/
Presets templates or skill sources edited under packages/presets/ trigger the sync build so generated constants are usable: npm run build --workspace=packages/presets (see packages/presets/README.md)
A backlog item completed delete its entry in docs/dev/backlog.md (no tick-and-keep); append newly-discovered follow-ups as new items following the entry norms in that file's header
User gave a design/code convention correction that was agreed and executed during this session distill it via first-principles analysis and persist it to the correct layer (root AGENTS.md rules / package README / official domain file / skill) — merge into an existing entry when possible; one-off factual fixes do not qualify (see AGENTS.md「规范演进」)
New tooling, commands, or verification steps the relevant section of AGENTS.md (keep it lean — links, not detail)

Read the full file on GitHub · 56 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 56 lines · 37 tokens per session scan A c532c6eba6d5

Subscribe to this mod's changes

doc-sync is a skill published in the GitHub repository mengrru/Spherse (92 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 1,099 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

llmlint

A Chinese-prose rule library with two entry points. Before writing, emit the rules as writing constraints to load into a system prompt or style guide. After writing, lint the draft with static rule hits, neural AIGC heatmaps, contextual review, approved repair, and local learning notes. Use when drafting or rewriting…

notnotype/neuro-book · 128 tokens

profile-system-guide

Guide users and agents through Neuro Book harness, TSX profiles, ProfileTurnPlan, skills, user-assets overlays, settings forms, profile home resources, profile compile checks, templates, system restore, and safe profile editing.

notnotype/neuro-book · 48 tokens

novel-technique-character-card-workshop

A workshop for turning rough character ideas into detailed, usable character profiles. It supports structured question cycles, personality layers, visual themes, and checks against reducing a character to a few labels.

notnotype/neuro-book · 163 tokens

novel-writer-execution

An internal execution guide for a writer profile after it receives a brief. It describes the detailed workflow, decision points, and common mistakes.

notnotype/neuro-book · 44 tokens

RP模式

A set of instructions for running a role-playing session under the NeuroBook RP protocol. RP means role-play, where characters and events are simulated according to defined rules.

notnotype/neuro-book · 50 tokens

skill-creator

Create or update a Neuro Book skill under .nbook/agent/skills. Use this when you need to design a new skill, refactor an existing skill, tighten trigger descriptions, reorganize bundled resources, or add optional helper scripts and references for the project skill system.

notnotype/neuro-book · 59 tokens