BR

brain-maintenance

Tools to update llms.txt, categorize new documentation, and log architectural decisions within the agent's knowledge repository.

Install

mkdir -p .claude/skills/brain-maintenance && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19296" && unzip -o skill.zip -d .claude/skills/brain-maintenance && rm skill.zip

Installs to .claude/skills/brain-maintenance

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Tools for maintaining and indexing the Agent Brain (.agent/knowledge).
70 charsno explicit “when” trigger
Beginner

Key capabilities

  • Update llms.txt index files
  • Organize documentation into skill directories
  • Log architectural decisions and rationales

How it works

This skill maintains the agent's knowledge base by indexing new documentation files into llms.txt and appending major architectural decisions to a centralized log.

Inputs & outputs

You give it
New documentation file or architectural decision
You get back
Updated llms.txt index or decisions.md log

When to use brain-maintenance

  • Add new documentation to the agent's brain
  • Update llms.txt index after adding new skill references
  • Log major architectural decisions and rationales

About this skill

Brain Maintenance Skill

Use this skill to update the llms.txt index or organize knowledge when new documentation is added.

Instructions

1. Update Index (llms.txt)

When new files are added to any Skill's references/ directory, run this sequence to update the index.

  1. List Skills: Run find_by_name for references inside .agent/skills.
  2. Generate Entry: Format the new file as - [Title](../skills/<SkillName>/references/<File>): Description..
  3. Append: Use replace_file_content to add it to .agent/skills/project-context/references/llms.txt.

2. Knowledge Ingestion

When the user asks to "learn" a new doc:

  1. Categorize: Select the most appropriate Skill (e.g., ai-engineering, system-architecture).
  2. Move: Move the file to references/ within that Skill.
  3. Index: Update llms.txt.

3. Decisions Log

When a major architectural decision is made:

  1. Log: Append a new entry to .agent/skills/project-context/references/decisions.md with Date, Decision, and Rationale.

How it compares

It automates the specific file-path and formatting requirements for agent knowledge management instead of requiring manual file organization.

Compared to similar skills

brain-maintenance side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
brain-maintenance (this skill)05moNo flagsBeginner
marker226moReviewBeginner
markdown-converter52moReviewBeginner
enhance-claude-memory114moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry