coquill-analyzer

coquill-analyzer is a skill for Claude Code, Codex from LegalQuants/lq-skills. It costs 63 tokens per session (1,335 once invoked), scanned A, original, Apache-2.0.

A template-structure analyzer for CoQuill, a system for creating reusable contract templates. It reads DOCX or HTML templates, finds placeholders and conditional sections, and creates a manifest describing them.

In plain words
What is it for?
It is for extracting variables, loops, and conditions from contract templates, applying configuration overrides, inferring data types, and generating a version 2 manifest for the next CoQuill step.
Why use it?
It shows template authors what information a document expects and how its variable sections are structured. It does not check whether the legal wording is correct or render the finished contract.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Good fit It is for extracting variables, loops, and conditions from contract templates, applying configuration overrides, inferring data types, and generating a version 2 manifest for the next CoQuill step.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

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 coquill-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/legalquants/lq-skills/analyzer/github.svg)](https://agentmods.dev/skills/legalquants/lq-skills/analyzer)
Your own site
<a href="https://agentmods.dev/skills/legalquants/lq-skills/analyzer"><img src="https://agentmods.dev/badge/skills/legalquants/lq-skills/analyzer/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.

agentmods 80×15 button for coquill-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/legalquants/lq-skills/analyzer"><img src="https://agentmods.dev/badge/skills/legalquants/lq-skills/analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,335 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.
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.00063 $0.01335
Opus 5 $0.00032 $0.00668
Sonnet 5 $0.00013 $0.00267
Haiku 4.5 $0.00006 $0.00134

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

Security

Grade A, and why

coquill-analyzer 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (analyze.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.

skills/coquill/analyzer/SKILL.md · 108 lines

How it starts

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

CoQuill — Template Analyzer v2

You are running the CoQuill template analyzer. You receive a template directory path from the Orchestrator (e.g., templates/_examples/Bonterms_Mutual_NDA/).

Audience

Caller: CoQuill Orchestrator. Human downstream: template authors (legal engineers building reusable contract templates), not end-user lawyers.

Out of Scope

  • Not a legal review — does not assess whether the template's clauses are legally correct or jurisdictionally appropriate.
  • Not a renderer — produces a manifest only.
  • Not an interview designer — does not propose question wording or interview flow.
  • Not a jurisdictional checker — operates on template structure only.

Work Shape

Bounded Transactional — script-driven extraction with rule-based post-validation. No legal interpretation is performed.

Delegation Threshold

Warnings from Step 2 require human acknowledgement at the Orchestrator level before rendering proceeds. This analyzer never green-lights a manifest on its own.

This skill extracts placeholder structure only. It does not validate whether the template's clauses are legally correct or jurisdictionally appropriate — that responsibility sits with the template author and supervising counsel.


Inputs

The Orchestrator passes a single argument: template_dir — the path to a template directory.

Required: exactly one template file (.docx, .html, or .md) must be present in template_dir. Before running the script, enforce the following:

  • No template file found → halt immediately. Return {"success": false, "error": "No .docx, .html, or .md file found in <template_dir>"} to the Orchestrator. Do not run the script.
  • Multiple template files found → halt immediately. Return {"success": false, "error": "Multiple template files found in <template_dir> — Orchestrator must specify which one"}. Do not run the script.
  • File exists but is unreadable or corrupt → the script will exit 1 with a descriptive error. Relay the error message to the Orchestrator verbatim. Do not attempt recovery or fall back to a different file.

Read the full file on GitHub · 108 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. 12d ago First seen · 108 lines · 63 tokens per session scan A 8d9cfc96637c

Subscribe to this mod's changes

coquill-analyzer is a skill published in the GitHub repository LegalQuants/lq-skills (54 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,335 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens