ericrisco/rsc-harness / skills/contracts
contracts
VerifiedUse when drafting or reviewing business contracts and clauses in plain language — NDAs, MSAs, SOWs, contractor agreements, risk boilerplate (liability caps, indemnity, force majeure, termination, IP) — or redlining a counterparty's paper. NOT consumer Terms of Service (that is terms-conditions) and NOT the signing workflow (that is e-signature).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.5 KB |
| evals/README.md | markdown | 884 B |
| evals/cases.yaml | config | 2.7 KB |
| references/clause-library.md | markdown | 5.4 KB |
| references/review-playbook.md | markdown | 3.7 KB |
| scripts/verify.shexecutable | script | 1.9 KB |
scripts/verify.sh
View on GitHub#!/usr/bin/env bash
# verify.sh — plain-language + risk-carve-out discipline check for a contracts draft.
# Read-only. Takes a generated contract/clause file as $1.
# No argument => prints usage and exits 0 (never blocks when not given a draft).
# Exits non-zero only when a real artifact violates a rule.
set -euo pipefail
artifact="${1:-}"
if [ -z "$artifact" ]; then
echo "usage: verify.sh <contract-draft-file>"
echo "Checks a drafted contract/clause for archaic legalese, a liability cap"
echo "missing its carve-outs, and a missing attorney-review line."
echo "No file given — nothing to check."
exit 0
fi
if [ ! -f "$artifact" ]; then
echo "verify.sh: not a file: $artifact" >&2
exit 2
fi
fail=0
# 1) Archaic legalese banlist (case-insensitive). Plain-language rule.
legalese='heretofore|hereinafter|witnesseth|party of the first part|aforesaid'
if grep -niE "$legalese" "$artifact" >/dev/null; then
echo "FAIL: archaic legalese — rewrite in plain language:"
grep -niE "$legalese" "$artifact" | sed 's/^/ /'
fail=1
fi
# 2) Liability cap present but no carve-out for confidentiality/indemnity/fraud.
if grep -niE 'limit.*liabilit|aggregate liabilit|liability.*cap|capped at' "$artifact" >/dev/null; then
if ! grep -niE 'except|carve|carve-out|fraud|willful|confidential|indemnif' "$artifact" >/dev/null; then
echo "FAIL: a liability cap exists but no carve-out (confidentiality/indemnity) or fraud exclusion was found."
fail=1
fi
fi
# 3) Full-contract draft with no attorney-review line. Heuristic on length.
lines=$(wc -l < "$artifact" | tr -d ' ')
if [ "$lines" -ge 30 ]; then
if ! grep -niE 'attorney|legal counsel|qualified lawyer|licensed lawyer' "$artifact" >/dev/null; then
echo "FAIL: full-contract draft has no attorney-review line (add 'Have a licensed attorney review this before signing')."
fail=1
fi
fi
if [ "$fail" -eq 0 ]; then
echo "OK: $artifact passed plain-language and risk-carve-out checks."
fi
exit "$fail"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| add-product-e2e-evalpaperclipai/paperclipAdd or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| diagnose-why-work-stoppedpaperclipai/paperclipCompatibility entry point for failed, stalled, looping, or over-recovered Paperclip work. Use fix-failed-paperclip-run for the full diagnosis, regression, repair, real verification, and green-PR workflow; honor an explicitly requested diagnosis-only scope. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| fix-failed-paperclip-runpaperclipai/paperclipDiagnose and fix failed, stuck, slow, or incorrectly blocked Paperclip tasks and runs. Use with a task/run URL or failure report to trace the root cause, prove a regression red then green, check second-order effects, verify the real workflow, and deliver a PR with passing checks. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |