documentation-sync-engine

documentation-sync-engine is a skill for Codex from Eliyce/paqad-ai. It costs 29 tokens per session (853 once invoked), scanned A, original, MIT.

A documentation coordinator that finds stale canonical documents—authoritative project references—then sends each one to the appropriate specialist maintainer.

In plain words
What is it for?
Use it after feature development, bug fixes, refactoring, or migrations when implementation changes may have made API, integration, error, or other canonical documents outdated.
Why use it?
It gives you one entry point for documentation updates and avoids manually running several domain-specific checks.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it after feature development, bug fixes, refactoring, or migrations when implementation…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eliyce/paqad-ai/documentation-sync-engine
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Eliyce/paqad-ai --skill documentation-sync-engine
Clone the repo
git clone --depth 1 https://github.com/Eliyce/paqad-ai

Made for: 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 documentation-sync-engine

README.md
[![agentmods](https://agentmods.dev/badge/skills/eliyce/paqad-ai/documentation-sync-engine.svg)](https://agentmods.dev/skills/eliyce/paqad-ai/documentation-sync-engine)
Your own site
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/documentation-sync-engine"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/documentation-sync-engine.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 853 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.
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.00029 $0.00853
Opus 5 $0.00015 $0.00426
Sonnet 5 $0.00006 $0.00171
Haiku 4.5 $0.00003 $0.00085

Measured 6d ago against content hash cc9f7a2b84aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

documentation-sync-engine 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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/lint-output.sh, scripts/route-paths.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

runtime/base/skills/documentation-sync-engine/SKILL.md · 80 lines

How it starts

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

What It Does

Acts as the canonical entry point for post-implementation documentation sync. Runs diff-doc-sync first to narrow to actually-stale canonical doc paths, then dispatches each path to the domain-specific maintainer (api, integration, error catalog, canonical, or glossary). Aggregates the results into a single report so the caller does not have to invoke five skills sequentially.

The point is to give callers one place to ask "sync the docs after this change" and get consistent, deduplicated output every time.

Use This When

Use this after implementation lands (or just before handoff) on feature-development, bug-fix, refactor, or migration workflows. Skip when differential_refresh is disabled in the project profile and the team prefers running the per-domain skills directly.

Inputs

  • Read the changed file list at changed_files.
  • Use the detector at detector_script_path (via diff-doc-sync) to produce the stale canonical doc set.
  • Read references/orchestration-rules.md before dispatching so the routing rules and execution order stay consistent across runs.
  • When target_domains is non-empty, intersect the dispatched set with the requested domains.

Procedure

  1. Invoke diff-doc-sync with the changed file list to produce the candidate stale doc set (JSON array).
  2. Pipe that array's paths into scripts/route-paths.sh to assign each path a delegate domain (api | integration | error | glossary | canonical); see assets/routing-table.txt for the mapping.
  3. Apply target_domains filtering if provided.
  4. Invoke each delegate skill once with only its domain's paths.
  5. Aggregate delegate outputs and format per assets/output.template.md.
  6. Validate with scripts/lint-output.sh.

Output Contract

  • Return a heading named Documentation Sync.
  • Provide a Stale Doc Set line: Detected: {N} | Routed: {M} | Skipped (target_domains filter): {K}.
  • For each domain that ran, emit a third-level heading ### {domain} and list the paths the delegate updated, plus any consistency warnings the delegate raised.
  • Provide a Known Drift aggregated section pulling from delegates' deferred-drift notes.
  • When the stale set is empty, return Documentation Sync: no canonical docs require update. exactly.

Read the full file on GitHub · 80 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 80 lines · 29 tokens per session scan A cc9f7a2b84aa

Subscribe to this mod's changes

documentation-sync-engine is a skill published in the GitHub repository Eliyce/paqad-ai (8 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 853 once invoked, about $0.0001 per session on Opus 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-31.