maintain

maintain is a skill for Claude Code from brain-bootstrap/claude-code-brain-bootstrap. It costs 41 tokens per session (406 once invoked), scanned A, original, MIT.

A maintenance skill for finding outdated project knowledge files and correcting verified errors. It checks references to files, directories, services, commands, and unfinished placeholders.

In plain words
What is it for?
It helps audit and update architecture and build documentation, verify commands, remove stale references, and record useful new project facts.
Why use it?
Project documentation can become incorrect after refactoring, causing developers or agents to follow commands and paths that no longer work.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps audit and update architecture and build documentation, verify commands, remove stale references, and record useful new project facts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brain-bootstrap/claude-code-brain-bootstrap/maintain
Install

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.

Any agent
npx skills add brain-bootstrap/claude-code-brain-bootstrap --skill maintain
Clone the repo
git clone --depth 1 https://github.com/brain-bootstrap/claude-code-brain-bootstrap

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 maintain

README.md
[![agentmods](https://agentmods.dev/badge/skills/brain-bootstrap/claude-code-brain-bootstrap/maintain/github.svg)](https://agentmods.dev/skills/brain-bootstrap/claude-code-brain-bootstrap/maintain)
Your own site
<a href="https://agentmods.dev/skills/brain-bootstrap/claude-code-brain-bootstrap/maintain"><img src="https://agentmods.dev/badge/skills/brain-bootstrap/claude-code-brain-bootstrap/maintain/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 maintain

Your own site · 80×15
<a href="https://agentmods.dev/skills/brain-bootstrap/claude-code-brain-bootstrap/maintain"><img src="https://agentmods.dev/badge/skills/brain-bootstrap/claude-code-brain-bootstrap/maintain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 406 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.00041 $0.00406
Opus 5.5 $0.00016 $0.00162
Sonnet 5.5 $0.00008 $0.00081
Haiku 4.5 $0.00004 $0.00041

Measured 2mo ago against content hash 5052988e115b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

maintain 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 2mo 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/skills/maintain/SKILL.md · 52 lines

What it actually says

Maintain Skill

Keep the brain knowledge base accurate and current.

When to use

  • After a major refactor that changed file structure
  • When a command in claude/build.md produces "command not found"
  • When claude/architecture.md references a directory that no longer exists
  • Periodically as part of session end

Protocol

1. Scan claude/*.md files for staleness signals

Read each claude/*.md file and flag:

  • Directory paths that no longer exist
  • Commands that fail when run
  • Service names that no longer exist in the codebase
  • {{PLACEHOLDER}} tokens that were never filled in
  • References to files that have been deleted or moved

2. Verify each flagged item

# Check if a directory exists
ls claude/path/to/check 2>&1

# Check if a command is available
which command_name 2>&1

3. Fix verified stale content

  • Update paths to reflect current structure
  • Update commands based on current package.json/Makefile
  • Remove references to deleted services/modules
  • Fill in any remaining {{PLACEHOLDER}} tokens

4. Add new knowledge (opportunistic)

If you discover new facts about the codebase during maintenance, add them to the appropriate claude/*.md file.

5. Report changes

List every file updated with a one-line description of what changed.

Rules

  • NEVER remove knowledge without verifying it's actually stale
  • NEVER add speculative content — only add what you've verified
  • Document the maintenance run in claude/tasks/lessons.md
  • Stale docs are bugs — treat them with the same urgency as code bugs
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. 2mo ago First seen · 52 lines · 41 tokens per session scan A 5052988e115b

Subscribe to this mod's changes

maintain is a skill published in the GitHub repository brain-bootstrap/claude-code-brain-bootstrap (11 stars, last pushed 7mo ago), licensed MIT. It adds 41 tokens to every session and 406 once invoked, about $0.0002 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-09-03.

Related

maintain compared with skills from other repositories

maintain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maintainbrain-bootstrap/claude-code-brain-bootstrapSkill117mo agoMITA41Claude Code
implementserpro69/claude-toolboxSkill15510d agoApache-2.0A81Claude Code
chain-of-verificationserpro69/claude-toolboxSkill15510d agoApache-2.0A41Claude Code
review-designserpro69/claude-toolboxSkill15510d agoApache-2.0A37Claude Code
review-specserpro69/claude-toolboxSkill15510d agoApache-2.0A44Claude Code
review-architectureserpro69/claude-toolboxSkill15510d agoApache-2.0A183Claude Code
diff-skillserpro69/claude-toolboxSkill15510d agoApache-2.0A106Claude Code