Coach 5 of 11

Investigation coach

Onboard anyone onto the project: evidence-cited docs, an architecture map you can open in Obsidian or draw.io, and study material.

#onboarding#architecture#documentation#study
install this one alone
$ claude plugin install investigation-coach@ai-coach

How it flows

From an unknown repo to a docs vault

  • You
  • Agent
  • Result
  1. YouStart the tourOnboard, then map, then study. States the cost first; stop after any step./investigation-coach:onboard
  2. AgentScouts sweep the codeOne scout per area, every claim file:line or INFERRED. Hand-written docs are never overwritten.
  3. Resultdocs/onboarding/Start-here, stack, decisions and patterns, written and remembered.
  4. AgentMap traces the callsReuses the stack notes and sweeps only who-calls-whom, each edge cited./investigation-coach:map
  5. ResultArchitecture viewsAn artifact page, one Obsidian note per component, and a canvas.
  6. Resultdocs/study/The why behind each pattern, with one proving instance each./investigation-coach:study

Open docs/ in Obsidian. /strategy-coach:blueprint builds on what this wrote.

/investigation-coach:mapmodel-invocable

Map the architecture — services, components, who calls whom — as an artifact page, markdown diagrams, one Obsidian note per component, a canvas, and optionally draw.io. Use when the user explicitly asks ("/map", "architecture diagram", "how do the services connect"), or when onboard --tour or /ai-coach:start --run chains it; never proactively, it reads a lot of code and writes files.

[--full] [--feature <name>] [--project] [--diagrams drawio]
/investigation-coach:onboardmodel-invocable

Generates onboarding docs — core features, setup, rules, stack, patterns, all evidence-cited — into docs/onboarding/. Use when the user explicitly asks ("/onboard", "onboard a new team member", "document this project for newcomers"), or when /ai-coach:start --run chains it; never proactively, it reads a lot of code and writes files. Not for the business or a feature spec (see strategy-coach).

[status] [--full] [--feature <name>] [--project] [--diagrams drawio] [--tour]
/investigation-coach:studymodel-invocable

Write study material explaining this project's patterns and technologies, the why rather than the how-to, into docs/study/. Use when the user explicitly asks ("/study", "help me study this codebase", "explain the patterns here"), or when onboard --tour or /ai-coach:start --run chains it; never proactively, it reads a lot of code and writes files.

[<area>] [--full] [--project]
investigation-coach:scout

Read-only repo sweep in an isolated context - an evidence-cited brief, max 500 words, every claim file:line or INFERRED, never file dumps. Use for /onboard, /map and /study sweeps, and any survey where the caller needs conclusions without paying for the reading.

ReadGrepGlobBash