一键导入
kmg-auto-recall
Auto-invoke knowledge graph search when user asks about project history, past decisions, or previously solved problems
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Auto-invoke knowledge graph search when user asks about project history, past decisions, or previously solved problems
用 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
Ensure the knowledge graph is consulted before any recommendation is made
Route capture-that / remember-that requests to the correct destination via auto-detection
Intercept explicit doc-update requests and route to the correct command
| name | kmg-auto-recall |
| description | Auto-invoke knowledge graph search when user asks about project history, past decisions, or previously solved problems |
Purpose: Auto-invoke knowledge graph search when user asks about project history, past decisions, or previously solved problems.
Trigger Keywords:
Note on planning contexts: In brainstorming and planning workflows, recall is
enforced via HARD BLOCK injection in pre-skill-rules-inject.sh — not via these
trigger keywords. This skill handles reactive ("have we?") recall only.
Behavior: When triggered:
kmgraph:kmg-recall command via the Skill tool with the extracted query
gov-capture-routing (level/scope detection) → recall-agent (search)gov-capture-routing is Claude Code-only. On non-Claude platforms or if unavailable: dispatch directly to recall-agent with --scope=active as fallback (UQ-8)Priority enforcement: Recall results take priority — the model must reason about findings before recommending:
Example Trigger:
User: "Have we solved database migration issues before?
I'm seeing timeout errors on large tables."
Assistant Response: "Let me check what we've documented about this before answering..." → [Invoke kmgraph:kmg-recall via Skill tool with query: "database migration timeout errors"] → [Command routes through gov-capture-routing → recall-agent] → [Surface relevant lessons/decisions, including related patterns]