legal-risk-review

legal-risk-review is an agent for Claude Code from cbrock84/headcount. It costs 50 tokens per session (407 once invoked), scanned A, original, MIT.

A read-only reviewer for contract commitments, privacy and data handling, risk acceptance, and compliance findings.

In plain words
What is it for?
Use it to identify material legal or compliance risks, assess how personal or sensitive data is handled, and recommend whether a risk should be accepted or addressed.
Why use it?
It provides an independent check, so the team making a proposal does not also approve its own legal and risk exposure.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to identify material legal or compliance risks, assess how personal or sensitive data is handled, and recommend whether a risk should be accepted or addressed.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cbrock84/headcount/legal-risk-review
About the project

headcount is an organization of independently installable Claude Code plugins, each grouping skills for a department such as finance, security, or demand generation. Claude Code users install the departments they need and invoke their skills for specialized work; the catalogue entries are skills and related agent tooling from that organization.

cbrock84/headcount · 1,351 stars · on GitHub · cbrock84.github.io

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/cbrock84/headcount

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 legal-risk-review

README.md
[![agentmods](https://agentmods.dev/badge/agents/cbrock84/headcount/legal-risk-review/github.svg)](https://agentmods.dev/agents/cbrock84/headcount/legal-risk-review)
Your own site
<a href="https://agentmods.dev/agents/cbrock84/headcount/legal-risk-review"><img src="https://agentmods.dev/badge/agents/cbrock84/headcount/legal-risk-review/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 legal-risk-review

Your own site · 80×15
<a href="https://agentmods.dev/agents/cbrock84/headcount/legal-risk-review"><img src="https://agentmods.dev/badge/agents/cbrock84/headcount/legal-risk-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 407 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.00050 $0.00407
Opus 5 $0.00025 $0.00204
Sonnet 5 $0.00010 $0.00081
Haiku 4.5 $0.00005 $0.00041

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

Security

Grade A, and why

legal-risk-review 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 11d 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.

.claude/agents/legal-risk-review.md · 49 lines

What it actually says

Why this agent exists

A producer that audits its own output approves it. That is what the structure produces regardless of anyone's intent, so review has to sit outside the thing being reviewed.

Surface

None. This agent is permanently read-only, structurally rather than by promise — agent-guard check fails if this row declares a surface.

Findings are returned to the orchestrator. This agent never edits the work it reviews.

What it reviews

  • Commitments and obligations any department proposes taking on.
  • Handling of personal or sensitive data in any skill or workflow.
  • Risk above the acceptance threshold, and whether acceptance was recorded with a name against it.
  • Compliance findings, and whether a closed finding was actually addressed.

Standard

Load legal-risk:chief-legal-and-risk-officer for the remit. A finding names the exposure, its realistic impact, and a specific recommended position — not merely that an issue exists.

Distinguish material legal exposure from acceptable commercial risk. Treating every deviation as blocking trains people to route around review, which is the worst available outcome.

Independence

A department under review cannot close a finding from this agent. Disagreement escalates to the Chief Executive, where risk accepted is recorded as accepted with a name against it — never downgraded to fit an existing authority.

Return contract

  1. What was reviewed.
  2. Findings, each with exposure, impact, and recommended position.
  3. Which are blocking and which are not.
  4. What needs qualified counsel rather than this agent.
  5. What was checked and found clean.
  6. Open questions for the orchestrator.
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. 11d ago First seen · 49 lines · 50 tokens per session scan A 3d9075bf2ccd

Subscribe to this mod's changes

legal-risk-review is an agent published in the GitHub repository cbrock84/headcount (1,351 stars, last pushed 8d ago), licensed MIT. It adds 50 tokens to every session and 407 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-30.

Related

Other agents, from other repositories

architecture-discovery

Use when a product idea needs its technical decisions surfaced as questions before any of them are made — invoked by superb:craft once per session, after the idea is stated and before the first question round, for software projects whose stack is not yet decided. Returns candidate questions only; never chooses a stack…

kardebadas/claude-plugin · 68 tokens

security-analyst

Arcjet security analyst — monitors traffic, investigates threats, manages remote rules, and provides security recommendations using the Arcjet MCP server (with the Arcjet CLI for live request streaming).

arcjet/arcjet-plugin · 41 tokens

legal-policy

Legal, Compliance, and Policy Validator.

PlanVault/ai-engineering-playbook · 10 tokens

stakeholder-researcher

Research one stakeholder from the public record when no LinkedIn PDF is available, for a high-stakes meeting brief. Given a name, title, company, and optional email domain, returns raw findings on career history and public commentary plus disambiguation notes. Used by the job-interview-meeting-preparation skill on the…

enalbenerraw/blanewarrene · 88 tokens

the-data-storyteller

Use when translating metrics, data, or analytical findings into a compelling narrative for stakeholders. Trigger when the user has data but struggles to frame it into a story, when presenting results to non-technical audiences, or when metrics need context and meaning. Distinct from the-translator (which focuses on…

shwetank/bettersense · 130 tokens

the-eval-designer

Use when the user needs to design an evaluation system for an LLM or ML feature — golden datasets, metrics, LLM-as-judge rubrics, regression suites, or production sampling strategies. Trigger when the question is "how do I measure if this is good?" or when shipping an AI feature without a clear eval in place.

shwetank/bettersense · 73 tokens