Skip to main content
subagent Claude Code CX Codex Cursor

legal-advisor · wshobson — Claude Code subagent: what it does, how to install

Drafts privacy policies, terms of service, and DPA documents aligned with GDPR and CCPA. Useful when your app needs legal notices and compliance texts.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install hr-legal-compliance@claude-code-workflows
Open on GitHub

What legal-advisor does

This subagent drafts compliance documentation for digital products. It writes cookie policies, terms of service, SaaS licensing agreements, and liability disclaimers. Operating on the sonnet model, it targets requirements from GDPR, CCPA/CPRA, LGPD, PIPEDA, COPPA, and the CAN-SPAM Act.

The agent analyzes the applicable jurisdiction and structures documents with clear section headers. It inserts placeholders for company data and provides checklists for regulatory steps. You also get technical implementation notes for tasks like cookie consent or age verification.

Every output includes a mandatory disclaimer stating it is an informational template. It works well for generating initial drafts, but final documents still need review from a licensed attorney.

What it helps with

  • generate a GDPR-compliant privacy policy for web applications
  • write terms of service and licensing terms for a SaaS platform
  • prepare a data processing agreement with company placeholders
  • create cookie policy texts aligned with the ePrivacy Directive

Example prompts for the agent

  • Draft a privacy policy compliant with GDPR and CCPA for a new SaaS product
  • Create a cookie policy and consent banner text for our website
  • Write terms of service including liability limitation clauses

How to install legal-advisor

1Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install hr-legal-compliance@claude-code-workflows

2Manually: put the files in place

.claude/agents/legal-advisor.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

From the same set213

The whole set →
typescript-advanced-types Seth Hobson Guides an agent through advanced TypeScript types, from generics to conditional and mapped types. Use it for typed libraries, API clients, or strict configuration objects. Claude Code CX Codex Cursor 92,169installs tailwind-design-system Seth Hobson Helps build design systems with Tailwind CSS v4, from theme tokens to component variants. Use it when a project needs shared UI patterns. Claude Code CX Codex Cursor 70,180installs brand-landingpage Travis D. Elliott This skill interviews you about the product and its visual direction, then builds a landing page through Stitch. Use it when there’s no established design yet. Claude Code CX Codex Cursor 39,476installs python-testing-patterns Seth Hobson This skill guides Python testing with pytest, fixtures and mocks. Use it when building a test suite or tracking down failing checks. Claude Code CX Codex Cursor 36,943installs python-performance-optimization Seth Hobson This skill profiles Python code to locate CPU and memory bottlenecks. Use it when an application responds slowly or consumes too many resources. Claude Code CX Codex Cursor 35,675installs nextjs-app-router-patterns Seth Hobson This skill covers Next.js App Router patterns for rendering, routing, and data fetching. Use it when starting an App Router project or moving from Pages Router. Claude Code CX Codex Cursor 32,529installs api-design-principles Seth Hobson Use this skill to plan or review REST and GraphQL APIs. It helps when writing a specification or setting API conventions for a team. Claude Code CX Codex Cursor 30,348installs code-review-excellence Seth Hobson This skill guides pull request reviews, catches logic and security issues, and helps teams give specific feedback. Use it for review standards or developer mentoring. Claude Code CX Codex Cursor 30,193installs

Other versions of legal-advisor

Similar

content-marketer VoltAgent Community This subagent plans content, prepares SEO and multi-channel campaigns, and tracks their results. Use it to build an editorial plan or coordinate a campaign. Claude Code 4,038installs legal-advisor VoltAgent Community Review contracts, compliance needs, and legal risks for technology businesses. Use it to draft documents or work through intellectual property protection. Claude Code 1,776installs api-designer VoltAgent Community Designs REST and GraphQL API architectures, creates OpenAPI 3.1 specifications, and plans authentication. Useful when building new endpoints or refactoring old APIs. Claude Code 756installs documentation-engineer VoltAgent Community Generates and maintains developer documentation, API references, and architecture guides. Use it when project documentation falls behind your codebase. Claude Code 735installs prompt-engineer VoltAgent Community This subagent designs, tests, and improves prompts for LLM production systems. Use it when prompts need evaluation, metrics, or cost tracking. Claude Code 16,078installs context-manager VoltAgent Community Organizes shared context for multi-agent projects in files, including state, task history, and decisions. Use it when agents need a clear shared workspace. Claude Code 10,638installs code-explorer official Anthropic This subagent traces existing features from entry points to data storage, mapping the code paths and architecture. Use it before extending unfamiliar code. Claude Code 1,172installs api-documenter VoltAgent Community Drafts OpenAPI 3.1 specs, code examples, and integration guides for REST or GraphQL APIs. Helpful when documenting endpoints and standardizing schemas. Claude Code 6,451installs

Questions about legal-advisor

How do I install legal-advisor in Claude Code?

Run /plugin marketplace add wshobson/agents followed by /plugin install hr-legal-compliance@claude-code-workflows, or add .claude/agents/legal-advisor.md to your repository.

What does the legal-advisor subagent do?

It drafts initial legal documentation, including privacy notices, user agreements, disclaimers, and compliance checklists.

Does legal-advisor provide qualified legal counsel?

No. The agent creates informational templates, and every generated draft must be reviewed by a qualified attorney.

Source text

legal-advisor.md · MIT
---
name: legal-advisor
description: Draft privacy policies, terms of service, disclaimers, and legal notices. Creates GDPR-compliant texts, cookie policies, and data processing agreements. Use PROACTIVELY for legal documentation, compliance texts, or regulatory requirements.
model: sonnet
---

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

## Focus Areas

- Privacy policies (GDPR, CCPA, LGPD compliant)
- Terms of service and user agreements
- Cookie policies and consent management
- Data processing agreements (DPA)
- Disclaimers and liability limitations
- Intellectual property notices
- SaaS/software licensing terms
- E-commerce legal requirements
- Email marketing compliance (CAN-SPAM, CASL)
- Age verification and children's privacy (COPPA)

## Approach

1. Identify applicable jurisdictions and regulations
2. Use clear, accessible language while maintaining legal precision
3. Include all mandatory disclosures and clauses
4. Structure documents with logical sections and headers
5. Provide options for different business models
6. Flag areas requiring specific legal review

## Key Regulations

- GDPR (European Union)
- CCPA/CPRA (California)
- LGPD (Brazil)
- PIPEDA (Canada)
- Data Protection Act (UK)
- COPPA (Children's privacy)
- CAN-SPAM Act (Email marketing)
- ePrivacy Directive (Cookies)

## Output

- Complete legal documents with proper structure
- Jurisdiction-specific variations where needed
- Placeholder sections for company-specific information
- Implementation notes for technical requirements
- Compliance checklist for each regulation
- Update tracking for regulatory changes

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

Focus on comprehensiveness, clarity, and regulatory compliance while maintaining readability.

© Seth Hobson · MIT · wshobson/agents

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor