kuma_context
Call first each session to gather context and recall memory. Use init, research, history, map, and reuse actions to understand code and avoid duplication.
Instructions
Context & memory recall. Call FIRST each session. Lean — each call returns only what you need.
CORE ACTIONS (use these): init (start of session: project brief + session state), research (before editing unfamiliar code), history (why is this file written this way), flow (read a recorded architecture flow), map (repository topology), impact (blast radius analysis), cluster (concept-level subsystem nodes), skeleton (compressed AST outline omitting bodies), reuse (discover existing helpers before writing duplicate code).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Current goal (for init) | |
| scope | No | Research scope or target for impact/skeleton/reuse | |
| action | Yes | init=project brief + session restore, research=research pipeline, history=file rationale + fresh gotchas, flow=read recorded domain flow, map=repo topology, impact=blast radius, cluster=concept subsystem architecture, skeleton=compressed AST outline, reuse=discover existing helpers | |
| target | No | Target symbol/file for history/flow/impact/skeleton/reuse |