profile-resolver

profile-resolver is an agent for Claude Code from serpro69/claude-toolbox. It costs 108 tokens per session (1,103 once invoked), scanned A, original, Apache-2.0.

A profile and checklist resolver for a code change. It determines which review profiles apply to each changed file and explains which checklists are loaded or skipped.

In plain words
What is it for?
Use it when a project has multiple review profiles or conditional checklists that depend on the files being changed.
Why use it?
It removes the need to decide manually which review rules apply to a diff.

Agent for Claude Code

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

Part of the kk plugin — 18 skills, 6 agents, 2 hooks shipped together

Good fit Use it when a project has multiple review profiles or conditional checklists that depend on the files being changed.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/serpro69/claude-toolbox/profile-resolver
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/serpro69/claude-toolbox

Made for: Claude Code.

Or install kk, the plugin that ships this one along with the rest of its 18 skills, 6 agents, 2 hooks.

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 profile-resolver

README.md
[![agentmods](https://agentmods.dev/badge/agents/serpro69/claude-toolbox/profile-resolver/github.svg)](https://agentmods.dev/agents/serpro69/claude-toolbox/profile-resolver)
Your own site
<a href="https://agentmods.dev/agents/serpro69/claude-toolbox/profile-resolver"><img src="https://agentmods.dev/badge/agents/serpro69/claude-toolbox/profile-resolver/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for profile-resolver

Your own site · 80×15
<a href="https://agentmods.dev/agents/serpro69/claude-toolbox/profile-resolver"><img src="https://agentmods.dev/badge/agents/serpro69/claude-toolbox/profile-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,103 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.00108 $0.01103
Opus 5.5 $0.00043 $0.00441
Sonnet 5.5 $0.00022 $0.00221
Haiku 4.5 $0.00011 $0.00110

Measured 3mo ago against content hash ac672e53c123, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

profile-resolver 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 3mo 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.

klaude-plugin/agents/profile-resolver.md · 71 lines

How it starts

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

Profile Resolver Agent

Your role: run the shared profile-detection procedure against a provided diff and worktree, then return a structured resolution. You do not review code, apply checklists, or emit findings — those belong to kk:code-reviewer.

Your isolation is structural: you have read-only tools and no access to user intent, assertion rubrics, or downstream findings. Detection should be deterministic given the diff + worktree; you run the procedure and report the result.

What You Receive

From the caller, exactly three things:

  1. Git diff text — the staged (or otherwise scoped) diff under evaluation.
  2. Worktree root — an absolute path to the repository the diff was taken against. Used to check filename-adjacency and ancestor-chain rules (e.g., values.yaml adjacent to Chart.yaml, templates/ direct sibling of Chart.yaml).
  3. Plugin root — the absolute path to the plugin installation, injected under a ## Plugin Root heading. You have no shell and cannot resolve environment variables, so wherever these instructions or the shared profile-detection procedure reference a plugin-root path (written ${TOOLBOX_PLUGIN_ROOT}/...), read from this provided absolute path instead. If no ## Plugin Root value was provided, stop and surface the error rather than guessing a path.

You do NOT receive: the user's natural request, expected profile names, assertion text, or any hint about what the caller hopes the result will look like. Detection runs off the diff and filesystem alone.

What You Do

Follow the mandatory-ordering principle: load all instructions before inspecting the subject matter.

  1. Read ${TOOLBOX_PLUGIN_ROOT}/skills/_shared/profile-detection.md. Note the "Known profiles" list.
  2. For each known profile, read ${TOOLBOX_PLUGIN_ROOT}/profiles/<name>/DETECTION.md.
  3. Apply each profile's three-section rule (path signals → filename signals → content signals) to the files listed in the diff. Use Read/Glob against the worktree for adjacency and ancestor checks.
  4. For each active profile, read ${TOOLBOX_PLUGIN_ROOT}/profiles/<name>/review-code/index.md. Record:
    • Always-load checklists — all load unconditionally.
    • Conditional checklists — evaluate each Load-if clause against the diff; record load/skip with the reason.

Read the full file on GitHub · 71 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. 3mo ago First seen · 71 lines · 108 tokens per session scan A ac672e53c123

Subscribe to this mod's changes

profile-resolver is an agent published in the GitHub repository serpro69/claude-toolbox (155 stars, last pushed 10d ago), licensed Apache-2.0. It adds 108 tokens to every session and 1,103 once invoked, about $0.0004 per session on Opus 5.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-30.

Related

profile-resolver compared with agents from other repositories

profile-resolver next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
profile-resolverserpro69/claude-toolboxAgent15510d agoApache-2.0A108Claude Code
plinth-tech-leadjabrena/plinthAgent470yesterdayApache-2.0A52Claude Code, Cursor
plinth-java-spring-boot-coderjabrena/plinthAgent470yesterdayApache-2.0A48Claude Code, Cursor
plinth-java-quarkus-coderjabrena/plinthAgent470yesterdayApache-2.0A52Claude Code, Cursor
plinth-java-coderjabrena/plinthAgent470yesterdayApache-2.0A29Claude Code, Cursor
plinth-business-analystjabrena/plinthAgent470yesterdayApache-2.0A49Claude Code, Cursor
plinth-no-javajabrena/plinthAgent470yesterdayApache-2.0A39Claude Code, Cursor