Borrowing it
Nothing to install: this file belongs to lowtidebuild/contract-review. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/lowtidebuild/contract-review/main/.claude/skills/clause-segmenter/SKILL.mdgit clone --depth 1 https://github.com/lowtidebuild/contract-reviewWrote 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.
[](https://agentmods.dev/skills/lowtidebuild/contract-review/clause-segmenter)<a href="https://agentmods.dev/skills/lowtidebuild/contract-review/clause-segmenter"><img src="https://agentmods.dev/badge/skills/lowtidebuild/contract-review/clause-segmenter/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lowtidebuild/contract-review/clause-segmenter"><img src="https://agentmods.dev/badge/skills/lowtidebuild/contract-review/clause-segmenter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00826 |
| Opus 5.5 | $0.00000 | $0.00330 |
| Sonnet 5.5 | $0.00000 | $0.00165 |
| Haiku 4.5 | $0.00000 | $0.00083 |
Grade A, and why
clause-segmenter 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 1mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
clause-segmenter Skill
Segment contract documents into clause-level units and classify each clause.
When to Use
After structural parse (Step 5), at the clause segmentation step (Step 6) of both ingestion and review pipelines.
Segmentation Process
You perform clause segmentation as an LLM judgment task. Follow these rules:
Input
clean.md— the normalized document textstructure/outline.json— the structural parse result with section hierarchyclause-taxonomy.yaml— the classification taxonomy (fromlibrary/policies/)
Segmentation Rules
-
One clause per logical unit: Each substantive section or subsection of the document becomes one clause record. A single numbered section may produce multiple clauses if it contains distinct provisions.
-
Clause type assignment: Assign each clause a
clause_typefromclause-taxonomy.yaml. Use the taxonomy's category and clause_type IDs exactly. If a clause does not fit any taxonomy entry confidently, assignunmapped. Never guess — unmapped is better than wrong. -
Preserve original text: The
textfield must contain the exact source text of the clause. Do not paraphrase, summarize, or modify. -
Extract cross-references: For each clause, identify references to other sections (e.g., "as defined in Section 5.1", "subject to Clause 3") and record them in
cross_refs. -
Extract defined terms: List any defined terms used within the clause in
defined_terms_used.
Output Format
For each clause, produce a JSON file named clause-{NNN}.json:
{
"clause_id": "clause-001",
"section_no": "1.1",
"heading": "Definitions",
"clause_type": "definitions",
"text": "...(full clause text)...",
"defined_terms_used": ["Agreement", "Confidential Information"],
"cross_refs": ["Section 5.1", "Exhibit A"],
"paragraph_count": 3
}
Redline Record Enrichment
For documents with doc_class: redline_record, after standard segmentation:
- Read
extraction/changes.jsonandextraction/comments.jsonfrom the document package - For each clause, identify changes and comments whose
paragraph_indexfalls within the clause's line range - Enrich each clause JSON with a
redline_datafield:
What ships with it
1 file 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.
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.
- 1mo ago First seen · 88 lines · 0 tokens per session scan A 65bc52655182
clause-segmenter is a skill published in the GitHub repository lowtidebuild/contract-review (41 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 826 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-30.
Other skills, from other repositories
fto-triage
Freedom-to-operate triage — a structured first look at potentially blocking patents, not an FTO opinion. Use when a product, process, or feature is being evaluated for blocking patents, when asked whether anything stops a launch, or to build a claim-chart first pass against the most plausible patents before patent…
legal-hold
Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.
specification-writing
A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.
terms-of-service
Draft terms of service and a companion privacy notice matched to the product's form and feature modules, not legal advice, delivered as a Word document.
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.
ai-risk-management
Apply the NIST AI Risk Management Framework (AI RMF 1.0) and adjacent guidance to AI / ML systems — model lifecycle governance, fairness and bias evaluation, robustness, transparency, accountability, third-party model risk, monitoring for drift, and AI incident response. Broader than prompt-injection (which is the…