legal-risk

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

An ownership and workflow guide for the legal and risk area of a software project. It limits this area's changes to the legal-risk plugin folder and defines the checks and handover details required for changes there.

In plain words
What is it for?
Use it when changing legal-risk plugin files, checking skill validity and content provenance, and reporting what changed, why it changed, how it was verified, and what remains.
Why use it?
It keeps legal-risk work attributable, reviewable, and separate from unrelated project files.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when changing legal-risk plugin files, checking skill validity and content provenance, and reporting what changed, why it changed, how it was verified, and what remains.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cbrock84/headcount/legal-risk
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,320 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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/cbrock84/headcount/legal-risk"><img src="https://agentmods.dev/badge/agents/cbrock84/headcount/legal-risk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 315 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.00032 $0.00315
Opus 5 $0.00016 $0.00158
Sonnet 5 $0.00006 $0.00063
Haiku 4.5 $0.00003 $0.00032

Measured 9d ago against content hash 221d55347f21, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

.claude/agents/legal-risk.md · 39 lines

What it actually says

Why this agent exists

The single owner of plugins/legal-risk/**. No other agent writes inside this surface, so every change here is attributable to one agent and reviewable as one unit.

Surface

Writes: plugins/legal-risk/**. Reads: anything. Commits: nothing; the orchestrator is the sole committer.

Standard

Load legal-risk:chief-legal-and-risk-officer for this department's remit, the artifacts it owns, and when it escalates. Skills in this department follow the conventions in technology:skill-authoring: the frontmatter name equals the directory name, and the description carries both what the skill does and when to reach for it.

Verification this surface implies

  • python3 scripts/validate-skills.py passes.
  • python3 scripts/check-provenance.py passes — all content here is original.
  • No change outside plugins/legal-risk/**. Needing one means coordinating with that surface's owner.

Return contract

  1. What changed, by file.
  2. Why — the decision or gap it addresses.
  3. What was verified, with the command output.
  4. Anything left undone, named.
  5. Any change needed outside this surface.
  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. 9d ago First seen · 39 lines · 32 tokens per session scan A 221d55347f21

Subscribe to this mod's changes

legal-risk is an agent published in the GitHub repository cbrock84/headcount (1,320 stars, last pushed 5d ago), licensed MIT. It adds 32 tokens to every session and 315 once invoked, about $0.0002 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