how
Skill0 starsChanged 2 months agoMITView on GitHub
Explain how a subsystem, feature or flow in this codebase works, as an onboarding-level architectural explanation built by read-only subagents. Use for "how does X work" questions, and to critique a subsystem's architecture.
114 other projects use a version of this, 60 of them edited.
Adopted by
Most recently taken up by
- pasevin/pstack-portable-skillstheir own version, first seen Nov 29, 2026
- RileyCornelius/Code-Skillsedited, first seen Nov 29, 2026
- the-inconvenience-store/skillstheir own version, first seen Nov 29, 2026
- MondayNotAGoodDay/skillstheir own version, first seen Nov 29, 2026
- Ertinox7711/SGRR-AGI-V2edited, first seen Nov 29, 2026
- karanmrn/karanagentskillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use setup-pstack, make-bot-ui and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
bnemaSkillsetup-pstack
Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.
Also in 33 projects that use this
eryzerzSkillmake-bot-ui
Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.
Also in 24 projects that use this
shiwenbin1617Skillketchup-video
Catch the user up like /ketchup, with a short subtitled video of slides for what happened and the waiting calls as text under it. Use for /ketchup-video.
Also in 21 projects that use this
The-Utopia-StudioSkillPoteto Mode
poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.
Also in 3 projects that use this
ElyzeSolutionsSkillcontrol-cli
Build or adapt a local harness to drive, inspect, and profile an interactive CLI or TUI without external services. Use for CLI UX checks, startup regressions, memory leaks, hangs, prompt flows, or terminal demos.
Also in 5 projects that use this
rohunvoraSkillreframe
This skill should be used when the user is stuck, obvious solutions aren't working, constraints feel impossible, or they keep circling back to bad options. Use when designs keep getting rejected or the user is solving symptoms instead of root causes.
Also in 15 projects that use this
Other versions114 projects use a version of this.
Word for word · 0
None found.
Edited · 60
- poteto/how★ 87887% same
- moeru-ai/xsai★ 67013% same
- uzairansaruzi/p3-stack★ 12624% same
- Dimon94/dverity★ 10725% same
- Dimon94/skills★ 10725% same
- dsebban/skills★ 8212% same
- TencentBlueKing/bk-lite★ 7716% same
- stealth-factory/opscope★ 4016% same
- roerohan/skills★ 2959% same
- painhardcore/pstack★ 2218% same
50 more not listed
Wrote their own version · 54
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- backnotprop/pstack★ 5.4ksame name
- jtaroreh/agystack★ 142same name
- overextended/skills★ 22same name
- TheOnlyFusionCube/potetos-for-everyone★ 21same name
- creedants/pstack-t3★ 19same name
- adjohn/pstack★ 12same name
- karanmrn/karanagentskills★ 11same name
- karanmrn/kstack★ 11same name
44 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/humanizer/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adversarial-reviewSkill
- cherrypickerSkill
- copyable-markdownSkill
- deltamaxxSkill
- docs-mirrorSkill
- ffmpegSkill
- file-prSkill
- humanizerSkill
- modernizeSkill
- prompt-packSkill
- socials-mirrorSkill
- spamcheckSkill
- unslopSkill
- writing-beatsSkill
- writing-fragmentsSkill
- writing-shapeSkill
- yt-ccSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 113 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 45
When in doubt, lean toward the simple path — you can always spawn explorers if the explainer hits a wall.
- Very specific: line 60
Start broad: Glob for relevant directories, Grep for key types/interfaces/class names
- Distinctive: line 61
Follow the thread: once you find an entry point, trace the call chain — callers, callees, data flow, type definitions
- Distinctive: line 62
Read the actual code, don't guess from file names
- Distinctive: line 63
Stop when you can describe the full path from input to output (or from trigger to effect) without hand-waving any step
- Distinctive: line 108
Run the full explain flow above (Steps 1-4).
- Distinctive: line 112
After the explanation is complete, spawn three architectural critics (A, B, C) with the Critic settings from Subagents.
- Very specific: line 114
Read references/critic-prompt.md for the prompt template.
“Common” is measured: kept by at least 6 in 10 of the 113 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
How
Explore the codebase to answer "how does X work?" questions. Produce clear architectural explanations at the level of a senior engineer onboarding onto a subsystem — enough to build a working mental model, not so much that it reads like annotated source code.
Two modes:
- Explain (default) — explore the codebase and produce a clear explanation
- Critique — explain first, then spawn independent critic subagents to identify architectural issues
Subagents
Every subagent is read-only: its prompt says to read and search, never to edit, write or run anything that changes state. Explore and Plan have no Edit or Write, but they keep Bash, so read-only there rests on that prompt line. Pick each role's model by tier:
| Role | Tier | Claude Code |
| Explorer | fast | subagent_type: Explore (no Edit or Write), model: sonnet |
| Explainer (direct or synthesizer) | strong | subagent_type: Plan (no Edit or Write), model: opus |
| Critic | strongest available | subagent_type: Plan (no Edit or Write), model: fable where offered, else opus |
On another harness, map each tier to its nearest equivalent.
Explain Mode
Step 1 — Understand the Question and Assess Complexity
Parse what the user is asking about. They might say:
- "How does message virtualization work?" — a subsystem
- "How do we handle billing for on-demand usage?" — a feature flow
- "How is the auth service structured?" — an architectural overview
- "Walk me through what happens when a user sends a message" — a runtime trace
Identify the scope. If it's ambiguous, make your best guess and state your interpretation before exploring. Don't ask — explore and let the user redirect if you're off.
Assess complexity to decide the approach:
- Simple (a single module, a small utility, a narrow question like "how does function X work"): Skip explorer agents entirely. The explainer agent explores and explains in a single pass. Go directly to Step 2b.
- Complex (a subsystem spanning multiple files/services, a cross-cutting feature, a full architectural overview): Spawn parallel explorer agents first, then hand off to the explainer. Go to Step 2a.
When in doubt, lean toward the simple path — you can always spawn explorers if the explainer hits a wall.
Step 2a — Explore (complex questions only)
Decompose the question into 2-4 parallel exploration angles. Each angle should cover a distinct slice of the subsystem so the explorers aren't duplicating work. For example, if the question is "how does message virtualization work?", you might split into:
- Explorer 1: the data model and state management
- Explorer 2: the rendering pipeline and DOM interaction
- Explorer 3: the scroll/measurement infrastructure
The right decomposition depends on the question — use your judgment. For narrow questions, 2 explorers is fine. For broad subsystems, use up to 4.
Spawn all explorers in a single message, with the Explorer settings from Subagents.
Each explorer gets the same base prompt from references/explorer-prompt.md, plus a specific exploration angle telling it which slice to focus on. Each explorer should:
- Start broad: Glob for relevant directories, Grep for key types/interfaces/class names
- Follow the thread: once you find an entry point, trace the call chain — callers, callees, data flow, type definitions
- Read the actual code, don't guess from file names
- Stop when you can describe the full path from input to output (or from trigger to effect) without hand-waving any step
- Note things that are surprising, non-obvious, or that a newcomer would get wrong
Each explorer returns structured findings: the components it found, the flow it traced, the files it read, and anything non-obvious. Overlap between explorers is fine — the explainer will reconcile.
Then proceed to Step 3.
Step 2b — Direct Explain (simple questions)
Spawn a single Task subagent, with the Explainer settings from Subagents, that explores and explains in one pass.
This agent does its own exploration (Glob, Grep, Read) and writes the explanation directly. Build its prompt from references/explainer-prompt.md, read-only line included, for the communication style and output format — the agent follows the same structure, it just doesn't have explorer findings as input, so leave out the template's findings section and its synthesis framing.
Proceed to Step 4.
Step 3 — Synthesize (complex questions only)
Once all explorers have returned, spawn a single Task subagent, with the Explainer settings from Subagents, to synthesize their findings into one coherent explanation.
The explainer gets all explorers' findings and writes the human-facing explanation (see output format below). Read references/explainer-prompt.md for the full prompt template. The explainer reconciles overlapping findings, resolves contradictions, and weaves the separate slices into a unified picture.
Step 4 — Present
Take the explainer's output and present it to the user. You may lightly edit for clarity or add context from the conversation, but don't substantially rewrite — the explainer agent's communication is the product.
Output Format
The explanation should follow this structure, but adapt it to what makes sense for the question. Not every section is needed for every question.
Overview — 1-2 paragraphs. What is this thing, what does it do, why does it exist. Someone should be able to read this and decide whether they need to keep reading.
Key Concepts — The important types, services, or abstractions. Brief definition of each, not exhaustive — just the ones needed to understand the rest.
How It Works — The core of the explanation. Walk through the flow: what triggers it, what happens step by step, where does data go, what are the decision points. Use prose, not pseudocode. Reference specific files and functions so the reader can go look, but don't dump code blocks unless a specific snippet is genuinely necessary to understand the point.
Where Things Live — A brief map of the relevant files/directories. Not every file — just the ones someone would need to find to start working in this area.
Gotchas — Things that are non-obvious, surprising, or that would trip someone up. Historical context that explains why something looks weird. Known sharp edges.
Critique Mode
Triggered when the user asks for architectural issues, problems, or improvements — not just understanding.
Step 1 — Explain First
Run the full explain flow above (Steps 1-4). You need to understand the architecture before you can critique it.
Step 2 — Spawn Critics
After the explanation is complete, spawn three architectural critics (A, B, C) with the Critic settings from Subagents. Launch all in a single message, each in its own fresh context so their findings stay independent. Raise their reasoning effort when the architecture warrants deeper analysis.
Read references/critic-prompt.md for the prompt template. Each critic gets:
- The explanation from Step 1 (so they don't waste time re-exploring)
- The relevant file paths (so they can read the actual code)
- The architectural critique rubric from
references/critique-rubric.md
Step 3 — Lead Judgment
You're a pragmatic lead, not an aggregator.
Categorize findings:
- Act on — Architectural problems worth fixing now
- Consider — Real concerns, but the cost/benefit is unclear
- Noted — Valid observations, low priority
- Dismissed — Wrong, missing context, or style preference
Present the explanation first (from Step 1), then the critique verdict below it. The explanation should stand on its own — someone who just wants to understand the system shouldn't have to wade through critique.
Credit: Lauren Tan (poteto), from poteto/how (MIT).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

