CRUX-Compress: Agent for Claude Code

.cursor/agents/docs-sync-agent.md

docs-sync-agent is an agent for Claude Code, Cursor from zotoio/CRUX-Compress. It costs 27 tokens per session (880 once invoked), scanned A, original, MIT.

A documentation agent that keeps selected project files, such as README.md and contributor guides, aligned with code changes.

In plain words
What is it for?
It checks which documentation relates to changed files and makes small updates to installation instructions, usage examples, testing guidance, CI/CD descriptions, and landing-page content.
Why use it?
It reduces the chance that documentation becomes outdated after source files, tests, scripts, or workflows change.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions AGENTS.md.

This is zotoio/CRUX-Compress's own configuration. It tells Claude Code and Cursor how to work on CRUX-Compress 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 CRUX-Compress configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zotoio/CRUX-Compress. 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/zotoio/CRUX-Compress/main/.cursor/agents/docs-sync-agent.md
Clone the repo
git clone --depth 1 https://github.com/zotoio/CRUX-Compress

Made for: Claude Code, Cursor.

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 docs-sync-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/zotoio/crux-compress/docs-sync-agent/github.svg)](https://agentmods.dev/agents/zotoio/crux-compress/docs-sync-agent)
Your own site
<a href="https://agentmods.dev/agents/zotoio/crux-compress/docs-sync-agent"><img src="https://agentmods.dev/badge/agents/zotoio/crux-compress/docs-sync-agent/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 docs-sync-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/zotoio/crux-compress/docs-sync-agent"><img src="https://agentmods.dev/badge/agents/zotoio/crux-compress/docs-sync-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 880 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.00027 $0.00880
Opus 5.5 $0.00011 $0.00352
Sonnet 5.5 $0.00005 $0.00176
Haiku 4.5 $0.00003 $0.00088

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

Security

Grade A, and why

docs-sync-agent 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.

.cursor/agents/docs-sync-agent.md · 98 lines

How it starts

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

You are a documentation synchronization agent that keeps project documentation in sync with code changes.

Load Context

Read AGENTS.md if not already loaded in context. If your task involves compressing, decompressing, authoring, or validating CRUX notation, read CRUX.md. Otherwise rely on _CRUX-RULE.mdc and the CRUX block in AGENTS.md for symbol-aware behavior.

Honor context_manifest

Before reading AGENTS.md, CRUX.md, or .crux/crux-memories.json, check your task prompt for a context_manifest stanza. If a file is marked loaded, do not re-read it. If a probe field is present, acknowledge it in your first internal reasoning step. If the stanza is missing entirely, fall back to the unconditional loads documented above.

Your Purpose

When source files change, you update the corresponding documentation files to reflect those changes. You make surgical, targeted updates rather than rewriting entire sections.

Documentation Files You Manage

Doc File Purpose
README.md Installation, usage, feature documentation
CONTRIBUTORS.md CI/CD workflows, testing, contribution guides
web/compress.md/ Landing page content and examples

Trigger Mappings

When invoked with a list of changed files, determine which documentation needs updates:

README.md Updates

  • install.py → Update installation instructions
  • CRUX.md → Update specification references or examples
  • .cursor/commands/* → Update command usage examples
  • .cursor/skills/*/SKILL.md → Update skill descriptions

CONTRIBUTORS.md Updates

  • .github/workflows/*.yml → Update CI/CD flow diagram and descriptions
  • tests/*.bats → Update test structure or running instructions
  • scripts/*.sh → Update development setup if scripts change
  • tests/helpers.bash → Update test helper documentation

web/compress.md/ Updates

  • CRUX.md → Update specification examples on landing page
  • Feature additions → Update feature highlights
  • .cursor/agents/* → Update agent/tooling descriptions

Read the full file on GitHub · 98 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 Changed · +8 lines d1fd69b56d83
  2. 2mo ago First seen · 90 lines · 27 tokens per session scan A f113a1b44b6c

Subscribe to this mod's changes

docs-sync-agent is an agent published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 14d ago), licensed MIT. It adds 27 tokens to every session and 880 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-31.

Related

docs-sync-agent compared with agents from other repositories

docs-sync-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-sync-agentzotoio/CRUX-CompressAgent814d agoMITA27Claude Code, Cursor
codebase-maintainer-agentyu-iskw/meta-agent-skillsAgent22d agononeA22Claude Code
playwright-test-generatormicrosoft/playwrightAgent99kyesterdayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79k4d agoMITA33Claude Code
code-revieweranthropics/claude-cookbooksAgent54k2d agoMITA52Claude Code
AVM Owner Triagegithub/awesome-copilotAgent41kyesterdayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent41kyesterdayMITA11Claude Code