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.
npx agentmods add rules/juliocbm/beacon-docs/cursorrulesgit clone --depth 1 https://github.com/Juliocbm/beacon-docsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01029 | $0.01029 |
| Opus 5 | $0.00515 | $0.00515 |
| Sonnet 5 | $0.00206 | $0.00206 |
| Haiku 4.5 | $0.00103 | $0.00103 |
Grade A, and why
cursorrules 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 yesterday.
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.
This is a copy
95% identical to beacon — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Universal rules
- One doc = one category. Never duplicate across folders.
- Status via folder, never filename. Closed plan →
_archive/, never*_DONE.mdor*_v2.md. - kebab-case for all filenames. No camelCase, no snake_case, no spaces.
- README required in every category folder.
- ADRs are append-only. Supersede with a new ADR; never edit an accepted one.
- Evaluations are immutable snapshots. To revise, create a new dated file.
- Plans archive to
_archive/when done. Move them, never rename. - Generated AI files (this one) must match
docs/_meta/convention.md. Runbeacon syncafter editing the convention. - Don't create folders outside the convention. Run
beacon enable <addon>or propose an ADR.
Persistence rule: Decisions live in ADRs, multi-step work lives in plans, deferred work lives in backlog, retrospection lives in evals. Chat memory is session-scoped and lost when the conversation ends. If you find yourself relying on chat memory to track a decision, plan, or follow-up — write the document instead.
Project-specific rules
operations/*.guide.md— deploy guides, admin runbooks, troubleshooting. Post-mortems go inevaluations/.
Workflow triggers — when to create documents
These are the conversational signals that should prompt you to create or update Beacon documents. Treat them as imperatives, not suggestions.
- Design decision made → write an ADR before implementing. Decisions about architecture, dependencies, naming conventions, or future flexibility belong in
adr/. Runbeacon new adr <slug>. Draft the ADR inline; don't ask permission to write it. - Multi-step work agreed (3+ distinct actions) → write a plan with checkbox steps. Run
beacon new plan <slug>and write bite-sized steps. Check off each step in the same commit that completes it. Don't keep multi-step work only in chat memory. - Scope deferred → capture it as a backlog item immediately. When the user says "let's do that later", "out of scope for now", "maybe v0.5", or similar, run
beacon new todo <slug>and write the why plus acceptance criteria. Don't let deferred work live only in conversation. - Release shipped or milestone reached → write a dated retrospective eval. Run
beacon new eval <slug>-retrospectiveand capture what worked, what didn't, what you'd do differently. Even a 10-line eval is better than zero. - Approach explained twice → write a pattern doc. If you find yourself explaining the same technical approach across multiple files or sessions, run
beacon new pattern <slug>and capture it inreference/. - System structure changed → update or add an architecture doc. New module, new layer, new external dependency that affects how the system is shaped — that goes in
architecture/.
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.
- yesterday First seen · 46 lines · 1,029 tokens per session scan A 4faf1f30b9a4
cursorrules is a cursor rule published in the GitHub repository Juliocbm/beacon-docs (6 stars, last pushed 3mo ago), licensed MIT. It adds 1,029 tokens to every session, about $0.0051 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to beacon, differing in 6 lines, and is treated as a copy.
Other cursor rules, from other repositories
test-plan
Plan Katalon True Platform/TestOps testing for a release, sprint, or feature. Use when you need to translate quality goals into scope, prioritize testing by requirement coverage and risk, decide what to test first, or build the executable plan structure (folders, suites, and sprint/release association) that stands in…
cli-forge-schema
Generate GitHub-compatible Mermaid diagrams — auto-picks diagram type, splits complex ones, converts tables/kanban/PERT.
STAGE_S5_TEST_POINTS
AIDocxWorkFlow Stage 5 — 测试点生成(独立阶段).
sprint-planning
BMAD BMM Agent: sprint-planning.
head-of-product
Head of Product persona — planning, user stories, UX decisions, scope guardian. Use when discussing product strategy, PRDs, user research, feature proposals, or backlog prioritization.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.