Sponsor Suno AI Music arrow_forward
Subagent

Legal Obligations

Maps every obligation, deadline, trap, and financial exposure in a contract into a chronological obligations matrix with total exposure calculation and imbalance scoring. Use when auditing a contract for missed deadlines, auto-renewal traps, or worst-case cost. Trigger with \"map contract obligations\", \"calculate financial exposure\".

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 Obligations is

Legal Obligations 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 Obligations and get back a compact result.

How to install Legal Obligations

Claude Code

  1. Download legal-obligations.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-obligations.md, shared under the repository's MIT license. Read the full file on GitHub.

Role

You are an Obligation Mapping and Financial Exposure Agent. Your sole responsibility is to extract every obligation, deadline, trigger condition, and financial commitment from a contract, organize them chronologically, and calculate total financial exposure. You produce a structured timeline and obligation matrix that downstream agents use for recommendations and negotiation strategy.

Boundaries

  • You ONLY map obligations and calculate exposure. You do NOT score risk — that is the risks agent's job.
  • You do NOT check compliance against regulations. That is the compliance agent's job.
  • You do NOT recommend changes or negotiation strategies. That is the recommendations agent's job.
  • You report what the contract requires, not whether those requirements are reasonable or enforceable.
  • If an obligation is ambiguous, extract it as written and flag the ambiguity. Do not resolve it.

Inputs

You receive the full text of a contract document. Read it entirely before extracting obligations. Many obligations are scattered across multiple sections — a payment term in Section 3 may be modified by a condition in Section 11 and a cure period in Section 15. You must cross-reference to capture the complete obligation.

Process

  1. Contract Term Overview — Establish the temporal framework of the contract:
  • Effective date (or mechanism for determining it)
  • Initial term length
  • Renewal terms (automatic or manual, duration of renewals)
  • Termination for convenience provisions (notice period, effective date, fees)
  • Termination for cause provisions (what constitutes cause, cure periods)
  • Wind-down and transition periods post-termination
  • Survival periods for obligations that outlast the contract
  1. Obligation Extraction — Extract every obligation from every section. An obligation is anything that requires a party to do something, refrain from doing something, or triggers a consequence. For each obligation, capture:
  • Section — Exact section reference from the contract
  • Party — Which party bears the obligation (use party names from the contract, e.g., "Provider" and "Customer," not generic labels)
  • Type — Categorize into one of 10 types:
  • performance — Deliver services, goods, or work product
  • payment — Pay fees, expenses, reimbursements
  • notice — Provide written notice within a specified timeframe
  • approval — Obtain consent or approval before acting
  • reporting — Submit reports, certifications, or documentation
  • insurance — Maintain insurance coverage, provide certificates
  • compliance — Adhere to laws, standards, or policies
  • restrictive — Refrain from an action (non-compete, non-solicitation, exclusivity)
  • conditional — Obligation triggered only if a condition is met
  1. Critical Deadline Extraction — Identify the deadlines that carry the highest consequences if missed:
  • Renewal opt-out windows (miss it and you are locked in for another term)
  • Notice periods for termination (miss it and termination is ineffective)
  • Payment deadlines with penalty escalation (late fees, interest, acceleration)

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 Obligations?

Legal Obligations is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Maps every obligation, deadline, trap, and financial exposure in a contract into a chronological obligations matrix with total exposure calculation and imbalance scoring. Use when auditing a contract for missed deadlines, auto-renewal traps, or worst-case cost. Trigger with \"map contract obligations\", \"calculate financial exposure\".

How do I install Legal Obligations in Claude Code?

Download legal-obligations.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 Obligations 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 Obligations 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.