contract-review: Skill for Claude Code

.claude/skills/ingest/SKILL.md

ingest is a skill for Claude Code from lowtidebuild/contract-review. It costs 47 tokens per session (1,636 once invoked), scanned A, original, Apache-2.0.

A one-step workflow for processing external reference files placed in a library inbox. It converts files such as PDFs and DOCX documents to Markdown, adds metadata, places them under sources, and updates indexes.

In plain words
What is it for?
Use it with statutes, court decisions, commentary, and sample forms, while recording details such as source ID, jurisdiction, source type, and authority level.
Why use it?
It keeps reference material structured and searchable without requiring each conversion and registration step to be performed separately.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is lowtidebuild/contract-review's own configuration. It tells Claude Code how to work on contract-review itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything contract-review configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/lowtidebuild/contract-review/main/.claude/skills/ingest/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lowtidebuild/contract-review

Made for: Claude Code.

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 ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/lowtidebuild/contract-review/ingest.svg)](https://agentmods.dev/skills/lowtidebuild/contract-review/ingest)
Your own site
<a href="https://agentmods.dev/skills/lowtidebuild/contract-review/ingest"><img src="https://agentmods.dev/badge/skills/lowtidebuild/contract-review/ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,636 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00047 $0.01636
Opus 5 $0.00023 $0.00818
Sonnet 5 $0.00009 $0.00327
Haiku 4.5 $0.00005 $0.00164

Measured 8d ago against content hash 81b65762f9bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ingest 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 8d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/source_ingest.py, scripts/validate_source_registry.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.

.claude/skills/ingest/SKILL.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Source Ingest

Drop a reference source file into contract-review/library/inbox/ and run /ingest to process it automatically.

Note: this skill converts and structures reference sources — statutes, court decisions, commentary, sample forms. Contract templates and precedents go through the existing 10-step pipeline (ingestion-agent) instead.

Trigger

  • /ingest — process the whole inbox
  • A natural-language request to add a source, ingest material, or process the inbox

Workflow

File dropped into library/inbox/
  │
  ├─ Step 1: Scan files
  ├─ Step 2: Convert to Markdown
  ├─ Step 3: Generate frontmatter + place under sources/
  └─ Step 4: Update indexes

Executable implementation:

python3 .claude/skills/ingest/scripts/source_ingest.py <source-file> \
  --source-id <id> \
  --jurisdiction KR \
  --source-type statute \
  --authority-level primary_law

python3 .claude/skills/ingest/scripts/validate_source_registry.py \
  contract-review/library/sources/source-registry.json

Step 1: Scan the inbox

Glob every file under inbox/ (including inbox/raw/)
Supported: .pdf, .docx, .pptx, .xlsx, .html, .md, .txt
Unsupported: .hwp, .hwpx → tell the user to convert to PDF/DOCX and drop it again
  • If there are no files, report that the inbox is empty and stop
  • Recurse into subfolders
  • Skip .gitkeep and anything under _processed/, _failed/, sidecars/

Telling contract templates from reference sources:

  • If the user explicitly calls it a source or reference material, handle it here
  • If the user calls it a template or a contract to register, route to the ingestion-agent
  • If it is unclear, ask:

    Is this a reference source (statute / court decision / commentary), or a contract template?

Step 2: Convert to Markdown

Input format Conversion
.pdf mcp__markitdown__convert_to_markdown (uri: file:///absolute/path)
.docx mcp__markitdown__convert_to_markdown
.pptx, .xlsx, .html mcp__markitdown__convert_to_markdown
.md, .txt No conversion needed — use as is

Read the full file on GitHub · 185 lines

Files

What ships with it

2 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. 8d ago First seen · 185 lines · 47 tokens per session scan A 81b65762f9bd

Subscribe to this mod's changes

ingest is a skill published in the GitHub repository lowtidebuild/contract-review (40 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,636 once invoked, about $0.0002 per session on Opus 5. 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.