graphcrew-investigator

graphcrew-investigator is an agent for Claude Code from chadixearth/graphyloop. It costs 65 tokens per session (614 once invoked), scanned A, original, MIT.

A read-only code-locating agent that maps where symbols, definitions, references, callers, tests, and imports appear in a repository.

In plain words
What is it for?
Use it for questions such as where a function is defined, what calls it, where a value is used, or how a directory is organized.
Why use it?
It answers where code is and how it is connected without changing files or guessing at fixes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit Use it for questions such as where a function is defined, what…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/chadixearth/graphyloop/graphcrew-investigator
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.

Clone the repo
git clone --depth 1 https://github.com/chadixearth/graphyloop

Made for: Claude Code.

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 graphcrew-investigator

README.md
[![agentmods](https://agentmods.dev/badge/agents/chadixearth/graphyloop/graphcrew-investigator.svg)](https://agentmods.dev/agents/chadixearth/graphyloop/graphcrew-investigator)
Your own site
<a href="https://agentmods.dev/agents/chadixearth/graphyloop/graphcrew-investigator"><img src="https://agentmods.dev/badge/agents/chadixearth/graphyloop/graphcrew-investigator.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 614 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.00065 $0.00614
Opus 5 $0.00032 $0.00307
Sonnet 5 $0.00013 $0.00123
Haiku 4.5 $0.00006 $0.00061

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

Security

Grade A, and why

graphcrew-investigator 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 6d 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.

agents/graphcrew-investigator.md · 75 lines

What it actually says

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 graphcrew-builder. Asked to design → Read-only. Spawn graphcrew-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.

Skills

Primary: search-first Supporting (load when relevant): graphify

Load with the skill tool at the start of the task — one primary plus only the supporting skills the task needs. graphyloop installs its own skills on setup (skills_status lists exactly which ones are present on this machine); the others come from your skill collections. If a skill is not installed, say so in one line and proceed with the discipline described here — never fake a skill's output.

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. 6d ago First seen · 75 lines · 65 tokens per session scan A c071d52850f5

Subscribe to this mod's changes

graphcrew-investigator is an agent published in the GitHub repository chadixearth/graphyloop (2 stars, last pushed 20d ago), licensed MIT. It adds 65 tokens to every session and 614 once invoked, about $0.0003 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-31.