claude-boris: Command for Claude Code

.claude/commands/update-claude-md.md

update-claude-md is a command for Claude Code from llcoolblaze/claude-boris. It costs 21 tokens per session (377 once invoked), scanned A, original, MIT.

A command procedure for updating CLAUDE.md, a project guidance file, with lessons from recent development work.

In plain words
What is it for?
Reviewing recent commits and changes, then documenting what to avoid, what conventions to follow, and which development commands to use.
Why use it?
It turns recent mistakes, patterns, commands, and architecture decisions into instructions for future work.

Command for Claude Code

Written for Claude Code: dynamic context !`command`. Also seen: mentions CLAUDE.md.

This is llcoolblaze/claude-boris's own configuration. It tells Claude Code how to work on claude-boris itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-boris configures →

Reuse

Borrowing it

Nothing to install: this file belongs to llcoolblaze/claude-boris. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/llcoolblaze/claude-boris/main/.claude/commands/update-claude-md.md
Clone the repo
git clone --depth 1 https://github.com/llcoolblaze/claude-boris

Made for: Claude Code.

Wrote 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.

agentmods badge for update-claude-md

README.md
[![agentmods](https://agentmods.dev/badge/commands/llcoolblaze/claude-boris/update-claude-md/github.svg)](https://agentmods.dev/commands/llcoolblaze/claude-boris/update-claude-md)
Your own site
<a href="https://agentmods.dev/commands/llcoolblaze/claude-boris/update-claude-md"><img src="https://agentmods.dev/badge/commands/llcoolblaze/claude-boris/update-claude-md/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.

agentmods 80×15 button for update-claude-md

Your own site · 80×15
<a href="https://agentmods.dev/commands/llcoolblaze/claude-boris/update-claude-md"><img src="https://agentmods.dev/badge/commands/llcoolblaze/claude-boris/update-claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 377 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00377
Opus 5 $0.00010 $0.00188
Sonnet 5 $0.00004 $0.00075
Haiku 4.5 $0.00002 $0.00038

Measured 9d ago against content hash 9e5be9ccb274, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

update-claude-md 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 9d 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.

.claude/commands/update-claude-md.md · 74 lines

What it actually says

Context Gathering

Recent Git History

!git log --oneline -10

Current CLAUDE.md

!cat CLAUDE.md 2>/dev/null || echo "No CLAUDE.md found"

Recent Changes

!git diff HEAD~3 --stat


Learning Review

Analyze recent work and conversation to identify:

1. Mistakes Made

Things that went wrong that should be documented:

  • Bugs introduced and how they were fixed
  • Wrong approaches that wasted time
  • Misunderstandings about the codebase

2. New Patterns Discovered

Patterns or conventions that should be followed:

  • Code patterns that work well
  • Testing approaches
  • File organization

3. Commands/Scripts Updated

New or changed development commands:

  • Build commands
  • Test commands
  • Deployment scripts

4. Architecture Decisions

Significant decisions that affect future work:

  • Why something was built a certain way
  • Trade-offs that were made

Update CLAUDE.md

Based on the analysis, update CLAUDE.md with new learnings.

Format for new entries:

## Mistakes to Avoid

### [Date] - [Brief Title]
**What happened**: [Description]
**Why it's wrong**: [Explanation]
**Do this instead**: [Correct approach]
## Learned Patterns

### [Pattern Name]
**When to use**: [Context]
**How to implement**: [Brief guide]
**Example**: [Code snippet if helpful]

If CLAUDE.md doesn't exist, create it with the standard template structure.

Report what was added/updated.

Changes

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.

  1. 9d ago First seen · 74 lines · 21 tokens per session scan A 9e5be9ccb274

Subscribe to this mod's changes

update-claude-md is a command published in the GitHub repository llcoolblaze/claude-boris (48 stars, last pushed 8mo ago), licensed MIT. It adds 21 tokens to every session and 377 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.