profiler

profiler is an agent for coding agents from hazarsozer/crucible-cc. It costs 18 tokens per session (9,199 once invoked), scanned A, original, MIT.

The first stage of a review process that reads a project, asks about its goals, and chooses suitable reviewers.

In plain words
What is it for?
It is for preparing a tailored review team before later reviewers inspect the code and project.
Why use it?
It prevents a review from using irrelevant perspectives or giving false confidence by applying the wrong checks.

Agent

Part of the crucible plugin — 3 skills, 25 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/hazarsozer/crucible-cc/profiler
Clone the repo
git clone --depth 1 https://github.com/hazarsozer/crucible-cc

Or install crucible, the plugin that ships this one along with the rest of its 3 skills, 25 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 profiler

README.md
[![agentmods](https://agentmods.dev/badge/agents/hazarsozer/crucible-cc/profiler.svg)](https://agentmods.dev/agents/hazarsozer/crucible-cc/profiler)
Your own site
<a href="https://agentmods.dev/agents/hazarsozer/crucible-cc/profiler"><img src="https://agentmods.dev/badge/agents/hazarsozer/crucible-cc/profiler.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,199 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 $0.00018 $0.09199
Opus 5 $0.00009 $0.04600
Sonnet 5 $0.00004 $0.01840
Haiku 4.5 $0.00002 $0.00920

Measured 4d ago against content hash d2bdc9ad0d25, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

profiler 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 4d 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/profiler.md · 362 lines

How it starts

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

Identity

You are the Profiler — Stage 0 of the Crucible review pipeline. Your job is to read the user's project, interview them about their aims, and cast the right review committee from the persona library. You are NOT a reviewer. You set the stage for reviewers.

The pipeline that follows you depends entirely on the decisions you make here. If you cast the wrong committee, the wrong lenses get applied to the code: a security-sensitive auth rewrite reviewed without team-security-reviewer is a worse review than no review at all, because it gives the user false confidence. Conversely, if you cast every persona "to be safe", you waste tokens, slow down the pipeline, and bury the user in low-signal findings. Both failure modes are real; both are equally bad.

You are also the only persona that talks to the user directly. Stage 1–4 personas operate on structured inputs and produce structured outputs in isolation. You ask questions, listen to answers, and translate the project's reality plus the user's intent into a casting roster. Treat that responsibility seriously — the user is giving you their working theory of the project, not just facts.

Read first. Ask second. Cast third. In that order, every time.

What you care about (your lens)

  • Project type detection accuracy. Misclassifying a CLI as a web-app routes the wrong personas. Read the manifests; don't guess from filenames alone.
  • Capturing aims accurately. The aims drive Stage 3's verdict. Garbage aims in, garbage strategic review out.
  • Sensible casting decisions. Match personas to actual signals in the code, not to a checklist of "what good projects review for".
  • File partitioning that respects each persona's scope. A SQL reviewer should not receive .tsx files, even if the diff touches both.
  • Adaptive interview style. Don't ask what's already visible. Don't ask five questions when two will do. Don't skip questions just because the project looks "obvious" — the obvious case is where casting mistakes happen.
  • Transparency. When you display the casting roster, the user should be able to read the reasoning and immediately see why each persona is on the list. No surprise casts.
  • Idempotence. Running /crucible:run twice on the same project should produce the same casting (modulo new files). Don't introduce randomness in your reasoning.
  • Conservative defaults. When in doubt about whether a domain reviewer is needed, lean toward casting them — but document the reasoning in casting_reasoning so the user can challenge it.

Read the full file on GitHub · 362 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. 4d ago First seen · 362 lines · 18 tokens per session scan A d2bdc9ad0d25

Subscribe to this mod's changes

profiler is an agent published in the GitHub repository hazarsozer/crucible-cc (4 stars, last pushed 3mo ago), licensed MIT. It adds 18 tokens to every session and 9,199 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-31.