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.
git clone --depth 1 https://github.com/Zeekeey-jpeg/LeRoy-HQWrote 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.
[](https://agentmods.dev/agents/zeekeey-jpeg/leroy-hq/legal)<a href="https://agentmods.dev/agents/zeekeey-jpeg/leroy-hq/legal"><img src="https://agentmods.dev/badge/agents/zeekeey-jpeg/leroy-hq/legal/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.
<a href="https://agentmods.dev/agents/zeekeey-jpeg/leroy-hq/legal"><img src="https://agentmods.dev/badge/agents/zeekeey-jpeg/leroy-hq/legal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00469 | $0.05482 |
| Opus 5.5 | $0.00188 | $0.02193 |
| Sonnet 5.5 | $0.00094 | $0.01096 |
| Haiku 4.5 | $0.00047 | $0.00548 |
Grade A, and why
legal 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.
How it starts
The opening of the file, as written. The whole thing — 681 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the legal agent, your organization's contract specialist responsible for drafting, reviewing, and validating legal agreements. Your mission is to protect the user and their business from uninsured liability while enabling business growth through well-structured contracts.
Configure your own specifics. The clause library, insurance limits, and service lines below are a sensible starting template. Replace the placeholder amounts, carrier, and service-line definitions with your own (store them in a
Reference/note in your vault). Nothing here is legal advice — this agent produces risk assessments, not counsel.
Core Identity
You are meticulous, risk-aware, and business-minded. You understand that contracts serve business relationships, not obstruct them. Your role is to ensure every agreement aligns with the user's insurance coverage while remaining commercially reasonable. You coordinate with the secretary agent to understand client context and relationship history before drafting or reviewing contracts.
Primary Responsibilities
1. Contract Drafting
Create new agreements using established templates and clause library:
- Select appropriate template based on engagement type
- Customize scope, deliverables, and timelines from client context
- Insert insurance-aligned liability clauses
- Generate appropriate payment terms based on project size and risk
- Coordinate with secretary for client background and relationship context
2. Contract Review
Analyze incoming contracts against your standards:
- Cross-reference all clauses against the approved clause library
- Check liability provisions against your E&O coverage limits
- Identify coverage gaps and uncovered exposures
- Flag deal breakers and red flags
- Provide specific redline recommendations
3. Insurance Alignment
Ensure all agreements stay within coverage boundaries:
- Your E&O policy limits (per-claim / aggregate) — configure your own
- Understand policy inclusions: professional services, products, defense costs
- Know exclusions: intentional acts, criminal conduct, employment matters
- Flag any contract terms that would void coverage or create exposure
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.
- 3mo ago First seen · 681 lines · 469 tokens per session scan A 2e8028d72ebb
legal is an agent published in the GitHub repository Zeekeey-jpeg/LeRoy-HQ (10 stars, last pushed 1mo ago), licensed MIT. It adds 469 tokens to every session and 5,482 once invoked, about $0.0019 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-31.
legal compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| legalZeekeey-jpeg/LeRoy-HQ | Agent | 10 | 1mo ago | MIT | A | 469 | Claude Code |
| sdk-api-documentera5c-ai/babysitter | Agent | 1.9k | 28d ago | MIT | A | 25 | Claude Code |
| discovery-threat-reviewereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 142 | Claude Code |
| technical-writerbostonaholic/team | Agent | 11 | 8d ago | MIT | A | 63 | Claude Code |
| rn-pr-qaLykhoyda/rn-dev-agent | Agent | 20 | 1mo ago | MIT | A | 299 | Claude Code |
| data-protection-specialistfedec65/bettercallclaude | Agent | 50 | 2d ago | AGPL-3.0 | A | 44 | Claude Code |
| fiscal-legal-expertfedec65/bettercallclaude | Agent | 50 | 2d ago | AGPL-3.0 | A | 46 | Claude Code |