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/KaelSensei/MagicAIBuilderWrote 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/kaelsensei/magicaibuilder/version-management)<a href="https://agentmods.dev/rules/kaelsensei/magicaibuilder/version-management"><img src="https://agentmods.dev/badge/rules/kaelsensei/magicaibuilder/version-management/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/kaelsensei/magicaibuilder/version-management"><img src="https://agentmods.dev/badge/rules/kaelsensei/magicaibuilder/version-management.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.00809 | $0.00809 |
| Opus 5.5 | $0.00324 | $0.00324 |
| Sonnet 5.5 | $0.00162 | $0.00162 |
| Haiku 4.5 | $0.00081 | $0.00081 |
Grade A, and why
version-management 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 20d 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 — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Version management
The branch flow and the promotion rules are in CLAUDE.md. This rule says what an agent may do
with git.
What an agent may do
- Commit locally on its own branch when the task asks for a change.
- Push, open a PR or merge only when the owner asks for it. Never "automatically after a task", never on your own initiative.
- Never push to
dev,stagingormain. Never force-push a shared branch;--force-with-leaseis allowed on your own unmerged branch only. - Never enable
delete_branch_on_merge. It deletesstagingordevwhen a promotion PR merges. Branch cleanup is the owner's job, withscripts/git-prune.sh. Agents never run that script: it deletes every local and remote branch outside its protected list and removes every other worktree, including other agents' work in progress. - Never skip hooks (
--no-verify).SKIP_E2E=1is the documented emergency bypass of the pre-push E2E gate; use it only when the owner agrees, and say so in the PR. - Never use bare
git stash. Every worktree on this machine shares one stash stack. Use a temporary commit instead.
Branches
- Start every task from
origin/dev:git checkout -B <type>/<slug> origin/dev, where<type>isfeature,fix,chore,docsorrefactor. - If the current branch is merged or is
dev,stagingormain, create a fresh branch. - Feature and fix PRs target
dev. Never targetstagingormaindirectly.
Commits
- Conventional Commits with a scope, for example
fix(playtest): …orrefactor(deck): …. Types:feat,fix,refactor,test,docs,chore,ci,perf,style. - The body says why: the behaviour before, the evidence, the decision.
- A commit is either structural or behavioural, never both (Kent Beck):
- structural (
refactor:,style:): no behaviour change; no assertion changes, and the tests are green before and after; - behavioural (
feat:,fix:): driven by a Red test committed with it.
- structural (
- Stage explicit paths. Never
git add -Aorgit add .. - Never commit secrets,
.env*files (except.env.example), reports or build output.
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.
- 20d ago Changed · -24 lines · +100 tokens per session 875e9c9cd251
- 3mo ago First seen · 83 lines · 709 tokens per session scan A 6ef19d34696f
version-management is a cursor rule published in the GitHub repository KaelSensei/MagicAIBuilder (2 stars, last pushed today), licensed MIT. It adds 809 tokens to every session, about $0.0032 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-31.
version-management compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| version-managementKaelSensei/MagicAIBuilder | Cursor rule | 2 | today | MIT | A | 809 | Cursor |
| git-flowkrivoox/agent-stack-template | Cursor rule | 30 | 2mo ago | MIT | A | 302 | Cursor |
| review-scope-overridesprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 8 | Cursor |
| project-cores0vers/next-app-i18n-starter | Cursor rule | 66 | 2d ago | MIT | A | 68 | Cursor |
| no-git-commit-by-agentElumenotion/GuideAnts | Cursor rule | 70 | today | Apache-2.0 | A | 156 | Cursor |
| git-commitsCiscoDevNet/essentials | Cursor rule | 7 | 3d ago | Apache-2.0 | A | 517 | Cursor |
| gitChatbotXIO/ChatbotX | Cursor rule | 1.3k | today | none | A | 29 | Cursor |