Explain
Explain a concept from the current book in the context of what you've built so far. Fetches relevant chapter from GitHub. Usage - /tbh:explain agent-loop or /tbh:explain mcpFrom its SKILL.md
npx -y skills add tbhbooks/tbh-skill --skill explainAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.3 KB, as published. Nobody here has run it
TBH Explain
Explain a concept from the book, grounded in what the reader has already built.
Fetch Preamble
-
Read
.tbh/config.jsonfor active book, current chapter,raw_base,chapters_path. If missing, tell reader to run/tbh:setupfirst. -
Identify the concept from the user's argument and map it to the relevant chapter number(s). Common concept-to-chapter mappings for the "agents" book:
- agent-loop, observe-think-act → ch01
- augmented-llm, system-prompt, structured-output → ch02
- tools, mcp, tool-calling → ch03
- skills → ch04
- file-system, shell, sandboxing → ch05
- memory, context → ch06
- planning, reasoning → ch07
- evaluation, guardrails → ch08
- self-improvement → ch09
- multi-agent, splitting → ch10
- broadcast, discovery → ch11
- peer-communication, a2a → ch12
- swarm → ch13
- production → ch14
- ecosystem → ch15
-
Fetch the relevant chapter(s) from GitHub:
curl -sf "<raw_base>/<chapters_path>/ch<NN>.md" -o .tbh/cache/ch<NN>_chapter.md
Steps
-
Read the fetched chapter content. Search for the concept within it.
-
Read the reader's implementation to ground the explanation in their code.
-
Explain the concept:
- Start with what it IS in one sentence
- Connect it to what they've already built: "In your Ch 2 agent, you have X. This concept extends that by..."
- Use a concrete example from the book or spec
- Include a Mermaid diagram if the chapter has one for this concept
- If the concept is from a future chapter, give a preview without spoilers: "You'll build this in Ch N — for now, just know that..."
Tone
- Conversational, not academic. "Here's the thing..." not "This concept is defined as..."
- Always connect back to the reader's own code when possible.
- If the concept spans multiple chapters, show how it evolves: "In Ch 4 it's static, by Ch 9 the agent rewrites it, by Ch 11 agents share it."