readme-sync

readme-sync is a cursor rule for Cursor from sthamann/nyx-local-ai. It costs 279 tokens per session, scanned A, original, MIT.

A set of rules for keeping README.md, the main project documentation file, aligned with settings, commands, tools, features, and versions in the code.

In plain words
What is it for?
Use it after changing the product surface or version to update the relevant documentation and verify that all references stay synchronized.
Why use it?
It catches documentation that no longer matches the product, using an automated README check before commits or releases.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .harness/readme-check.mjs # must print "README CHECK: ALL PASS".

Good fit Use it after changing the product surface or version to update the relevant documentation and verify that all references stay synchronized.

Compare 6 cursor rules from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/sthamann/nyx-local-ai
agentmods
npx agentmods add rules/sthamann/nyx-local-ai/readme-sync

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 readme-sync

README.md
[![agentmods](https://agentmods.dev/badge/rules/sthamann/nyx-local-ai/readme-sync/github.svg)](https://agentmods.dev/rules/sthamann/nyx-local-ai/readme-sync)
Your own site
<a href="https://agentmods.dev/rules/sthamann/nyx-local-ai/readme-sync"><img src="https://agentmods.dev/badge/rules/sthamann/nyx-local-ai/readme-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 readme-sync

Your own site · 80×15
<a href="https://agentmods.dev/rules/sthamann/nyx-local-ai/readme-sync"><img src="https://agentmods.dev/badge/rules/sthamann/nyx-local-ai/readme-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 279 This file is loaded in full into every session.
When invoked 279 The same file — it is already loaded in full.
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.00279 $0.00279
Opus 5.5 $0.00112 $0.00112
Sonnet 5.5 $0.00056 $0.00056
Haiku 4.5 $0.00028 $0.00028

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

Security

Grade A, and why

readme-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 3mo 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/rules/readme-sync.mdc · 30 lines

What it actually says

README stays in sync — enforced, not hoped

README.md is the product's single source of documentation. Any change to the product surface must update it in the same commit:

  • new/changed setting → Settings table + relevant feature section
  • new/changed command → Commands table (and keybinding note if any)
  • new/changed tool → Tools table with its default permission
  • new feature → Highlights bullet + a "Features in depth" section + a numbered step in "How to test"
  • version bump → status line, .vsix mentions, and src/mcp/client.ts clientInfo.version

The gate

node .harness/readme-check.mjs   # must print "README CHECK: ALL PASS"

It cross-checks README against package.json (settings, commands, version), the tool schemas, and the MCP client version. Run it before every commit that touches package.json, src/agent/toolSchemas.ts, or bumps a version, and always before packaging a release. It exists because a silently failing sed once left the MCP client version three releases behind.

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. 3mo ago First seen · 30 lines · 279 tokens per session scan A 53441e43128d

Subscribe to this mod's changes

readme-sync is a cursor rule published in the GitHub repository sthamann/nyx-local-ai (109 stars, last pushed 11d ago), licensed MIT. It adds 279 tokens to every session, about $0.0011 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

readme-sync compared with cursor rules from other repositories

readme-sync next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
readme-syncsthamann/nyx-local-aiCursor rule10911d agoMITA279Cursor
astro-development-guidelinesWebDevPeterGriffin/The-VibeCode-BibleCursor rule4226d agononeA79Cursor
javascript-typescript-code-styleWebDevPeterGriffin/The-VibeCode-BibleCursor rule4226d agononeA88Cursor
dto-conventionsWebDevPeterGriffin/The-VibeCode-BibleCursor rule4226d agononeA77Cursor
fastapi-function-definitionsWebDevPeterGriffin/The-VibeCode-BibleCursor rule4226d agononeA67Cursor
django-static-files-managementWebDevPeterGriffin/The-VibeCode-BibleCursor rule4226d agononeA61Cursor
ponytailDietrichGebert/ponytailCursor rule202k9d agoMITA604Cursor