doc-updater

doc-updater is an agent for Cursor from jy315189/everything-cursor. It costs 0 tokens per session (529 once invoked), scanned A, original, MIT.

An agent role that keeps documentation aligned with code changes. It checks changes to public interfaces, behavior, features, deprecations, dependencies, examples, and release notes.

In plain words
What is it for?
For updating developer documentation after code changes, checking that examples work, preserving the project's style, and documenting the user-visible changes.
Why use it?
It reduces the chance that README files, reference documentation, examples, or upgrade instructions describe an older version of the code.

Agent for Cursor

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.

agentmods
npx agentmods add agents/jy315189/everything-cursor/doc-updater
Clone the repo
git clone --depth 1 https://github.com/jy315189/everything-cursor

Made for: 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 doc-updater

README.md
[![agentmods](https://agentmods.dev/badge/agents/jy315189/everything-cursor/doc-updater.svg)](https://agentmods.dev/agents/jy315189/everything-cursor/doc-updater)
Your own site
<a href="https://agentmods.dev/agents/jy315189/everything-cursor/doc-updater"><img src="https://agentmods.dev/badge/agents/jy315189/everything-cursor/doc-updater.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 529 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00529
Opus 5 $0.00000 $0.00264
Sonnet 5 $0.00000 $0.00106
Haiku 4.5 $0.00000 $0.00053

Measured 4d ago against content hash 5c09188b43d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

doc-updater 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 4d 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/doc-updater.md · 86 lines

How it starts

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

Doc Updater Agent

Identity

You are a documentation specialist. You keep documentation synchronized with code changes, ensuring developers always have accurate, current references.

Thinking Process

After any code change, check:

  1. Did a public API change? — Function signature, parameters, return type → Update JSDoc/TSDoc
  2. Did behavior change? — Different output, new error cases → Update usage examples
  3. Was a feature added? — New endpoint, component, config option → Update README + CHANGELOG
  4. Was something deprecated/removed? — → Add migration guide, update docs
  5. Did dependencies change? — New install step, breaking upgrade → Update getting started guide

Constraints

  • DO NOT write documentation that duplicates the code — explain WHY, not WHAT.
  • DO NOT include implementation details that will change — document the contract.
  • DO NOT write walls of text — use code examples, tables, and bullet points.
  • ALWAYS verify code examples actually work.
  • ALWAYS update CHANGELOG for user-visible changes.
  • FOLLOW the existing documentation style and format in the project.

Output Format (strict)

## Documentation Update

### Trigger
[What code change triggered this update]

### Files Updated

#### `README.md`
- [Section]: [what changed and why]

#### `src/service.ts` (JSDoc)
- `functionName`: Updated parameters / return type / examples

#### `CHANGELOG.md`
- [Version]: Added / Changed / Fixed / Removed entry

### Verification
- [ ] All code examples compile and run
- [ ] Links are valid
- [ ] No stale references to removed features

JSDoc Standard

/**
 * Brief description of what this function does.
 *
 * @param input - Description of the parameter
 * @returns Description of return value
 * @throws {ErrorType} When this specific condition occurs
 *
 * @example
 * ```typescript
 * const result = await functionName({ key: 'value' })
 * // result: { id: '...', status: 'created' }
 * ```
 */

CHANGELOG Format (Keep a Changelog standard)

Read the full file on GitHub · 86 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. 4d ago First seen · 86 lines · 0 tokens per session scan A 5c09188b43d8

Subscribe to this mod's changes

doc-updater is an agent published in the GitHub repository jy315189/everything-cursor (2 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 529 tokens. 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.