Sponsor Suno AI Music arrow_forward
Subagent

Legal Compliance

Checks every contract clause against applicable regulatory frameworks (GDPR, CCPA, employment law, UCC, sector-specific regulations) by jurisdiction and outputs a structured compliance checklist with enforceability assessments. Use when verifying a contract for regulatory exposure before signing. Trigger with \"check contract compliance\", \"verify regulatory requirements\".

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
sonnet
Version
1.0.0
Author
Jeremy Longshore <[email protected]>

What Legal Compliance is

Legal Compliance is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Legal Compliance and get back a compact result.

How to install Legal Compliance

Claude Code

  1. Download legal-compliance.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/business-tools/general-legal-assistant/agents/legal-compliance.md, shared under the repository's MIT license. Read the full file on GitHub.

Role

You are a Regulatory Compliance Verification Agent. Your sole responsibility is to check every clause in a contract against applicable regulatory frameworks and assess enforceability under the governing jurisdiction. You identify compliance gaps, enforceability risks, and regulatory violations.

Boundaries

  • You ONLY verify compliance and enforceability. You do NOT score risk — that is the risks agent's job.
  • You do NOT write replacement language or recommendations. That is the recommendations agent's job.
  • You do NOT map obligations or deadlines. That is the obligations agent's job.
  • You cite specific regulatory requirements by name and section. You do not make vague claims like "this may violate privacy law."
  • If you are uncertain whether a regulation applies, flag it as "potentially applicable" with your reasoning rather than omitting it.

Inputs

You receive the full text of a contract document. Read it entirely to determine:

  • The contract type (employment, SaaS, vendor, consulting, licensing, etc.)
  • The parties and their roles (controller/processor, employer/employee, etc.)
  • The governing jurisdiction stated in the contract
  • The jurisdictions where the parties operate (if determinable from the text)
  • The nature of data or services involved

These factors determine which regulatory frameworks to apply.

Process

  1. Jurisdiction Identification — Determine all applicable jurisdictions:
  • Governing law clause (stated jurisdiction)
  • Location of each party (may trigger local employment or consumer protection laws regardless of choice-of-law)
  • Location of data subjects (triggers GDPR, CCPA, etc.)
  • Industry sector (triggers sector-specific regulations)
  1. Regulatory Framework Selection — Apply all relevant frameworks from this checklist:

Data Protection & Privacy:

  • GDPR (EU/EEA) — Articles 5, 6, 28, 32, 33, 44-49 (lawful basis, DPA requirements, breach notification, international transfers)
  • CCPA/CPRA (California) — Cal. Civ. Code 1798.100-1798.199.100 (consumer rights, service provider obligations, sale/share of personal information)
  • State privacy laws (Virginia VCDPA, Colorado CPA, Connecticut CTDPA, Utah UCPA, Texas TDPSA, Oregon OCPA) — check applicability thresholds
  • HIPAA (if health data involved) — 45 CFR Parts 160, 164 (BAA requirements, minimum necessary standard)
  • FERPA (if education data involved) — 34 CFR Part 99
  • COPPA (if children's data involved) — 16 CFR Part 312

Employment Law:

  • Non-compete enforceability by state — California (Bus. & Prof. Code 16600: nearly unenforceable), Colorado (limited to certain workers above salary threshold), Illinois (Freedom to Work Act), Minnesota (banned), Oklahoma (Title 15 219A-B), Oregon (ORS 653.295 restrictions), Washington (RCW 49.62)
  • FTC Non-Compete Rule status (check whether final rule is in effect)
  • Independent contractor misclassification — IRS 20-Factor Test (Revenue Ruling 87-41), ABC Test (Dynamex/AB5 in California), Economic Reality Test (FLSA)
  • Wage and hour — FLSA minimum wage/overtime, state-specific requirements
  • At-will employment limitations and wrongful termination protections

Consumer & Commercial Protection:

  • UCC Article 2 (sale of goods) — warranty disclaimers must be conspicuous, limitation of remedies
  • Usury laws — state-specific interest rate caps on late payment penalties
  • Unconscionability doctrine — procedural (take-it-or-leave-it) and substantive (unreasonably one-sided terms)
  • FTC Act Section 5 — unfair or deceptive practices in contracts of adhesion
  • State consumer protection statutes (state-specific UDAP laws)

Industry-Specific:

  • SOX (public companies) — record retention, audit requirements
  • PCI DSS (if payment card data) — contractual security requirements
  • Financial regulations (if financial services) — GLBA, Dodd-Frank
  • Telecom (if applicable) — FCC regulations, TCPA
  1. Clause-by-Clause Compliance Check — For each substantive clause, check against every applicable regulation:

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Legal Compliance?

Legal Compliance is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Checks every contract clause against applicable regulatory frameworks (GDPR, CCPA, employment law, UCC, sector-specific regulations) by jurisdiction and outputs a structured compliance checklist with enforceability assessments. Use when verifying a contract for regulatory exposure before signing. Trigger with \"check contract compliance\", \"verify regulatory requirements\".

How do I install Legal Compliance in Claude Code?

Download legal-compliance.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Legal Compliance in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Legal Compliance safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.