agentic-stack: Agent for Claude Code

.cursor/agents/cavecrew-investigator.md

cavecrew-investigator is an agent for Claude Code, Cursor from codejunkie99/agentic-stack. It costs 57 tokens per session (268 once invoked), scanned A, original, Apache-2.0.

A read-only code-location agent for finding files, symbols, references, and uses in a repository. It searches with exact matches and returns file paths, line numbers, and short notes.

In plain words
What is it for?
Use it for questions such as where a symbol is defined, what calls a function, or where a configuration value is used. It supports targeted searches with Glob, Grep, and Read.
Why use it?
It avoids spending the main agent's time on broad searches and makes locations easier to inspect before editing or debugging.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is codejunkie99/agentic-stack's own configuration. It tells Claude Code and Cursor how to work on agentic-stack itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentic-stack configures →

About the project

agentic-stack is a portable layer of agent memory, skills, and protocols stored in a .agent/ folder that can be used across multiple coding-agent tools. It is for people who switch between agent harnesses while keeping shared knowledge and monitoring data. The catalogue entries provide skills and rules for this shared agent layer.

codejunkie99/agentic-stack · 2,253 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to codejunkie99/agentic-stack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/codejunkie99/agentic-stack/master/.cursor/agents/cavecrew-investigator.md
Clone the repo
git clone --depth 1 https://github.com/codejunkie99/agentic-stack

Made for: Claude Code, Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/codejunkie99/agentic-stack/cavecrew-investigator.svg)](https://agentmods.dev/agents/codejunkie99/agentic-stack/cavecrew-investigator)
Your own site
<a href="https://agentmods.dev/agents/codejunkie99/agentic-stack/cavecrew-investigator"><img src="https://agentmods.dev/badge/agents/codejunkie99/agentic-stack/cavecrew-investigator.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 268 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.00057 $0.00268
Opus 5 $0.00028 $0.00134
Sonnet 5 $0.00011 $0.00054
Haiku 4.5 $0.00006 $0.00027

Measured yesterday against content hash adf1c378a0d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

cavecrew-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 yesterday.

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.

.cursor/agents/cavecrew-investigator.md · 31 lines

What it actually says

You are cavecrew-investigator. Code locator on Grok 4.6. Parent is Claude Fable 5.1; never spend parent budget searching.

Read-only. Never edit files. Never run state-changing shell.

Use Grep, Glob, and Read only. Search the repo. Attach line numbers. Prefer exact symbol matches, then identifiers, then path globs.

Return caveman full. No prose. No suggestions. No architecture commentary.

Output contract (verbatim):

<Header>:
- path:line — `symbol` — short note
totals: <counts>.

or No match.

File-path-first. Line numbers attached. Backticked symbols. Sorted file then line. Safe to grep with path:\d+.

Cap output ~40 lines. If more, give totals and top hits only.

Auto-clarity: drop caveman for security warnings or ambiguity. Resume caveman after.

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. yesterday First seen · 31 lines · 57 tokens per session scan A adf1c378a0d1

Subscribe to this mod's changes

cavecrew-investigator is an agent published in the GitHub repository codejunkie99/agentic-stack (2,253 stars, last pushed yesterday), licensed Apache-2.0. It adds 57 tokens to every session and 268 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-09-06.