investigate

investigate is a skill for Claude Code, Codex from cyrusagents/cyrus. It costs 24 tokens per session (206 once invoked), scanned A, original, Apache-2.0.

A codebase investigation process for answering questions about a project. It searches files, reads relevant code, gathers context, and presents the findings with file references.

In plain words
What is it for?
Use it to locate relevant files and functions, understand code patterns, and write concise answers with paths and line numbers.
Why use it?
It turns a broad code question into evidence from the actual repository. This helps avoid guesses about where behavior is implemented or how the project works.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to locate relevant files and functions, understand code patterns, and write concise answers with paths and line numbers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyrusagents/cyrus/investigate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cyrusagents/cyrus --skill investigate
Clone the repo
git clone --depth 1 https://github.com/cyrusagents/cyrus

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for investigate

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyrusagents/cyrus/investigate/github.svg)](https://agentmods.dev/skills/cyrusagents/cyrus/investigate)
Your own site
<a href="https://agentmods.dev/skills/cyrusagents/cyrus/investigate"><img src="https://agentmods.dev/badge/skills/cyrusagents/cyrus/investigate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for investigate

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyrusagents/cyrus/investigate"><img src="https://agentmods.dev/badge/skills/cyrusagents/cyrus/investigate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 206 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 26 Apr 2026
  • Snyk pass 26 Apr 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00206
Opus 5 $0.00012 $0.00103
Sonnet 5 $0.00005 $0.00041
Haiku 4.5 $0.00002 $0.00021

Measured 9d ago against content hash 0d0838272ea3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

investigate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/investigate/SKILL.md · 24 lines

What it actually says

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
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 24 lines · 24 tokens per session scan A 0d0838272ea3

Subscribe to this mod's changes

investigate is a skill published in the GitHub repository cyrusagents/cyrus (798 stars, last pushed yesterday), licensed Apache-2.0. It adds 24 tokens to every session and 206 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

html-artifacts

Author the HTML for a plan artifact, dashboard iframe, or Slack attachment — structure, design plan, available runtime, theming, and craft. Read this before writing HTML for saveplan, outputiframe, or slackattachhtml.

langchain-ai/open-swe · 51 tokens

bootstrap-repo-analysis

First-time analysis of a repository with no prior reviewer outcomes. Crawl historical merged-PR review feedback with the gh CLI (plus any preloaded samples), extract the team's review norms, and synthesize the initial per-repo review-style prompt. Use this for a cold-start repo; use continual-learning instead once the…

langchain-ai/open-swe · 73 tokens

baby-sit

Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.

langchain-ai/open-swe · 30 tokens

continual-learning

Nightly refinement of an existing per-repo review-style prompt using this reviewer's own finding outcomes. Read confirmed (resolved-by-commit / thumbs-up) and dismissed (thumbs-down) findings, promote the bug patterns the team actually fixes, demote the false-positive patterns, reconcile against the current prompt…

langchain-ai/open-swe · 89 tokens

linearis

Manage Linear.app work from the command line with the linearis CLI (bins linearis / linear), which outputs JSON: issues/tickets, projects, cycles (sprints), milestones, initiatives (roadmap), documents, labels, teams, users, and issue discussions/comments. Use when the user mentions Linear, a ticket identifier like…

linearis-oss/linearis · 111 tokens

dotcraft-unity

Use when dotcraft-unity MCP, CLI, or unityexecutecsharp is available, or when the user asks to inspect, automate, capture, or debug Unity Editor state, scenes, assets, Console logs, or GameView output. Provides background-first Unity Editor automation through MCP or CLI.

DotHarness/dotcraft-unity · 64 tokens