ワンクリックで
kmg-capture-router
Route capture-that / remember-that requests to the correct destination via auto-detection
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Route capture-that / remember-that requests to the correct destination via auto-detection
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Provide orientation to the Knowledge Graph system architecture and guidance for knowledge capture
Enforce zero-deviation plan execution when user invokes plan implementation
Auto-surface ADR creation when user makes architectural decisions or chooses between technical approaches
Auto-invoke knowledge graph search when user asks about project history, past decisions, or previously solved problems
Ensure the knowledge graph is consulted before any recommendation is made
Intercept explicit doc-update requests and route to the correct command
| name | kmg-capture-router |
| description | Route capture-that / remember-that requests to the correct destination via auto-detection |
Purpose: Route "capture that" / "remember that" requests to the correct destination (memory, lesson, or ADR) via auto-detection and single confirmation prompt. Provides visibility into where content lands and allows user correction before write.
kmg-lesson-capture skillkmg-adr-guide skillkmg-doc-update-router skillkmg-rules-capture skillScan the preceding conversation to determine what "that" refers to. The referent is typically:
If referent is ambiguous: Ask one clarifying question:
What do you mean by "that"? Did you mean:
- [recent statement A]
- [recent statement B]
- Something else?
Apply detection logic in this order:
| Signal | → Type | Subtype | Location Signal |
|---|---|---|---|
| Correction, preference, "don't do X", "always/never", behavior rule | Rule/Me | Route to rules-capture-agent with source_quote and session_context; do not write FEEDBACK file | |
| Ongoing work, deadline, stakeholder, in-progress state, task | Project (memory) | Project | Always project-level |
| External system pointer, URL, tool name + location, reference | Reference (memory) | Reference | Always project-level |
| Bug solved, pattern learned, "next time", "I learned", insight | Lesson | N/A | Dispatch to /kmgraph:kmg-capture-lesson |
| Trade-off, "we decided", "because of", architecture choice, rationale | ADR | N/A | Dispatch to /kmgraph:kmg-create-adr |
Location detection (memory types only):
Display the inference with one-sentence summary:
Capturing as: [Type] ([subtype], [location])
"[One-sentence summary of what's being captured]"
Does that sound right, or should this go somewhere else?
Examples:
Capturing as: Feedback (project-level)
"Don't commit environment-specific config files to this repo."
Does that sound right, or should this go somewhere else?
Capturing as: Lesson
"Always invalidate cache on write in multi-state systems."
Does that sound right, or should this go somewhere else?
Happy path — User confirms (yes / correct / sounds good / etc.):
Override path — User corrects with natural language (no further questions required):
Ambiguous referent — Ask one clarifying question only:
| Type | Destination | Action |
|---|---|---|
| Feedback (project) | ~/.claude/projects/{project}/memory/ | Write FEEDBACK-project-{id}.md or append to feedback file |
| Feedback (user) | ~/.claude/memory/ | Write FEEDBACK-{id}.md or append to feedback file |
| Project (project) | ~/.claude/projects/{project}/memory/ | Write PROJECT-{id}.md or append to project memory file |
| Reference (project) | ~/.claude/projects/{project}/memory/ | Write REFERENCE-{id}.md or append to reference file |
| Lesson | Dispatch to /kmgraph:kmg-capture-lesson | Command handles full capture workflow |
| ADR | Dispatch to /kmgraph:kmg-create-adr | Command handles full ADR workflow |
This skill does NOT conflict with:
lesson-capture — fires on solved bugs/patterns; capture-router fires on explicit "capture that"adr-guide — fires on decision context; capture-router fires on "capture that"doc-update-router — fires on "update docs"; capture-router fires on "capture/remember/save that"Each has distinct trigger vocabulary. If user says "capture that lesson" → capture-router fires, detects it's a lesson, dispatches to /kmgraph:kmg-capture-lesson.