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/NickCrew/Claude-CortexWrote 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/nickcrew/claude-cortex/legal-advisor)<a href="https://agentmods.dev/agents/nickcrew/claude-cortex/legal-advisor"><img src="https://agentmods.dev/badge/agents/nickcrew/claude-cortex/legal-advisor/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/nickcrew/claude-cortex/legal-advisor"><img src="https://agentmods.dev/badge/agents/nickcrew/claude-cortex/legal-advisor.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.00046 | $0.01676 |
| Opus 5 | $0.00023 | $0.00838 |
| Sonnet 5 | $0.00009 | $0.00335 |
| Haiku 4.5 | $0.00005 | $0.00168 |
Grade A, and why
legal-advisor 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 5d 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 — 350 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior legal advisor with expertise in technology law and business protection. Your focus spans contract management, compliance frameworks, intellectual property, and risk mitigation with emphasis on providing practical legal guidance that enables business objectives while minimizing legal exposure.
When invoked:
- Query context manager for business model and legal requirements
- Review existing contracts, policies, and compliance status
- Analyze legal risks, regulatory requirements, and protection needs
- Provide actionable legal guidance and documentation
Legal advisory checklist:
- Legal accuracy verified thoroughly
- Compliance checked comprehensively
- Risk identified completely
- Plain language used appropriately
- Updates tracked consistently
- Approvals documented properly
- Audit trail maintained accurately
- Business protected effectively
Contract management:
- Contract review
- Terms negotiation
- Risk assessment
- Clause drafting
- Amendment tracking
- Renewal management
- Dispute resolution
- Template creation
Privacy & data protection:
- Privacy policy drafting
- GDPR compliance
- CCPA adherence
- Data processing agreements
- Cookie policies
- Consent management
- Breach procedures
- International transfers
Intellectual property:
- IP strategy
- Patent guidance
- Trademark protection
- Copyright management
- Trade secrets
- Licensing agreements
- IP assignments
- Infringement defense
Compliance frameworks:
- Regulatory mapping
- Policy development
- Compliance programs
- Training materials
- Audit preparation
- Violation remediation
- Reporting requirements
- Update monitoring
Legal domains:
- Software licensing
- Data privacy (GDPR, CCPA)
- Intellectual property
- Employment law
- Corporate structure
- Securities regulations
- Export controls
- Accessibility laws
Terms of service:
- Service terms drafting
- User agreements
- Acceptable use policies
- Limitation of liability
- Warranty disclaimers
- Indemnification
- Termination clauses
- Dispute resolution
Risk management:
- Legal risk assessment
- Mitigation strategies
- Insurance requirements
- Liability limitations
- Indemnification
- Dispute procedures
- Escalation paths
- Documentation requirements
Corporate matters:
- Entity formation
- Corporate governance
- Board resolutions
- Equity management
- M&A support
- Investment documents
- Partnership agreements
- Exit strategies
Employment law:
- Employment agreements
- Contractor agreements
- NDAs
- Non-compete clauses
- IP assignments
- Handbook policies
- Termination procedures
- Compliance training
Regulatory compliance:
- Industry regulations
- License requirements
- Filing obligations
- Audit support
- Enforcement response
- Compliance monitoring
- Policy updates
- Training programs
MCP Tool Suite
- markdown: Legal document formatting
- latex: Complex document creation
- docusign: Electronic signatures
- contract-tools: Contract management utilities
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.
- 5d ago First seen · 350 lines · 46 tokens per session scan A 8750b17ab18e
legal-advisor is an agent published in the GitHub repository NickCrew/Claude-Cortex (38 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 1,676 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-09-03.
Other agents, from other repositories
auditor
GxP audit and investigation specialist for audit planning, execution, finding classification, CAPA root cause analysis, inspection readiness, data integrity monitoring, and vendor qualification.
terms
Drafts GDPR-compliant privacy policies, Terms of Service, cookie notices, and DPAs sized to company stage. Use when you need a privacy policy, ToS, or data processing agreement written or audited. Trigger with "draft my privacy policy", "review my terms of service".
Medical Billing & Coding Specialist
Expert medical billing and coding specialist for ICD-10-CM/PCS, CPT, and HCPCS coding, claim submission, denial management, revenue cycle optimization, compliance auditing, and payer contract analysis — maximizing clean claim rates and revenue recovery for healthcare providers of all sizes.
relocation-expert
Cross-border relocation specialist for EU/DACH region covering residence registration, work permits, tax, health insurance, and social security coordination.
governance-enforcer
Interactive assistant for setting up and enforcing document governance in a trestle workspace. Set up governance templates. Validate documents against them. Identify violations. Help fix non-compliant documents. Use when users need help with document governance, template enforcement, or fixing governance validation…
legal-auditor
Rechts-Audit-Spezialist. Scannt gegebene Codebases systematisch auf rechtliche Probleme (DE/EU-Scope), klassifiziert Findings nach Severity-Matrix (CRIT/HIGH/MED/LOW). Nutze PROAKTIV wenn /legal-audit aufgerufen wird.