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/index-manager/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/index-manager)<a href="https://agentmods.dev/skills/lowtidebuild/contract-review/index-manager"><img src="https://agentmods.dev/badge/skills/lowtidebuild/contract-review/index-manager/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/index-manager"><img src="https://agentmods.dev/badge/skills/lowtidebuild/contract-review/index-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00970 |
| Opus 5 | $0.00000 | $0.00485 |
| Sonnet 5 | $0.00000 | $0.00194 |
| Haiku 4.5 | $0.00000 | $0.00097 |
Grade A, and why
index-manager 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 9d 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 — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
index-manager Skill
Manage library indexes for document and clause retrieval.
Capabilities
-
Index Build / Rebuild (
scripts/build-index.py)- Scans
approved/directory and rebuilds all indexes - Usage:
python3 build-index.py rebuild - Or register a single document:
python3 build-index.py register <manifest_path> - Rebuilds:
documents.json,clauses.json,terms.json,retrieval-map.json,supersession.json
- Scans
-
Index Query (
scripts/query-index.py)- 2-stage deterministic filtering for review candidate retrieval
- Stage 1: filter by contract_family, jurisdiction, governing_law, approval_state, status
- Stage 1.5: narrow by clause_type when Stage 1 > 50 candidates
- Stage 2: exclude archived, superseded, quarantined records
- Freshness rules: downrank or exclude stale records
- Ranking honors
retrieval-priority.yamlpriority buckets, language preference, and affinity-family expansion - Usage:
python3 query-index.py query '{"contract_family":"nda"}' - Token-efficient review usage:
python3 query-index.py query '{"contract_family":"nda","target_clauses":[{"clause_type":"confidentiality"}],"summary_only":true,"top_k":5}' - Hydrate selected candidates only: pass
hydrate_candidate_ids:["doc_id::clause_id"] - Search:
python3 query-index.py search '{"query_text":"liability","clause_type":"limitation_of_liability"}' - Redline patterns:
python3 query-index.py redline-patterns '{"contract_family":"safe","clause_type":"indemnification"}'
-
Coverage Reporting (
scripts/report-coverage.py)- Summarizes configured family coverage, observed clause types, unmapped ratios, and top unmapped headings
- Usage:
python3 report-coverage.py
-
Supersession Management (
scripts/supersession.py)- Mark documents as superseded:
python3 supersession.py supersede <old_id> <new_id> - View chain:
python3 supersession.py chain <doc_id>
- Mark documents as superseded:
When to Use
- After approval gate (WF1 Step 10): register new document
- During review retrieval (WF2 Step 5): query candidates
- During taxonomy / library audits: generate a coverage report
- Library management commands: list, search, rebuild
- When superseding documents
What ships with it
4 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.
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.
- 9d ago First seen · 69 lines · 0 tokens per session scan A 7cb44e3b9670
index-manager is a skill published in the GitHub repository lowtidebuild/contract-review (40 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 970 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
smart-data-collection
A workflow for extracting structured information from images and documents such as PDFs, Word files, and spreadsheets, then storing it in a database.
lark-base
A guide for managing Lark Base, Feishu's spreadsheet-like database and workspace tool. It covers tables, fields, records, views, formulas, forms, dashboards, applications, workflows, and permissions.
entity-model
Creates entity model documents with Mermaid.js ER diagrams and attribute tables defining entities, relationships, data types, and validation rules. Use when the user asks to "create an entity model", "design a data model", "draw an ERD", "define database schema", "model entities", or mentions entity-relationship…
siyuan-mcp-import-migration
MCP staged playbook for Markdown and external database migration with explicit targets, mappings, bounded writes, and layered readback.
feishu-bitable
A skill for managing Feishu Bitable, a database-like spreadsheet for organising structured records. It supports tables, fields, views, filters, and bulk changes.
mcp-sheet-cache-bridge
Keep Zapier Tables or another MCP-connected record store as the source of truth while Google Sheets-based tools read an event-driven cache tab.