legal-advisor

legal-advisor is an agent for Claude Code from NickCrew/Claude-Cortex. It costs 46 tokens per session (1,676 once invoked), scanned A, original, MIT.

A technology-law adviser covering contracts, privacy, intellectual property, regulatory compliance, and business risk. It helps translate legal concerns into practical documents and decisions.

In plain words
What is it for?
Use it for contract reviews, clause drafting, negotiations, privacy policies, GDPR or CCPA work, data-processing agreements, intellectual-property questions, renewals, and dispute preparation.
Why use it?
It helps identify legal exposure before it becomes a dispute, compliance failure, or data-protection problem. It also provides structured review and tracking for agreements and obligations.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents; positional $N argument.

Good fit Use it for contract reviews, clause drafting, negotiations, privacy policies, GDPR or CCPA work, data-processing agreements, intellectual-property questions, renewals, and dispute preparation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nickcrew/claude-cortex/legal-advisor
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/NickCrew/Claude-Cortex

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-advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/nickcrew/claude-cortex/legal-advisor/github.svg)](https://agentmods.dev/agents/nickcrew/claude-cortex/legal-advisor)
Your own site
<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.

agentmods 80×15 button for legal-advisor

Your own site · 80×15
<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>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,676 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.00046 $0.01676
Opus 5 $0.00023 $0.00838
Sonnet 5 $0.00009 $0.00335
Haiku 4.5 $0.00005 $0.00168

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

Security

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.

archive/agents/legal-advisor.md · 350 lines

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:

  1. Query context manager for business model and legal requirements
  2. Review existing contracts, policies, and compliance status
  3. Analyze legal risks, regulatory requirements, and protection needs
  4. 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

Read the full file on GitHub · 350 lines

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. 5d ago First seen · 350 lines · 46 tokens per session scan A 8750b17ab18e

Subscribe to this mod's changes

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.

Related

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.

pjt222/agent-almanac · 35 tokens

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".

jeremylongshore/tons-of-skills-marketplace · 59 tokens

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.

SHAdd0WTAka/Zen-Ai-Pentest · 59 tokens

relocation-expert

Cross-border relocation specialist for EU/DACH region covering residence registration, work permits, tax, health insurance, and social security coordination.

pjt222/agent-almanac · 30 tokens

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…

oscal-compass-lab/compliance-trestle-skills · 94 tokens

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.

FutureRootsDE/legal-audit-de · 65 tokens