Help us improve
Share bugs, ideas, or general feedback.
From AFK Coding Pipeline
Use after a pipeline run, a correction from the user, or any session with notable friction — captures learnings into structural enforcement (lint rules, AGENTS.md) first, and into the project's .afk/brain/ memory only when a rule can't encode it.
npx claudepluginhub alexanderop/afk --plugin afkHow this skill is triggered — by the user, by Claude, or both
Slash command
/afk:reflectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Every pipeline run teaches something: a shortcut an agent took, a codebase
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Guides systematic root-cause debugging when tests fail, builds break, or unexpected errors occur. Provides a structured triage checklist to preserve evidence, localize, and fix issues instead of guessing.
Share bugs, ideas, or general feedback.
Every pipeline run teaches something: a shortcut an agent took, a codebase gotcha that cost a fix cycle, a convention the spec reviewer kept flagging. Unbanked, the next run pays for the same lesson again.
Routing law: structure beats memory. A lint rule fires every time; a brain note only helps if the next agent reads it. Always try to encode the lesson as enforcement first.
Look for:
anys, swallowed errors an agent tried.In strict order — first match wins:
.afk/brain/<topic-slug>.md — one topic per file, lowercase-hyphen names:
# <Topic>
<2–6 sentences: the fact, the why, and what to do about it.
Link related notes as [[other-note]].>
Quality bar — all three or it doesn't go in:
Update existing notes rather than writing near-duplicates; delete notes the codebase has outgrown. The index regenerates automatically on write; the SessionStart hook injects it into every future session.
| Thought | Reality |
|---|---|
| "I'll write a brain note about always running lint" | That's a hook or a CI step, not a memory. Structure first. |
| "Better to save everything, storage is free" | Context isn't. Every injected note taxes every future session. Three-part quality bar. |
| "This correction was one-off, but just in case…" | Frequency test failed → skip. The brain is for patterns, not incidents. |
| "I'll append to one big LEARNINGS.md" | One topic per file, or recall becomes grep-and-pray. |
| "This how-to belongs in CLAUDE.md so it's never missed" | Task-specific content in CLAUDE.md gets the whole file ignored. Brain note + a "Go deeper" pointer instead. |
.afk/brain/index.md; the PostToolUse hook keeps the index current.