investigate · cyrusagents — Claude Code skill: what it does, how to install
Researches your repository files and functions, gathers context, and writes answers in Linear Markdown format. Helps when triaging tasks.
npx skills add cyrusagents/cyrus --skill investigate -a claude-codeWhat investigate does
The skill executes a four-step investigation workflow: search for relevant files and patterns, read the implementation, collect context with tools, and provide an answer. It skips unnecessary preambles.
Responses follow Linear-compatible markdown standards. Detailed technical sections live inside collapsible blocks written as +++Section Name\n...\n+++. It also attaches file paths and exact line numbers to all code references.
Because the output format targets Linear issues, collapsible +++ tags will look broken in standard markdown viewers.
What it helps with
- locate relevant functions and patterns across codebase files
- generate Linear-ready research notes with file paths and line numbers
- fold verbose implementation details into collapsible markdown blocks
Example prompts for the agent
- Investigate how the payment webhook handler works and format the findings for Linear
- Find where user roles are verified and cite file paths with line numbers
- Research the caching layer implementation and summarize it with collapsible sections
How to install investigate
1Skills CLI (Vercel)
npx skills add cyrusagents/cyrus --skill investigate -a claude-code2Manually: put the files in place
~/.claude/skills/investigate/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/investigate/
1Skills CLI (Vercel)
npx skills add cyrusagents/cyrus --skill investigate -a codex2Manually: put the files in place
.agents/skills/investigate/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cyrusagents/cyrus --skill investigate -a cursor2Manually: put the files in place
.cursor/skills/investigate/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cyrusagents/cyrus investigate2Manually: put the files in place
.github/skills/investigate/SKILL.md1Skills CLI (Vercel)
npx skills add cyrusagents/cyrus --skill investigate -a gemini-cli2Platform CLI
gemini skills install https://github.com/cyrusagents/cyrus --path skills/investigateManually: put the files in place
.devin/skills/investigate/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cyrusagents/cyrus --skill investigate -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about investigate
How do I install investigate in Claude Code?
Run npx skills add cyrusagents/cyrus --skill investigate -a claude-code in your terminal.
What does the investigate skill do?
It searches your codebase for functions and files, reads their implementations, and outputs a concise answer with code references.
What output format does investigate produce?
The skill writes Linear-compatible markdown with collapsible sections formatted as +++Section Name\n...\n+++ and exact file line citations.
Source text
SKILL.md · Apache-2.0
--- name: investigate description: Research the codebase to answer questions. Search for relevant files, gather context, and provide clear answers. --- # Investigate Research the codebase and provide a clear, direct answer to the question. ## Approach 1. **Search** — Search the codebase for relevant files, functions, and patterns 2. **Read** — Read necessary files to understand the implementation 3. **Gather context** — Use tools as needed to collect comprehensive information 4. **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
© cyrusagents · Apache-2.0 · cyrusagents/cyrus
Similar skills
All skills for Agent setup: memory, context, orchestration →investigate by other authors comes first.