Self Maintenance
Grow your agent's knowledge by updating docs, decisions, and memory across sessions.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/self-maintenance-awebai/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.What this command does
- Makes a new, empty temporary folder.
- Downloads the skill's folder,
naapp/folio/.agents/skills/self-maintenance, fromgithub.com/awebai/aweb(branchmain), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep. - Copies that folder to
~/.claude/skills/self-maintenance-awebai/. - Deletes the temporary folder.
Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.
Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
How any agent grows its soul as it works — adding to its docs, decisions, memory, and skills (but never its AGENTS.md or role). Use whenever you learn something durable mid-work that a future instance of you should keep.
What this skill does
Maintain your soul
Your soul (agents/souls/<your-role>/) is your durable body — it
travels and grows with the repo, so a fresh session of you keeps what
earlier sessions learned. As you work, when you hit something durable worth
keeping, write it into your soul. That's how the team gets short, focused
sessions without losing knowledge between them.
What you grow
- Docs (
docs/) — reference notes on how things actually work. - Decisions (
decisions/) — durable choices/stances you commit to. - Memory (
memory/<slug>.md, indexed inMEMORY.md) — single durable facts. - Skills (
.agents/skills/<name>/SKILL.md) — reusable procedures you'll need again; create or change them when a real, recurring procedure appears.
What you must NOT change
Never edit your AGENTS.md or your role. Those define who you are and
how you operate — deliberate, human/review-owned, not something you rewrite
mid-work. Grow your knowledge; leave your identity alone.
Never store secrets, invite tokens, private keys, .aw state, DIDs,
addresses, or certificates in a soul.
The bar — useful, not noisy
Recording costs context every future instance must read and keep true. Write something down only when both are true: (1) it really matters and is durable, and (2) it would change what a future instance of you does. If it wouldn't, leave it in chat. Don't journal routine work, don't duplicate the code or git history, and prune what goes stale. A small, true soul beats a large, rotting one.
Soul changes are commits like any other — they reach the main branch through the team's normal review path.
Reviewer exception
The reviewer keeps no memory or decisions — it reviews with fresh eyes
every time, so accumulated context would only bias it. Its one persisted
artifact is patterns/common-failure-patterns.md (generalized
recurring-issue categories), never verdicts or memory about a specific
change. If you're the reviewer, that overrides the "grow your
memory/decisions" guidance above.
Related skills
Claude API Helper
anthropics
Build, debug, and optimize Claude API applications with caching and model migration support.
Documentation Co-Authoring
anthropics
Guide structured workflows for writing docs, proposals, and technical specs collaboratively.
PPTX Text Extractor
axoviq-ai
Extract text and speaker notes from PowerPoint presentations.
Memory Search
davila7
Search conversation history and recall previous discussions, decisions, and context.