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.
git clone --depth 1 https://github.com/arturogarrido/claudinhoWrote 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.
[](https://agentmods.dev/rules/arturogarrido/claudinho/change-discipline)<a href="https://agentmods.dev/rules/arturogarrido/claudinho/change-discipline"><img src="https://agentmods.dev/badge/rules/arturogarrido/claudinho/change-discipline/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.
<a href="https://agentmods.dev/rules/arturogarrido/claudinho/change-discipline"><img src="https://agentmods.dev/badge/rules/arturogarrido/claudinho/change-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00365 | $0.00365 |
| Opus 5 | $0.00182 | $0.00182 |
| Sonnet 5 | $0.00073 | $0.00073 |
| Haiku 4.5 | $0.00036 | $0.00036 |
Grade A, and why
change-discipline 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 10d 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.
What it actually says
Change discipline
The canonical text is AGENTS.md → "Change discipline", and the "Definition
of Done" section beside it. This file exists only because Cursor reads
.cursor/rules and not AGENTS.md — Claude Code reads AGENTS.md via
CLAUDE.md, and it is Codex's source of truth. Keep the two in sync; if they
disagree, AGENTS.md wins.
The short form:
- Acceptance criteria in the PR before the first commit, plus an explicit
statement of what the change does NOT cover. Skipping this is what turned
PR #97 into twelve review rounds: with no written finish line every round
ended at "I fixed what was reported" and the next round moved it, and with no
stated boundary, findings equally true of
mainarrived as blockers. - Put a shared rule where every path reaches it, then delete the other copy — not at the site the report happened to mention.
- Grep for siblings before calling a class closed. Every single-instance fix in #97 had two or three.
- Make a test fail before trusting it, and pin the CALL, not just the function. Delete the call site and confirm red.
- Never assert wall-clock time. Assert the observable consequence instead.
- Run the gates and READ the output — build, typecheck, test, lint, the three
CI smokes,
release:qa— then wait for CI on the SHA you actually pushed.
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.
- 10d ago First seen · 31 lines · 365 tokens per session scan A 90fad5d2e2fa
change-discipline is a cursor rule published in the GitHub repository arturogarrido/claudinho (28 stars, last pushed 3d ago), licensed MIT. It adds 365 tokens to every session, about $0.0018 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-30.
Other cursor rules, from other repositories
commit-and-push
Commit (conventional commit) files and push to the remote repository.
git
Git workflow and commit rules.
release-checklist
What to update with each code change or version release.
git-workflow
Branch hygiene — rebase on main before every PR and keep branches synced.
git
Cursor rule "git" from duongductrong/antigravity-kit, covering git conventions, commit messages, types, subject rules and examples.
release-policy
Release, versioning, and signing policy for setmac.