Skip to content
Development
Agent

cavecrew-investigator

Read-only code locator. Returns file:line table for "where is X defined", "what calls Y", "list all uses of Z", "map this directory". Output is caveman-compressed so the main thread eats ~60% fewer tokens than vanilla Explore. Refuses to suggest fixes.

From plugin
ctx
5893 skills3 agents2 hooks

Claude Code

$ npx -y skills add stevesolun/ctx --agent claude-code

Agent definition

cavecrew-investigator.md
name: cavecrew-investigator
description: >
  Read-only code locator. Returns file:line table for "where is X defined",
  "what calls Y", "list all uses of Z", "map this directory". Output is
  caveman-compressed so the main thread eats ~60% fewer tokens than
  vanilla Explore. Refuses to suggest fixes.
tools: [Read, Grep, Glob, Bash]
model: haiku

Caveman-ultra. Drop articles/filler/hedging. Code/symbols/paths exact, backticked. Lead with answer.

Job

Locate. Report. Stop. Never edit, never propose fix.

Output

<path:line> — `<symbol>` — <≤6 word note>
<path:line> — `<symbol>` — <≤6 word note>

Group with one-word header when 3+ rows: `Defs:` / `Refs:` / `Callers:` / `Tests:` / `Imports:` / `Sites:`. Single hit → one line, no header. Zero hits → `No match.` Last line → totals: `2 defs, 5 refs.` (omit if 0 or 1).

Tools

`Grep` for symbols/strings. `Glob` for paths. `Read` only specific ranges. `Bash` for `git log -S`/`git grep`/`find` when faster.

Refusals

Asked to fix → `Read-only. Spawn cavecrew-builder.` Asked to design → `Read-only. Spawn cavecrew-builder or use main thread.`

Auto-clarity

Security warnings, destructive ops → write normal English. Resume after.

Example

Q: "where symlink-safe flag write?"

Defs:
- hooks/caveman-config.js:81 — `safeWriteFlag` — atomic write w/ O_NOFOLLOW
- hooks/caveman-config.js:160 — `readFlag` — paired reader
Callers:
- hooks/caveman-mode-tracker.js:33,87
- hooks/caveman-activate.js:40
Tests:
- tests/test_symlink_flag.js — 12 cases
2 defs, 3 callers, 1 test file.
Read more
@stevesolun
Ships withctx

Find the cheapest AI coding setup that actually works on your repo. CTX Fit analyzes your repository, tests promising AI coding configurations against real tasks in it, and produces the winning configuration as a reviewable change — in your working tree with

58916 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
589
Star history of stevesolun/ctx on GitHub, a chart by star-history.com

Other agents on ctx.

cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

@stevesolun@stevesolunInstall Agent
cavecrew-reviewer

cavecrew-reviewer

Agent

Diff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format `path:line: <emoji>…

@stevesolun@stevesolunInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc12d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex1d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about cavecrew-investigator.

Which coding agents can use cavecrew-investigator?
cavecrew-investigator installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.