From lode
Query Lode's decision replay index for why a project chose a path, what alternatives were rejected, what should be revisited, what impact a decision had, or any natural-language question about project history. Use this skill for "/lode:query", "why did we choose this?", "为什么当时这么选", "有没有被拒绝过的方案", "revisit this decision", "auth 迁移做到哪了", "我们讨论过 rate limiting 吗", or when a coding agent needs cited decision evidence before changing architecture, contracts, prompts, schemas, or product direction.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lode:queryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill answers targeted project-history questions from Lode's local decision
This skill answers targeted project-history questions from Lode's local decision memory. It is a thin wrapper around the deterministic decision replay helper: the script narrows evidence, and the host agent writes the final answer.
Use query when the current task touches an existing decision, architecture
boundary, rejected option, long-running risk, or product tradeoff. Use recall
for session-start orientation; use query for a specific follow-up question.
{vault}/raw/decisions/{project-slug}.json is a derived retrieval index.| Mode | Use when the user asks |
|---|---|
why | why a path was chosen, why something works this way |
alternatives | what was rejected, abandoned, deferred, or not chosen |
revisit | what open questions or deferred choices should be reconsidered |
impact | what downstream effects a decision had |
free | anything that doesn't fit the other 4 modes — status checks, "did we discuss X?", "what's the history of Y?" |
When the user asks a natural-language question that doesn't clearly map to
why / alternatives / revisit / impact, use free mode. The agent
tries multiple modes sequentially and returns the first result with
answerable=true.
Fallback order: why → revisit → impact. Stop at the first
answerable=true result. Do not try alternatives in the fallback chain —
it answers a different question shape.
If all three modes return answerable=false, say the vault does not contain
enough evidence for this question. Suggest capturing the context with
/lode:capture if the user can clarify the decision.
Free-form queries still pass a concrete --mode to the helper on each
attempt. The agent handles the multi-mode orchestration; the helper script is
not modified.
python <this-skill>/scripts/decision_graph.py query "<question>" --cwd "$PWD" --mode why --limit 5
Use --mode alternatives, --mode revisit, --mode impact, or follow the
free-form fallback order when the question calls for it. If the user names a
project slug, pass --slug <slug>. If the user or config provides a vault
path, pass --vault <path>.
Return a concise answer with:
answerable=true.matched_terms, evidence_strength, and answerability_reason.source_entry_refs for every cited decision.confidence and inference_notes when a node is inferred.suggested_docs, if any.If answerable=false, say the current Lode records do not contain enough
evidence. Include missing_evidence and suggest capturing the decision with
/lode:capture after the user clarifies it. Do not invent an answer.
confidence=explicit as directly recorded raw-entry evidence.confidence=inferred as useful navigation, not a proven fact.evidence_strength=weak as a prompt to hedge or ask for more evidence
even when answerable=true.inference_notes are present.source_entry_refs.This skill reads:
{vault}/raw/decisions/{project-slug}.json when present{vault}/raw/weeks/{YYYY-WNN}/{project-slug}.json as rebuild fallback{vault}/raw/artifacts/{project-slug}.json as optional navigation metadataThis skill writes no files.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub kkenny0/lode --plugin lode