From emdx
Deep-dive investigation into a topic — searches the KB, reads source code, identifies knowledge gaps, and produces a comprehensive analysis document saved to the KB with follow-up tasks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/emdx:investigateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Conduct a thorough investigation of: **$ARGUMENTS**
Conduct a thorough investigation of: $ARGUMENTS
Search the KB multiple ways to find everything that already exists on this topic.
Keyword search:
emdx find "$ARGUMENTS" -s
Semantic search (catches conceptual matches that keyword search misses):
emdx find "$ARGUMENTS" --mode semantic
Tag-based search for related analysis and active work:
emdx find --tags "analysis" -s
emdx find --tags "active" -s
Recent documents (may contain ongoing work on this topic):
emdx find --recent 10 -s
Read any relevant documents found:
emdx view <id>
Important: emdx find does NOT support OR/AND/NOT operators. Run separate find commands for each angle of the topic. Break compound topics into individual searches.
Go beyond the KB and examine the actual codebase. Use Grep, Glob, and Read tools to find code related to the topic.
git log --oneline --all -- <relevant-paths> | head -20Focus on understanding:
Compare what the KB knows against what the codebase reveals. Identify:
Write a comprehensive analysis document with these sections:
# Investigation: <topic>
## Prior Knowledge
What the KB already contains on this topic. Reference specific document IDs.
Note any contradictions or outdated information found.
## Codebase Analysis
What the source code reveals. Include specific file paths, function names,
and code patterns. Explain the current state of implementation.
## Gaps Identified
What's missing from the KB. Rank by importance:
- Critical gaps (would cause someone to make a wrong decision)
- Important gaps (would slow someone down significantly)
- Minor gaps (nice-to-have documentation)
## Recommendations
Concrete next steps:
- Documents that should be created or updated
- Code changes worth considering
- Further investigations needed
- Tasks to create for follow-up work
Save the analysis document:
echo "<analysis document>" | emdx save --title "Investigation: $ARGUMENTS" --tags "analysis,active"
For each actionable recommendation, create a task:
emdx task add "Title describing the work" -D "Details from the investigation" --cat FEAT
Use appropriate categories:
FEAT for new features or capabilitiesFIX for bugs or issues discoveredARCH for refactoring or structural changesDOCS for documentation gapsTEST for missing test coverageIf there's an active epic related to the topic, add --epic <id>.
#42) and file paths (emdx/database/search.py:L45) throughoutnpx claudepluginhub arockwell/emdx --plugin emdxConducts deep-dive investigations on topics by exploring codebase and docs, then outputs structured documentation into session files.
Explores codebase topics by searching prior knowledge and conducting multi-angle analysis, outputting structured findings. Supports /research command and optional auto mode.
Spawns parallel sub-agents to research codebase areas and synthesizes findings into a document. Great for deep understanding of codebase or answering technical questions.