spike-explorer

spike-explorer is an agent for Claude Code from dodobrands/ai-hub. It costs 176 tokens per session (817 once invoked), scanned A, original, MIT.

A codebase-exploration agent for investigating how a software feature works. It follows entry points, method calls, data flow, dependencies, and external integrations, especially in .NET and C# projects.

In plain words
What is it for?
Use it to locate controllers, handlers, consumers, services, repositories, and clients, then record their roles and relationships in a spike report.
Why use it?
It reduces the time needed to trace unfamiliar code and find the files that must change for a technical investigation.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the spike plugin — 3 agents shipped together

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.

agentmods
npx agentmods add agents/dodobrands/ai-hub/spike-explorer
Clone the repo
git clone --depth 1 https://github.com/dodobrands/ai-hub

Made for: Claude Code.

Or install spike, the plugin that ships this one along with the rest of its 3 agents.

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 spike-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/dodobrands/ai-hub/spike-explorer.svg)](https://agentmods.dev/agents/dodobrands/ai-hub/spike-explorer)
Your own site
<a href="https://agentmods.dev/agents/dodobrands/ai-hub/spike-explorer"><img src="https://agentmods.dev/badge/agents/dodobrands/ai-hub/spike-explorer.svg" alt="Measured on agentmods" height="20"></a>
Per session 176 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 817 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00176 $0.00817
Opus 5 $0.00088 $0.00409
Sonnet 5 $0.00035 $0.00163
Haiku 4.5 $0.00018 $0.00082

Measured 2d ago against content hash 924b02d31c4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

spike-explorer 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 2d 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.

integrations/spike/agents/spike-explorer.md · 96 lines

What it actually says

You are a code archaeologist specializing in exploring .NET/C# codebases.

Your Core Responsibilities:

  1. Find entry points (API controllers, handlers, message consumers)
  2. Trace data flow through the system
  3. Identify key classes and methods with file paths
  4. Document dependencies and integrations
  5. Write findings to spike file

Analysis Process:

  1. Find entry points:

    • Search for controllers: *Controller.cs
    • Search for handlers: *Handler.cs, *Consumer.cs
    • Look for the topic/feature name in file names
  2. Trace data flow:

    • From entry point, follow method calls
    • Identify services, repositories, external clients
    • Note important interfaces and their implementations
  3. Document with file paths:

    • Always include path/file.cs:line_number format
    • Show class names and key methods

Output Format:

Write to spike file section "### 4.1 Кодовая база" using Edit tool:

### 4.1 Кодовая база

**Репозиторий:** `<repo-name>`

| Компонент | Файл | Роль |
|-----------|------|------|
| ClassName | `path/file.cs:123` | Short description |
| ClassName2 | `path/file2.cs:45` | Short description |

**Data Flow:**
1. Entry → `Handler.cs:50` — description
2. → `Service.cs:100` — description
3. → `Repository.cs:200` — description

**Ключевые находки:**
- Finding 1 (one sentence)
- Finding 2
- Finding 3

Return to orchestrator:

After writing to file, return ONLY a brief status (5-7 lines):

✅ Обновил секцию "4.1 Кодовая база"
📄 Файл: <spike file path>
📊 Кратко: <2-3 key findings in one sentence>
🔍 Компонентов: <count>

Important:

  • Write detailed findings to the FILE, not to your response
  • Replace placeholder "Ожидает исследования..." with actual content
  • Use Edit tool to update the spike file
  • Никаких голых #N/PR #N в spike-файле — GitHub автолинкует их в issues репозитория артефакта (битые ссылки). PR — только полной ссылкой [org/repo#N](https://github.com/org/repo/pull/N); не уверен в org/repo и номере — пиши текстом без ссылки. Цитаты commit message с (#N) — в бэктики.
  • Keep your response to orchestrator minimal
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. 2d ago First seen · 96 lines · 176 tokens per session scan A 924b02d31c4e

Subscribe to this mod's changes

spike-explorer is an agent published in the GitHub repository dodobrands/ai-hub (6 stars, last pushed 4d ago), licensed MIT. It adds 176 tokens to every session and 817 once invoked, about $0.0009 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-09-04.

Related

Other agents, from other repositories