Agent skill

Law Contract

by asgard-ai-platform in asgard-ai-platform/skills

Analyze contract fundamentals including formation requirements (offer, acceptance, consideration), essential clauses, and common risk areas.

MITAuto-check passedLegal & Compliance

Install Law Contract

skills CLI
$ npx skills add asgard-ai-platform/skills --skill law-contract -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install asgard-ai-platform/skills law-contract --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/asgard-ai-platform/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/law-contract .claude/skills/law-contract && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
law-contract
GitHub stars
242
Token cost
~1.4k tokens
SKILL.md length
505 words
Files
4 (incl. references)
Skills in repo
207
Repo updated
First seen
Licence
MIT

At a glance

Analyze contract fundamentals including formation requirements (offer, acceptance, consideration), essential clauses, and common risk areas.

  • Works in 6 steps: Identify the parties: Who is agreeing?… → Understand the deal: What is each side… → Check formation elements: Offer,… → …
  • The user needs to review a contract
  • SKILL.md covers Overview, Framework, Output Format and Examples, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Law Contract is an agent skill from asgard-ai-platform/skills. Analyze contract fundamentals including formation requirements (offer, acceptance, consideration), essential clauses, and common risk areas. Use this skill when the user needs to review a contract, understand contract terms, identify risky clauses, or draft contract provisions — even if they say 'review this agreement', 'what should I watch out for in this contract', or 'is this clause standard'.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `examples/sample_scenario.md`, `references/contract-templates.md` and `references/taiwan-contract-law.md`).

It sits in Legal & Compliance, covering Contract review. The repository describes itself as: 301 open-source coding agent skills across 22 domains — methodology, judgment & gotchas packaged as Claude Agent Skills for the Asgard AI Platform. The licence is MIT.

When your agent uses it

  • The user needs to review a contract
  • Understand contract terms
  • Identify risky clauses
  • Draft contract provisions — even if they say review this agreement

Example prompts

  • “review this agreement”
  • “what should I watch out for in this contract”
  • “is this clause standard”
  • “/law-contract”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Identify the parties: Who is agreeing? Are entity names correct?
  2. Understand the deal: What is each side giving and receiving?
  3. Check formation elements: Offer, acceptance, consideration, legality — all present?
  4. Review essential clauses: Use the table above as a checklist
  5. Flag risk areas: Unlimited liability, one-sided terms, vague scope, auto-renewal
  6. Check governing law: Which jurisdiction's law applies? Is the dispute resolution mechanism acceptable?

What it can do on your machine

Read from SKILL.md and the folder at commit 4e7f4f8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Law Contract loads about 1.4k tokens when it runs, and up to ~9.7k if it reads all its reference files. Until then it costs about 103 tokens; SKILL.md has 505 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from asgard-ai-platform/skills at commit 4e7f4f8, republished under its MIT licence (© asgard-ai-platform). 505 words, ~1,400 tokens.

Download SKILL.mdSave it as .claude/skills/law-contract/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
law-contract
description
Analyze contract fundamentals including formation requirements (offer, acceptance, consideration), essential clauses, and common risk areas. Use this skill when the user needs to review a contract, understand contract terms, identify risky clauses, or draft contract provisions — even if they say 'review this agreement', 'what should I watch out for in this contract', or 'is this clause standard'.
metadata.category
WP-20 法學院
metadata.tags
law, contract, legal-analysis

Contract Analysis

Overview

Contract law governs enforceable agreements. This skill covers formation requirements, essential clauses, and common risk areas for business contracts. It is educational guidance, not legal advice — always consult a qualified attorney for specific situations.

Framework

IRON LAW: A Contract Requires Offer + Acceptance + Consideration + Legality

All four elements must be present for a valid contract. Missing any one
means no enforceable contract exists — regardless of how formal the document
looks. A signed document without consideration (exchange of value) is
not a contract.
Contract Formation
ElementDefinitionTest
OfferClear, definite proposal with intent to be boundWould a reasonable person understand this as a binding proposal?
AcceptanceUnqualified agreement to the offer's termsMirror image rule: acceptance must match the offer exactly
ConsiderationSomething of value exchanged by both partiesEach side gives up something (money, services, rights, promises)
LegalitySubject matter must be legal and parties must have capacityNo illegal purpose; parties must be competent adults or authorized entities
Essential Contract Clauses
ClausePurposeRed Flags
PartiesWho is boundIncorrect entity name, no authority to sign
Scope/SubjectWhat is being exchangedVague deliverables, undefined terms
Payment termsWhen and how payment occursNo payment schedule, no late payment consequences
Term & TerminationDuration and exit conditionsAuto-renewal without notice, no termination for cause
Liability & IndemnityWho bears riskUnlimited liability, one-sided indemnification
Confidentiality (NDA)Information protectionOverly broad definition, no time limit
IP ownershipWho owns created workAmbiguous ownership of work product
Non-competeRestrictions after terminationOverly broad scope/geography/duration
Dispute resolutionHow conflicts are resolvedForeign jurisdiction, mandatory arbitration without consent
Force majeureExcused performance for unforeseeable eventsToo narrow or too broad definition
Contract Review Steps
  1. Identify the parties: Who is agreeing? Are entity names correct?
  2. Understand the deal: What is each side giving and receiving?
  3. Check formation elements: Offer, acceptance, consideration, legality — all present?
  4. Review essential clauses: Use the table above as a checklist
  5. Flag risk areas: Unlimited liability, one-sided terms, vague scope, auto-renewal
  6. Check governing law: Which jurisdiction's law applies? Is the dispute resolution mechanism acceptable?
Show full SKILL.md (201 more words)Show less

Output Format

markdown
# Contract Review: {Agreement Type}

## Parties
- Party A: {name, role}
- Party B: {name, role}

## Deal Summary
{What is being exchanged — in plain language}

## Clause Review
| Clause | Present? | Assessment | Risk Level |
|--------|---------|-----------|-----------|
| Scope | Y/N | {notes} | 🟢/🟡/🔴 |
| Payment | Y/N | ... | ... |
| Termination | Y/N | ... | ... |
| Liability | Y/N | ... | ... |
| IP | Y/N | ... | ... |
| Non-compete | Y/N | ... | ... |

## Red Flags
1. {specific concern with clause reference}

## Recommendations
1. {suggested modification}

Examples

Correct Application

Scenario: SaaS service agreement review

  • Red flag: "Vendor may modify pricing with 30 days' notice" → One-sided price change clause. Should be: pricing locked for contract term, changes only at renewal.
  • Red flag: "Client indemnifies Vendor against all claims" → One-sided indemnification. Should be mutual.
  • Missing: No SLA (service level agreement) defined → No recourse if service goes down. Recommend adding uptime commitment with credits ✓
Incorrect Application
  • "This contract looks fine because both parties signed it" → Signature doesn't make every clause fair or enforceable. Must review individual clause terms. A signed contract with an unconscionable clause may still be challenged.

Gotchas

  • "Standard contract" doesn't mean fair: Vendor-drafted "standard" contracts are drafted in the vendor's favor. Everything is negotiable.
  • Taiwan-specific: Taiwan's Civil Code governs contracts. Key differences from common law: no consideration requirement (promise for promise is sufficient), mandatory provisions in certain contract types (labor, consumer).
  • Auto-renewal traps: Many contracts auto-renew unless notice is given 30-90 days before expiry. Calendar the notice deadline.
  • This skill is NOT legal advice: It provides educational analysis of contract concepts. Always consult a licensed attorney for binding legal decisions.

References

  • For Taiwan-specific contract law (Civil Code), see references/taiwan-contract-law.md
  • For common contract templates, see references/contract-templates.md

© asgard-ai-platform, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in law-contract of asgard-ai-platform/skills.

  • SKILL.md
  • examples/sample_scenario.md
  • references/contract-templates.md
  • references/taiwan-contract-law.md

Open the folder on GitHubat commit 4e7f4f8

Compare with similar skills

Law Contract next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Law Contract compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Law Contract this skillasgard-ai-platform/skills242—~1.4kAutomated safety check: PassMIT
Contract Reviewevolsb/claude-legal-skill4641 repos~3.6kAutomated safety check: PassMIT
Commercial Legal Plapiotrowski-afk/commercial-legal-pl1761 repos~4.1kAutomated safety check: PassApache-2.0
Hand Drawnthreerocks/hand-drawn-styles2.2k—~398Automated safety check: PassMIT
Tabular Document Reviewanthropics/claude-for-legal9.6k3 repos~4.3kAutomated safety check: PassApache-2.0
Tw Formal WritingImbad0202/tw-formal-writing179—~1kAutomated safety check: PassMIT

Similar skills

  • Contract Review

    evolsb/claude-legal-skill

    Review legal contracts, NDAs, employment agreements, SaaS terms, and M&A documents.

    464 GitHub starsUsed in 1 repo~3.6k tokens
    Legal & ComplianceAuto-check passed
  • Commercial Legal Pl

    apiotrowski-afk/commercial-legal-pl

    Skill do analizy i tworzenia umów według polskiego prawa, ze szczególnym uwzględnieniem umów B2B, IP i IT (body leasing, NDA, wdrożenia, SaaS, przeniesienie praw autorskich, ugody).

    176 GitHub starsUsed in 1 repo~4.1k tokens
    Legal & ComplianceAuto-check passed
  • Hand Drawn

    threerocks/hand-drawn-styles

    A skill your agent uses when users ask for a hand-drawn or illustrated image prompt, name one of the repository's 20 numbered styles or the 3.1 stable variant, or mention triggers such as…

    2.2k GitHub stars~398 tokensUpdated 2 days ago
    Legal & ComplianceAuto-check passed
  • Tabular Document Review

    anthropics/claude-for-legal

    Official

    Builds a review grid with one row per document and one column per data point, each cell cited to a verbatim quote, built for M&A diligence and other batch reviews.

    9.6k GitHub starsUsed in 3 repos~4.3k tokens
    Legal & ComplianceAuto-check passed
  • Tw Formal Writing

    Imbad0202/tw-formal-writing

    台灣正式文件撰寫助手 — 涵蓋政府公文、政府機關其他文件、法律文件、人民對政府文書四類中文正式文件的撰寫(不含學術論文、商業文書、私人書信等,見下方排除清單)。

    179 GitHub stars~1k tokensUpdated 16 days ago
    Legal & ComplianceAuto-check passed
  • Contract Review Pro

    CSlawyer1985/contract-review-pro

    专业合同审核 Skill:7步工作流(含立场声明、框架审阅、类型路由)、5类通用门禁+16个专项门禁、终稿三件套+HTML可视化报告、8维度风险评分、修订5分类路由。完全自包含,零外部依赖。

    277 GitHub stars~2.3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from asgard-ai-platform/skills

All 207 skills in this repo
  • Algo Ecom Bm25

    asgard-ai-platform/skills

    Implement BM25 ranking function for e-commerce product search relevance scoring.

    242 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Mfg Cpk

    asgard-ai-platform/skills

    Calculate Cpk process capability index to assess whether a process meets specification requirements.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Price Elasticity

    asgard-ai-platform/skills

    Calculate price elasticity of demand to quantify how price changes affect sales volume.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Bayesian

    asgard-ai-platform/skills

    Apply Bayesian averaging to rank items by combining observed ratings with prior expectations.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Elo

    asgard-ai-platform/skills

    Implement Elo rating system to rank items or players from pairwise comparison outcomes.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Wilson

    asgard-ai-platform/skills

    Calculate Wilson Score confidence intervals for ranking items by positive proportion with sample size correction.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Law Contract

What does Law Contract do?

Analyze contract fundamentals including formation requirements (offer, acceptance, consideration), essential clauses, and common risk areas. Law Contract is an agent skill from asgard-ai-platform/skills. Analyze contract fundamentals including formation requirements (offer, acceptance, consideration), essential clauses, and common risk areas.

When should I use Law Contract?

Law Contract fits situations like: the user needs to review a contract; understand contract terms; identify risky clauses; draft contract provisions — even if they say review this agreement.

How do I install Law Contract in Claude Code?

Run `npx skills add asgard-ai-platform/skills --skill law-contract -a claude-code`. Or copy the skill folder (law-contract in asgard-ai-platform/skills) into .claude/skills/law-contract in your project. Claude Code loads it when a task matches its description.

How do I install Law Contract in Codex?

Run `npx skills add asgard-ai-platform/skills --skill law-contract -a codex`. Or copy the skill folder (law-contract in asgard-ai-platform/skills) into .agents/skills/law-contract in your project. Codex loads it when a task matches its description.

Can I use Law Contract in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add asgard-ai-platform/skills --skill law-contract -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/law-contract, .gemini/skills/law-contract, .github/skills/law-contract and .opencode/skills/law-contract in your project.

What does Law Contract need to run?

SKILL.md names no scripts, command-line tools or credentials: Law Contract is instructions for the agent only.

Does Law Contract access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Law Contract safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Law Contract use?

Law Contract is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Law Contract use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.3k tokens, read only when the agent opens those files.

What are the alternatives to Law Contract?

Skills that share tags, products or a category with Law Contract: Contract Review (evolsb/claude-legal-skill, 464 stars), Commercial Legal Pl (apiotrowski-afk/commercial-legal-pl, 176 stars), Hand Drawn (threerocks/hand-drawn-styles, 2.2k stars) and Tabular Document Review (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Law Contract?

asgard-ai-platform (a GitHub organization) maintains it in asgard-ai-platform/skills, which has 242 GitHub stars. The repository holds 207 skills in this directory. The repository was last updated on June 6, 2026.

Source: asgard-ai-platform/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.