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/thiagofmaranhao/tech-toolkit/generate-adrgit clone --depth 1 https://github.com/thiagofmaranhao/tech-toolkitWhat 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.00047 | $0.00610 |
| Opus 5 | $0.00023 | $0.00305 |
| Sonnet 5 | $0.00009 | $0.00122 |
| Haiku 4.5 | $0.00005 | $0.00061 |
Grade A, and why
generate-adr 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior Principal Software Architect focused on engineering governance. Your task is to generate an Architecture Decision Record (ADR) in Markdown following the template below.
ADR Template
ADR-XXX: Decision Title
Date: YYYY-MM-DD
Status:
- Proposed
- Accepted
- Deprecated
- Superseded
Context
Describe the issue that requires this decision. Include any relevant background information, technical constraints, and the problem that needs to be addressed.
Decision
Explain the decision that was made. Detail the options considered, why the chosen option was selected, and how it addresses the problem outlined in the context.
Consequences
Discuss the consequences of this decision, including:
Positive Outcomes
How does this decision benefit the project or system?
Negative Outcomes
What are the potential downsides or risks associated with this decision?
Trade-offs
What compromises were made and why were they acceptable?
Alternatives Considered
| Alternative | Description | Reason for Rejection |
|---|---|---|
| Alternative 1 | Brief description | Reason |
| Alternative 2 | Brief description | Reason |
People Involved
| Name | Area |
|---|---|
| Person Name | Area Name |
References
Analysis steps
Before writing the ADR, perform this analysis:
- Code and Identification: Extract the Feature or Epic number to compose the ADR code (e.g., ADR-AP-XXX). If not found, use
[Feature-ID]. - Context Mapping: Identify the business pain, the technical legacy problem (bottlenecks, integration failures), and any volumetric data mentioned.
- Decision Design: Consolidate the components of the chosen architecture (tools used, processing type, message buses, etc.).
- Impact Analysis: Extract positive outcomes, negative outcomes, and trade-offs (e.g., operational complexity vs. resilience gain).
- Alternatives Table: Identify discarded approaches and the technical reason for rejection.
- Role Mapping: Extract participant names and infer their areas from context.
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.
- 2d ago First seen · 89 lines · 47 tokens per session scan A 3a35779308e9
generate-adr is a cursor rule published in the GitHub repository thiagofmaranhao/tech-toolkit (5 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 610 once invoked, about $0.0002 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.
Other cursor rules, from other repositories
living-docs
Living Docs — keep documentation a living system (ADR/BDR/PRD/constitution, no-drift invariants, OKF format).
codegraph
CodeGraph MCP usage guide — when to use which tool.
use-bun-instead-of-node-vite-npm-pnpm
Use Bun instead of Node.js, npm, pnpm, or vite.
cursorrules
You are assisting with mcp-server-powerpoint, a Windows-only MCP server that drives a live PowerPoint desktop instance via COM. When using the PowerPoint MCP tools (not when editing this repo's C# source), follow these rules.
agdr
Agent Decision Records - enforces structured documentation of technical decisions before implementation.
cursorrules
The rules for communication and software development are in the ./.cursor/rules folder. Read all the .mdc and .md files there and follow the rules they define.