About investigate
investigate is a codebase research skill for answering implementation questions. It guides an agent to find relevant code, understand context, and return a concise response with references.
Key features
- 01Search code for relevant files and patterns
- 02Read implementation details
- 03Gather context with tools
- 04Answer with file and line references
- 05Format output for Linear markdown
Use cases
- 01Trace where a behavior is implemented
- 02Answer questions about code patterns
- 03Summarize findings with source references
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ cyrusagents/ cyrus --skill investigateAfter installing, type/investigatein Claude Code to confirm it loaded.
Details
From the project READMEInvestigate
Research the codebase and provide a clear, direct answer to the question.
Approach
- Search — Search the codebase for relevant files, functions, and patterns
- Read — Read necessary files to understand the implementation
- Gather context — Use tools as needed to collect comprehensive information
- Answer — Provide a clear, direct answer using your findings
Answer Format
- Present in Linear-compatible markdown
- Use
+++Section Name\n...\n+++for collapsible sections with detailed information - Include code references with file paths and line numbers
- For @mentions, use the Linear profile URL format from
<assignee>context (e.g.https://linear.app/<workspace>/profiles/<username>) - Be complete but concise — answer the question directly without unnecessary preamble
Comments
Markdown supported