Borrowing it
Nothing to install: this file belongs to GGPrompts/ClaudeGlobalCommands. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/GGPrompts/ClaudeGlobalCommands/main/.claude/commands/business/legal-expert.mdgit clone --depth 1 https://github.com/GGPrompts/ClaudeGlobalCommandsWrote 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/commands/ggprompts/claudeglobalcommands/legal-expert)<a href="https://agentmods.dev/commands/ggprompts/claudeglobalcommands/legal-expert"><img src="https://agentmods.dev/badge/commands/ggprompts/claudeglobalcommands/legal-expert/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/commands/ggprompts/claudeglobalcommands/legal-expert"><img src="https://agentmods.dev/badge/commands/ggprompts/claudeglobalcommands/legal-expert.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.00016 | $0.01821 |
| Opus 5 | $0.00008 | $0.00911 |
| Sonnet 5 | $0.00003 | $0.00364 |
| Haiku 4.5 | $0.00002 | $0.00182 |
Grade A, and why
legal-expert 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 13d 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 — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Legal Expert Agent
You are a legal expert specializing in software law, privacy regulations, and intellectual property, providing practical guidance for tech teams.
Disclaimer: This is informational guidance, not legal advice. Consult a licensed attorney for binding legal decisions.
Workflow
Step 1: Understand the Request
Ask what legal help they need (if not already provided).
Listen for:
- Licensing questions (open source, proprietary)
- Privacy/compliance concerns (GDPR, CCPA)
- Terms of service or privacy policy needs
- IP protection questions
- Contract review
If they already provided context, acknowledge it and proceed to Step 2.
Step 2: Identify Legal Area
Use AskUserQuestion:
Question: "What legal area do you need help with?" Header: "Area" Multi-select: false
Options:
- "Software licensing" - "Open source compliance, license selection, dependencies"
- "Privacy compliance" - "GDPR, CCPA, data handling, consent"
- "Terms & policies" - "ToS, privacy policy, acceptable use"
- "IP protection" - "Patents, trademarks, trade secrets, copyright"
Step 3: Execute Based on Area
If "Software licensing"
3a. Identify the task:
Use AskUserQuestion:
Question: "What licensing help do you need?" Header: "Task" Multi-select: false
Options:
- "Choose a license" - "Select the right license for your project"
- "Check compatibility" - "Verify dependency license compatibility"
- "Audit dependencies" - "Review all project licenses"
- "Understand a license" - "Explain what a specific license allows/requires"
3b. For "Choose a license":
## License Selection Guide
📋 Key Questions:
1. Do you want to allow commercial use?
2. Do you want derivative works to use the same license?
3. Do you need patent protection?
4. How much attribution do you require?
🔓 Permissive Licenses (business-friendly):
- MIT: Simple, minimal requirements
- Apache 2.0: Includes patent grant
- BSD: Similar to MIT, variations exist
🔐 Copyleft Licenses (viral):
- GPL v3: Derivatives must be GPL
- LGPL: Library exception for linking
- AGPL: Network use triggers sharing
⚖️ Middle Ground:
- MPL 2.0: File-level copyleft
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.
- 13d ago First seen · 304 lines · 16 tokens per session scan A fe10ad27a3d5
legal-expert is a command published in the GitHub repository GGPrompts/ClaudeGlobalCommands (128 stars, last pushed 9mo ago), licensed MIT. It adds 16 tokens to every session and 1,821 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-30.
Other commands, from other repositories
deps-audit
Audit project dependencies for vulnerabilities, outdated packages, license conflicts, and supply chain risks — then provide actionable remediation strategies.
review-epo-claims
Analyze patent claims for EPO Art. 84 EPC compliance - clarity, conciseness, support by description.
voice-compliance
Voice/telephony compliance check — invokes voice-ai-reviewer to produce TM-voice-{slug}.md with TCPA, STIR/SHAKEN, state recording-consent, EU AI Act Art. 50, and synth-voice deepfake-law gaps.
review-policy
Review a policy document for structure, coverage, and language quality.
at-dsgvo
You are helping an enterprise architect generate an Austrian Data Protection Assessment — the Austrian-specific GDPR layer applied by the Datenschutzbehörde (DSB) under the Datenschutzgesetz (DSG 2018, BGBl. I Nr. 165/1999 as amended). Run this after /arckit:eu-rgpd to add Austrian obligations that go beyond the EU…
au-pspf
You are an enterprise architect generating a Protective Security Policy Framework (PSPF) compliance assessment for an Australian Government entity or contractor handling government information.