contracts

contracts is a skill for Claude Code, Codex from usathyan/epistract. It costs 0 tokens per session (291 once invoked), scanned A, original, MIT.

A guide for extracting structured facts from event contracts, vendor agreements, and service-level agreements. It identifies parties, duties, deadlines, costs, services, insurance requirements, and penalties.

In plain words
What is it for?
Use it to identify contract parties, obligations, deadlines, payment terms, venues, insurance requirements, cross-references, and breach penalties.
Why use it?
It turns lengthy agreements into linked records that show who must do what, by when, and what happens if an obligation is missed.

Skill for Claude CodeCodex

Part of the epistract plugin — 5 skills, 22 commands, 3 agents shipped together

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.

agentmods
npx agentmods add skills/usathyan/epistract/contracts
Any agent
npx skills add usathyan/epistract --skill contracts
Clone the repo
git clone --depth 1 https://github.com/usathyan/epistract

Made for: Claude Code, Codex.

Or install epistract, the plugin that ships this one along with the rest of its 5 skills, 22 commands, 3 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 contracts

README.md
[![agentmods](https://agentmods.dev/badge/skills/usathyan/epistract/contracts.svg)](https://agentmods.dev/skills/usathyan/epistract/contracts)
Your own site
<a href="https://agentmods.dev/skills/usathyan/epistract/contracts"><img src="https://agentmods.dev/badge/skills/usathyan/epistract/contracts.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 291 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00291
Opus 5 $0.00000 $0.00146
Sonnet 5 $0.00000 $0.00058
Haiku 4.5 $0.00000 $0.00029

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 2 executable files (epistemic.py, extract.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

domains/contracts/SKILL.md · 40 lines

What it actually says

Contract Analysis Domain

Extract structured knowledge from event contracts, vendor agreements, and service-level agreements.

Entity Types

Type Description
PARTY Organization or individual signatory
CONTRACT Formal agreement between parties
OBLIGATION Required action or compliance requirement
DEADLINE Date or time constraint
COST Monetary amount or payment term
VENUE Physical location
SERVICE Service provided under contract
INSURANCE Insurance requirement or coverage
PENALTY Consequence for breach

Relation Types

Type Description
OBLIGATED_TO Party must fulfill obligation
HAS_DEADLINE Obligation has a deadline
COSTS Service has associated cost
SIGNED_BY Contract signed by party
PROVIDES_SERVICE Party provides service
HELD_AT Event at venue
REQUIRES_INSURANCE Contract requires insurance
CROSS_REFERENCES Contract references another
PENALIZES Breach triggers penalty

Extraction Guidelines

  1. Every obligation must link to a responsible party and a deadline if specified
  2. Costs should be extracted with currency and payment terms
  3. Cross-contract references are high-value -- they reveal dependencies between vendors
  4. Insurance requirements should capture coverage type and minimum amounts
  5. Penalties should link to the specific obligation they enforce
Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 40 lines · 0 tokens per session scan A 64041d55909c

Subscribe to this mod's changes

contracts is a skill published in the GitHub repository usathyan/epistract (8 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 291 tokens. 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-31.

Related

Other skills, from other repositories

specification-writing

Write the full patent specification from claims and invention disclosure. Use when user says "撰写说明书", "write specification", "写说明书", "patent description", or wants to draft the complete patent specification.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

steward-prep-delivery

Steward-assisted prep for filing issues and PRs — environment capture, template selection, duplicate detection, delivery-policy compliance check.

jmagly/aiwg · 32 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens