Agent skill

Clause Risk Database

by revfactory in revfactory/harness-100

A risk clause database that systematically identifies and grades risk patterns in contract clauses.

Apache-2.0Auto-check passedLegal & Compliance

Install Clause Risk Database

skills CLI
$ npx skills add revfactory/harness-100 --skill clause-risk-database -a claude-code

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

GitHub CLI
$ gh skill install revfactory/harness-100 clause-risk-database --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/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/66-contract-analyzer/.claude/skills/clause-risk-database .claude/skills/clause-risk-database && 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
clause-risk-database
GitHub stars
1.3k
Token cost
~1.5k tokens
SKILL.md length
477 words
Files
1
Skills in repo
464
Repo updated
First seen
Licence
Apache-2.0

At a glance

A risk clause database that systematically identifies and grades risk patterns in contract clauses.

  • Tasks that involve Contract review
  • SKILL.md covers Risk Clause Pattern…, Risk Scoring Algorithm, Required Checkpoints by… and Risk Report Output Format, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Clause Risk Database is an agent skill from revfactory/harness-100. A risk clause database that systematically identifies and grades risk patterns in contract clauses. The 'risk-assessor' and 'clause-analyst' agents must use this skill's pattern DB and scoring methodology when evaluating clause-level risk in contracts. Used for clause-level risk assessment tasks such as 'risk clause analysis', 'disadvantageous clause identification', 'risk scoring', etc. Note: Overall contract orchestration or contract drafting itself is outside the scope of this skill.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Legal & Compliance, covering Contract review. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Contract review

Example prompts

  • “risk-assessor”
  • “clause-analyst”
  • “risk clause analysis”
  • “/clause-risk-database”

What it can do on your machine

Read from SKILL.md and the folder at commit 8e8d35c. 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

Clause Risk Database loads about 1.5k tokens when it runs. Until then it costs about 128 tokens; SKILL.md has 477 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~128
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

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 revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 477 words, ~1,524 tokens.

Download SKILL.mdSave it as .claude/skills/clause-risk-database/SKILL.md (or your agent's skills folder).
name
clause-risk-database
description
A risk clause database that systematically identifies and grades risk patterns in contract clauses. The 'risk-assessor' and 'clause-analyst' agents must use this skill's pattern DB and scoring methodology when evaluating clause-level risk in contracts. Used for clause-level risk assessment tasks such as 'risk clause analysis', 'disadvantageous clause identification', 'risk scoring', etc. Note: Overall contract orchestration or contract drafting itself is outside the scope of this skill.

Clause Risk Database — Risk Clause Pattern DB and Scoring Engine

A specialized knowledge base that identifies risk patterns in contract clauses and calculates quantitative risk scores.

Risk Clause Pattern Classification System

Tier 1: Critical Risk (80-100 points)
Pattern IDPattern NameDescriptionRepresentative Wording
C-01Unlimited LiabilityFull liability without cap"shall indemnify all damages"
C-02Unilateral TerminationOnly the counterparty can terminate unconditionally"Party A may terminate immediately without cause"
C-03Blanket IndemnificationComplete exemption of counterparty's liability"Party A shall not be liable under any circumstances"
C-04Unlimited IP TransferTransfer of all IP without consideration"All rights to deliverables shall vest in Party A"
C-05Excessive Non-CompeteNon-compete with excessive scope in duration, geography, and range"Prohibited from working in the same industry for 2 years"
Tier 2: High Risk (60-79 points)
Pattern IDPattern NameDescriptionRepresentative Wording
H-01Auto-Renewal TrapExcessive notice period + automatic renewal"Auto-renews for 1 year without 60-day prior notice"
H-02Excessive Delay PenaltiesDelay penalty rate exceeding market standard"1% of contract amount per day of delay"
H-03Infinite Acceptance LoopNo limit on acceptance review count/duration"Revisions shall continue until Party A is satisfied"
H-04One-Sided ConfidentialityConfidentiality obligation imposed on one party only"Party B shall not disclose the contents of this contract"
H-05Unfavorable JurisdictionExclusive jurisdiction at counterparty's location"Court at Party A's headquarters location"
Tier 3: Medium Risk (40-59 points)
Pattern IDPattern NameDescription
M-01Delayed PaymentPayment terms exceeding 60 days after acceptance
M-02Unlimited Change RequestsLack of cost adjustment provisions for scope changes
M-03Unclear Completion CriteriaAmbiguous completion/acceptance standards
M-04Excessive Warranty PeriodWarranty period exceeding industry standard
M-05Unspecified Governing LawUnclear governing law in international transactions
Show full SKILL.md (190 more words)Show less
Tier 4: Low Risk (20-39 points)
Pattern IDPattern NameDescription
L-01Insufficient Notice ProvisionsAbsence of written/email notification rules
L-02No Assignment RestrictionAbsence of restrictions on transfer of contractual rights/obligations
L-03Missing Force MajeureAbsence of force majeure exemption clause

Risk Scoring Algorithm

Individual Clause Score Calculation
clause_score = base_score(pattern) x position_weight x contract_size_weight x industry_weight

position_weight:
  - Party A (advantaged side): 0.5
  - Party B (disadvantaged side): 1.5
  - Neutral/Unknown: 1.0

contract_size_weight:
  - Under 100M: 0.8
  - 100M-1B: 1.0
  - 1B-10B: 1.3
  - Over 10B: 1.5

industry_weight:
  - IT/Software Development: 1.2 (IP risk)
  - Construction: 1.3 (delay penalties, warranty)
  - Finance: 1.4 (regulatory risk)
  - General Services: 1.0
Overall Risk Grade
overall_score = sum(weighted_clause_scores) / total_clause_count

Grades:
  S Grade (Immediate Correction): Overall 80+ or 1+ Critical clauses
  A Grade (Correction Recommended): Overall 60-79
  B Grade (Caution): Overall 40-59
  C Grade (Satisfactory): Overall 20-39
  D Grade (Excellent): Overall under 20

Required Checkpoints by Contract Type

Software Development Services
Essential ClauseRisk if MissingRecommended Standard
IP OwnershipIP disputeJoint ownership or license
Source Code DeliveryVendor lock-inEscrow or direct delivery
Change Management (CR)Scope creepCR process specified
Acceptance Criteria/PeriodInfinite revisionsWithin 2 rounds, 14-day deadline
Lease Agreement
Essential ClauseRisk if MissingRecommended Standard
Deposit Return ConditionsNon-returnWithin 30 days after vacating
Restoration ScopeExcessive restoration costsExclude normal wear and tear
Early Termination TermsPenalty disputes3 months prior notice
NDA (Non-Disclosure Agreement)
Essential ClauseRisk if MissingRecommended Standard
Confidential Information DefinitionScope disputeMarking/labeling approach
DurationInfinite obligation2-3 years
ExceptionsExcessive restrictionsPublic info, independent development, court orders

Risk Report Output Format

markdown
## Contract Risk Scorecard

**Contract Type**: [Type]  |  **Party Position**: [A/B]  |  **Overall Grade**: [S/A/B/C/D]

| # | Clause | Pattern | Grade | Score | Modification Recommendation |
|---|--------|---------|-------|-------|-----------------------------|
| 1 | Article X | C-01 | Critical | 95 | Liability cap required |

Notes

  • Based on contract law practices; common law contracts require separate pattern application
  • Detailed patterns: See references/clause-patterns-detail.md

© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in en/66-contract-analyzer/.claude/skills/clause-risk-database of revfactory/harness-100.

Open the folder on GitHubat commit 8e8d35c

Compare with similar skills

Clause Risk Database 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.

Clause Risk Database compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clause Risk Database this skillrevfactory/harness-1001.3k—~1.5kAutomated safety check: PassApache-2.0
Contract Reviewevolsb/claude-legal-skill4611 repos~3.6kAutomated safety check: PassMIT
Commercial Legal Plapiotrowski-afk/commercial-legal-pl1761 repos~4.1kAutomated safety check: PassApache-2.0
Custom Nda Generatorzubair-trabzada/ai-legal-claude1.8k1 repos~2.9kAutomated safety check: PassNone
Tabular Document Reviewanthropics/claude-for-legal9.6k3 repos~4.3kAutomated safety check: PassApache-2.0
Tw Formal WritingImbad0202/tw-formal-writing178—~1kAutomated safety check: PassMIT

Similar skills

  • Contract Review

    evolsb/claude-legal-skill

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

    461 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
  • Custom Nda Generator

    zubair-trabzada/ai-legal-claude

    Generates a complete, customized Non-Disclosure Agreement with plain English annotations, tailored to the specific parties and situation

    1.8k GitHub starsUsed in 1 repo~2.9k tokens
    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

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

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

    CSlawyer1985/contract-review-pro

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

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

More from revfactory/harness-100

All 464 skills in this repo
  • Anti Bot Analyzer

    revfactory/harness-100

    A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • API Error Design Patterns

    revfactory/harness-100

    Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed
  • API Security Checklist

    revfactory/harness-100

    Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.

    1.3k GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Arg Parser Generator

    revfactory/harness-100

    Methodology for systematically designing and generating CLI tool argument parser structures.

    1.3k GitHub stars~1.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Audience Segmentation

    revfactory/harness-100

    Audience segmentation skill used by the analyst and curator agents.

    1.3k GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Audio Storytelling

    revfactory/harness-100

    Audio storytelling skill used by the podcast scriptwriter and show note editor.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Clause Risk Database

What does Clause Risk Database do?

A risk clause database that systematically identifies and grades risk patterns in contract clauses. Clause Risk Database is an agent skill from revfactory/harness-100. A risk clause database that systematically identifies and grades risk patterns in contract clauses.

When should I use Clause Risk Database?

Clause Risk Database fits situations like: tasks that involve Contract review.

How do I install Clause Risk Database in Claude Code?

Run `npx skills add revfactory/harness-100 --skill clause-risk-database -a claude-code`. Or copy the skill folder (en/66-contract-analyzer/.claude/skills/clause-risk-database in revfactory/harness-100) into .claude/skills/clause-risk-database in your project. Claude Code loads it when a task matches its description.

How do I install Clause Risk Database in Codex?

Run `npx skills add revfactory/harness-100 --skill clause-risk-database -a codex`. Or copy the skill folder (en/66-contract-analyzer/.claude/skills/clause-risk-database in revfactory/harness-100) into .agents/skills/clause-risk-database in your project. Codex loads it when a task matches its description.

Can I use Clause Risk Database 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 revfactory/harness-100 --skill clause-risk-database -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clause-risk-database, .gemini/skills/clause-risk-database, .github/skills/clause-risk-database and .opencode/skills/clause-risk-database in your project.

What does Clause Risk Database need to run?

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

Does Clause Risk Database 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 Clause Risk Database 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 Clause Risk Database use?

Clause Risk Database is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clause Risk Database use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Clause Risk Database?

Skills that share tags, products or a category with Clause Risk Database: Contract Review (evolsb/claude-legal-skill, 461 stars), Commercial Legal Pl (apiotrowski-afk/commercial-legal-pl, 176 stars), Custom Nda Generator (zubair-trabzada/ai-legal-claude, 1.8k 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 Clause Risk Database?

revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.

Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.