investigate

investigate is a skill for Claude Code from bjornjee/agent-dashboard. It costs 20 tokens per session (625 once invoked), scanned A, original, MIT.

A read-only workflow for investigating a question, failure, or design concern in a codebase. It traces relevant code, tests, history, dependencies, and configuration without editing files.

In plain words
What is it for?
Use it to research code paths, review test coverage, inspect dependency and configuration choices, and gather architectural context.
Why use it?
It helps explain how a system behaves or why it may fail before anyone changes the implementation.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the agent-dashboard plugin — 8 skills, 5 agents, 10 hooks shipped together

Good fit Use it to research code paths, review test coverage, inspect dependency and configuration choices, and gather architectural context.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bjornjee/agent-dashboard/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 bjornjee/agent-dashboard --skill investigate
Clone the repo
git clone --depth 1 https://github.com/bjornjee/agent-dashboard

Made for: Claude Code.

Or install agent-dashboard, the plugin that ships this one along with the rest of its 8 skills, 5 agents, 10 hooks.

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/bjornjee/agent-dashboard/investigate.svg)](https://agentmods.dev/skills/bjornjee/agent-dashboard/investigate)
Your own site
<a href="https://agentmods.dev/skills/bjornjee/agent-dashboard/investigate"><img src="https://agentmods.dev/badge/skills/bjornjee/agent-dashboard/investigate.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 625 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.
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.00020 $0.00625
Opus 5 $0.00010 $0.00313
Sonnet 5 $0.00004 $0.00125
Haiku 4.5 $0.00002 $0.00063

Measured 8d ago against content hash 09ae09689320, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 8d 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.

adapters/claude-code/skills/investigate/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Investigate a codebase question or concern. This is a read-only skill — do not modify any files.

Question or concern: $ARGUMENTS

Instructions

Follow these phases in order.


Phase 0: Sync

  1. Switch to main: git checkout main
  2. Pull latest: git pull origin main

Phase 1: Scope

  1. Parse the question or concern — is it about behavior, architecture, performance, a failure, a dependency, or something else?
  2. If the scope is ambiguous, ask the user to clarify before proceeding.
  3. Identify the likely entry points in the codebase (files, modules, services).

Gate: The investigation scope is clear and bounded.


Phase 2: Research

  1. Trace code paths — read the relevant source files, following the call chain from entry point to the area of interest.
  2. Read tests — understand what is tested and what is not. Look for edge cases and assumptions.
  3. Check git history — use git log --all -S "<term>" to find when relevant code was introduced or changed. Use git blame for context on specific lines.
  4. Check dependencies — if the question involves a library or framework, look up its documentation (use context7 if available).
  5. Check configuration — read config files, environment variables, and infrastructure definitions that affect behavior.

Explore broadly first, then narrow to the relevant areas. Take notes as you go.


Phase 3: Report

Present a structured report to the user:

  1. Findings — what you discovered, with file paths and line references.
  2. How it works — trace the relevant code path, explaining the flow.
  3. Risks — anything concerning: missing tests, edge cases, security issues, performance bottlenecks, implicit assumptions.
  4. Recommended next steps — concrete actions the user could take (e.g., "run /agent-dashboard:fix to address the null check at src/auth.py:42", "run /agent-dashboard:refactor to extract the retry logic into a shared utility").

Gate: The user has received a clear, actionable report. No files were modified.

Read the full file on GitHub · 68 lines

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. 8d ago First seen · 68 lines · 20 tokens per session scan A 09ae09689320

Subscribe to this mod's changes

investigate is a skill published in the GitHub repository bjornjee/agent-dashboard (21 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 625 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.