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 commands/llcoolblaze/claude-boris/rollbackgit clone --depth 1 https://github.com/llcoolblaze/claude-borisWrote 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/commands/llcoolblaze/claude-boris/rollback)<a href="https://agentmods.dev/commands/llcoolblaze/claude-boris/rollback"><img src="https://agentmods.dev/badge/commands/llcoolblaze/claude-boris/rollback.svg" alt="Measured on agentmods" 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 | $0.00015 | $0.00733 |
| Opus 5 | $0.00008 | $0.00367 |
| Sonnet 5 | $0.00003 | $0.00147 |
| Haiku 4.5 | $0.00002 | $0.00073 |
Grade A, and why
rollback 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 3d 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 — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rollback
Available Checkpoints
Stash Checkpoints
!git stash list 2>/dev/null | grep "checkpoint:" || echo "No stash checkpoints"
Tag Checkpoints
!git tag -l "checkpoint/*" 2>/dev/null || echo "No tag checkpoints"
Recent Commits
!git log --oneline -10 2>/dev/null
Rollback Target
Target: $ARGUMENTS
Rollback Protocol
1. Identify Target
If numeric (e.g., 3):
Rollback 3 commits
git reset --soft HEAD~3
If checkpoint name (e.g., pre-refactor):
Find in stash or tags
# Check stash
git stash list | grep "checkpoint:$NAME"
# Check tags
git tag -l "checkpoint/$NAME"
2. Safety Checks
Before rollback:
- Current work saved? (stash or commit)
- Not on protected branch?
- Understand what will be lost?
# Show what will be affected
git log --oneline HEAD~$N..HEAD # For numeric
git diff checkpoint/$NAME HEAD # For named
3. Execute Rollback
From Stash Checkpoint:
git stash apply stash@{N} # Where N is stash index
# or
git stash pop stash@{N} # Apply and remove
From Tag Checkpoint:
# Soft rollback (keep changes)
git reset --soft checkpoint/$NAME
# Hard rollback (discard changes)
git checkout checkpoint/$NAME
git checkout -b restored-from-$NAME
From Commit Count:
# Soft (keep changes staged)
git reset --soft HEAD~$N
# Mixed (keep changes unstaged)
git reset HEAD~$N
# Hard (discard changes) ⚠️
git reset --hard HEAD~$N
4. Rollback Options
| Option | Command | Keeps Changes | Use When |
|---|---|---|---|
| Soft | --soft |
Staged | Review before discard |
| Mixed | (default) | Unstaged | Selective re-commit |
| Hard | --hard |
No | Full revert |
5. Report
↩️ Rollback Complete
Target: [checkpoint/commit]
Method: [soft/mixed/hard]
Commits undone: [N]
Files affected: [count]
Current state: [branch and status]
To undo rollback: git reflog
6. Post-Rollback
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.
- 3d ago First seen · 151 lines · 15 tokens per session scan A 93f79fdeba25
rollback is a command published in the GitHub repository llcoolblaze/claude-boris (48 stars, last pushed 7mo ago), licensed MIT. It adds 15 tokens to every session and 733 once invoked, about $0.0001 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 commands, from other repositories
commit-all
Group all changes semantically and commit each group separately.
commit
Create a local git commit for source skills without pushing.
commit
Create a Conventional Commit with signoff.
session-report
Capture what changed this session and why, scoped to the current branch. Read by ship verbs when synthesizing the commit message; deleted after a successful commit.
commit
智能创建 git 提交,分析代码变更并生成符合项目规范的提交信息.
changelog
Summarize staged git changes into a concise changelog/commit message.