Agent skill
investigation
Deep-dive investigation with documentation output.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/investigation
SKILL.md
Investigation
Conducts deep-dive investigations on specific topics and produces detailed documentation.
Requirements
- Active session must exist (session path in working memory)
- If no active session: STOP and ask user for session path
Execution
Session path: [SESSION_PATH from working memory] Topic: $ARGUMENTS
Steps
-
Investigate thoroughly:
- Check project docs folder for related documents (if exists)
- Explore the codebase to understand the topic
- Identify key files, patterns, dependencies
- Note potential issues or concerns
-
Create documentation:
- File:
[SESSION_PATH]/[TIMESTAMP_FILE]-dive-[topic-slug].md
Structure:
markdown# Deep Dive: [topic] Date: [TIMESTAMP_LOG] ## Summary [Brief overview of findings] ## Key Findings [Bullet points] ## Code Structure [Relevant files with brief explanations] ## Dependencies & Relationships [How components interact] ## Considerations [Issues, edge cases, concerns] ## Recommendations [Suggested next steps] - File:
-
Update session:
- Edit
[SESSION_PATH]/_overview.md:- Add to Flow Log:
- [TIMESTAMP_ITERATION] Deep dive: [topic] -> [filename].md - Add to Files:
- [filename].md - Deep dive: [topic]
- Add to Flow Log:
- Commit (if git repo):
cd [SESSION_DIR] && git add . && git commit -m "Deep dive: [topic]"
- Edit
-
Report back: Provide concise summary of key findings with filename
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?