legal-advisor

legal-advisor is an agent for Claude Code from davepoon/buildwithclaude. It costs 49 tokens per session (361 once invoked), scanned A, original, MIT.

An assistant for writing technology-related legal documents, including privacy policies, terms of service, cookie policies, data-processing agreements, and disclaimers.

In plain words
What is it for?
Preparing legal notices for products that may need to address rules such as the EU GDPR, California privacy law, or children’s privacy requirements.
Why use it?
It helps turn a product’s data handling and business practices into draft compliance documents while flagging details that need review.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Part of the agents-business-finance plugin — 4 agents shipped together

Good fit Preparing legal notices for products that may need to address rules such as the EU GDPR, California privacy law, or children’s privacy requirements.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/davepoon/buildwithclaude/legal-advisor
About the project

davepoon/buildwithclaude is a discovery hub and plugin marketplace for Claude Code extensions, including agents, commands, hooks, skills, plugins, MCP servers, and marketplace collections. Developers use it to browse, search, and find installation instructions for tools that extend Claude-related workflows. Catalogue entries include agents, plugins, commands, and skills from this collection.

davepoon/buildwithclaude · 3,434 stars · on GitHub · buildwithclaude.com

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/davepoon/buildwithclaude

Made for: Claude Code.

Or install agents-business-finance, the plugin that ships this one along with the rest of its 4 agents.

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/davepoon/buildwithclaude/legal-advisor/github.svg)](https://agentmods.dev/agents/davepoon/buildwithclaude/legal-advisor)
Your own site
<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/legal-advisor"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/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/davepoon/buildwithclaude/legal-advisor"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/legal-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 361 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.00049 $0.00361
Opus 5 $0.00024 $0.00180
Sonnet 5 $0.00010 $0.00072
Haiku 4.5 $0.00005 $0.00036

Measured 10d ago against content hash 6f6e350271d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 10d 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.

plugins/agents-business-finance/agents/legal-advisor.md · 53 lines

What it actually says

You are a legal advisor specializing in technology law, privacy regulations, and compliance documentation.

When invoked:

  1. Identify applicable jurisdictions and regulations
  2. Determine business model and data processing activities
  3. Review existing legal documents if any
  4. Begin drafting appropriate legal texts

Compliance checklist:

  • GDPR (European Union) requirements
  • CCPA/CPRA (California) provisions
  • LGPD (Brazil) compliance
  • PIPEDA (Canada) standards
  • COPPA (children's privacy) rules
  • CAN-SPAM/CASL (email marketing)
  • ePrivacy Directive (cookies)
  • Sector-specific regulations

Document types:

  • Privacy policies with all mandatory disclosures
  • Terms of service/user agreements
  • Cookie policies and consent banners
  • Data processing agreements (DPA)
  • Disclaimers and liability limitations
  • Intellectual property notices
  • SaaS/software licensing terms
  • E-commerce legal requirements

Process:

  • Use clear, accessible language
  • Include all mandatory disclosures
  • Structure with logical sections
  • Provide jurisdiction-specific variations
  • Add placeholders for company details
  • Flag areas needing attorney review
  • Include implementation notes
  • Track regulatory updates

Provide:

  • Complete legal documents with proper structure
  • Compliance checklist for each regulation
  • Technical implementation requirements
  • Consent mechanism specifications
  • Update procedures for changes
  • Audit trail documentation

Always include: "This is a template for informational purposes. Consult with a qualified attorney for legal advice specific to your situation."

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. 10d ago First seen · 53 lines · 49 tokens per session scan A 6f6e350271d6

Subscribe to this mod's changes

legal-advisor is an agent published in the GitHub repository davepoon/buildwithclaude (3,434 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 361 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

ai-ethics-governance-specialist

Use this agent when you need to implement AI ethics frameworks, governance policies, and responsible AI practices for B2B applications. This agent specializes in AI bias detection, ethical AI development, algorithmic transparency, and AI governance frameworks that meet enterprise trust and compliance requirements.…

ccplugins/awesome-claude-code-plugins · 0 tokens

compliance-automation-specialist

Use this agent when you need to automate compliance processes for SOC 2, ISO 27001, GDPR, HIPAA, and other enterprise regulatory requirements. This agent specializes in compliance automation, audit preparation, continuous monitoring, and regulatory framework implementation for B2B platforms. Examples.

ccplugins/awesome-claude-code-plugins · 63 tokens

legal-compliance-checker

Use this agent when reviewing terms of service, privacy policies, ensuring regulatory compliance, or handling legal requirements. This agent excels at navigating the complex legal landscape of app development while maintaining user trust and avoiding costly violations. Examples:\n\n \nContext: Launching app in…

xbim08/awesome-claude-code-plugins · 0 tokens

data-privacy-engineer

Use this agent when you need to implement data privacy engineering, GDPR compliance, data protection frameworks, and privacy-by-design principles for B2B applications. This agent specializes in privacy engineering, data minimization, consent management, and global privacy regulation compliance for enterprise…

xbim08/awesome-claude-code-plugins · 0 tokens

legal-advisor

Use this agent when you need legal advisory, compliance documentation, RFP response creation, and enterprise contract support for B2B applications. This agent specializes in legal document creation, regulatory analysis, enterprise procurement compliance, and RFP winning strategies. Transforms complex legal…

xbim08/awesome-claude-code-plugins · 0 tokens

qa-audit

Complete project quality audit. Combines OWASP security, GDPR, WCAG accessibility and performance. Use for a global audit before going to production.

christopherlouet/claude-base · 33 tokens