Help us improve
Share bugs, ideas, or general feedback.
From odin
Auto-routes context-gathering tasks to codebase exploration or external research workflows. Use for pre-implementation background.
npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odinHow this skill is triggered — by the user, by Claude, or both
Slash command
/odin:contextsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Auto-router for pre-implementation context gathering. Classify the input as codebase-oriented, doc-oriented, or both; invoke the appropriate workflow; emit a `detected:` acknowledgement as the first output line.
Auto-detects whether a user is in development (code) or knowledge (research/strategy) context by analyzing prompt terms and project structure. Replaces manual mode toggling.
Launches isolated agent to fetch code context for repos/libraries via DeepWiki, Context7, Exa, git clone. Invoke /get-context [repo-url] [--method=all]; auto-detects local deps.
Loads task-specific context for bugs, features, reviews, chores, or research via git discovery, file listings, and targeted reads to prime focused development work.
Share bugs, ideas, or general feedback.
Auto-router for pre-implementation context gathering. Classify the input as codebase-oriented, doc-oriented, or both; invoke the appropriate workflow; emit a detected: acknowledgement as the first output line.
Apply:
NOT apply:
First output line before ANY work:
detected: <mode> — scope=<paths|libs|both> sources=<brief summary>
Mode values: code-ref, doc-ref, both, ambiguous.
For both mode, also append: (sequential dispatch: codebase first, then external)
First-match wins. Check in order: both must come before leaf modes so mixed-signal inputs are reachable.
| Priority | Mode | Minimum condition |
|---|---|---|
| 1 | both | Repo-local signal (path, glob, symbol, or module) AND external signal (library, framework, SDK, API, CLI, or service name) both present and non-trivial |
| 2 | code-ref | Repo-local signal present; no external signal |
| 3 | doc-ref | External signal present; no repo-local signal |
| 4 | ambiguous | Neither signal cleanly detected, OR signals present but neither dominant |
Worked examples:
"How does our /autoresearch skill use LangGraph's interrupt for HITL pauses?" → repo signal + external signal → both"Refactor claude/skills/contexts/SKILL.md" → repo signal only → code-ref"Latest Pydantic v2 model_validator signature" → external signal only → doc-ref"Give me context on routing" → no concrete signal → ambiguous → gate firesFire AskUserQuestion (single-select, NEVER multiSelect) when classifier returns ambiguous OR when both signals are present but one is dominant and the mode is unclear:
code-ref, doc-ref, both(Recommended) on the closest classifier matchcode-ref: Invoke codebase exploration workflow. Emit 8-section output (Task Understanding, Architecture Context, Pattern Context, Tooling Context, Dependency Map, Critical Files Summary, Constraints & Considerations, Recommended Next Steps).
doc-ref: Invoke external research workflow. Walk the 5-tier source ladder (Official docs → API refs → Books/papers → Tutorials → Community). Emit source-cited claims with confidence labels.
both (sequential):
Note: sequential dispatch roughly doubles wall-clock time versus a single mode. Emit (sequential dispatch: codebase first, then external) in the detected: line so the user can anticipate latency.
detected: acknowledgement line — it is LOAD-BEARING; downstream parsers and users depend on itcode-ref or doc-ref before both in the classifier — both becomes unreachable under first-match-winsAskUserQuestion with multiSelect: true — always single-select per axis/contexts code-ref, /contexts doc-ref, or /contexts both bypasses the classifier entirely and dispatches directly to that mode