ClauseCheck — AI skill for Claude Code
FastAPI service that triages one contract clause with an LLM and returns a risk level with grounded issues quoted from the clause.
How to install ClauseCheck
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open srikanthkakumanu/ClauseCheck and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What ClauseCheck does
FastAPI service that triages one contract clause with an LLM and returns a risk level with grounded issues quoted from the clause. Built with an Agentic Coding approach: AI coding agents develop the solution from specs in CLAUDE.md, PROJECT.md and ARCHITECTURE.md.
Alternatives in AI
README
ClauseCheck
A small API that screens one contract clause for risky wording. It returns a triage risk level, a short summary and the exact phrases that raised concern. It triages; a lawyer still decides.
- One endpoint:
POST /clauses/review - One LLM call per request, made through the OpenAI SDK
- Clause text is never stored or logged: clauses are confidential
Quick start
Requires [uv](https://docs.astral.sh/uv/). It uses Python 3.15 (pinned in `.python-version`) and installs it if missing.
uv sync # install dependencies
cp .env.example .env # then fill in OPENAI_API_KEY and CLAUSECHECK_MODEL
scripts/start.sh # starts on http://127.0.0.1:8000
scripts/stop.sh # stops it
`scripts/start.sh` loads `.env` if it exists (it is gitignored; `.env.example` is the template). Use a different port with `PORT=4000 scripts/start.sh`. The server runs in the background; its PID is kept in `.run/clausecheck.pid` and its logs (stdout, JSON or console per `LOG_FORMAT`) in `.run/clausecheck.log`.
Interactive API docs are at `/docs` while the server is running.
Example
Request (made-up clause):
curl -s http://127.0.0.1:8000/clauses/review \
-H 'Content-Type: application/json' \
-d '{"clause": "The Supplier may terminate this Agreement at any time without notice and retain all fees paid."}'
Response:
{
"risk": "high",
"summary": "One-sided termination right with no notice and no refund.",
"issues": [
{
"excerpt": "terminate this Agreement at any time without notice",
"concern": "The supplier can end the contract immediately, leaving no time to find a replacement."
},
{
"excerpt": "retain all fees paid",
"concern": "Prepaid fees are kept even if no service is delivered."
}
],
"disclaimer": "Automated triage only. This is not legal advice; a lawyer must review the clause."
}
Co
Related Skills
LegalDocsReview
Local-first legal document review — AI clause extraction, risk scoring, and contract comparison without cloud
Multi Domain Support Triage
Explainable AI agent that triages support tickets for HackerRank, Claude and Visa: company routing, prompt-inj
Express Issue Triage Agent Template
An Express and AI SDK agent that triages new GitHub issues on Vercel, applying labels and a maintainer reply.
Secure AI Customer Support Platform
Secure LLM-powered customer support platform: an AI agent (Claude) with grounded RAG answers, authorization-en
Doc Agent
AI-assisted Vendor Service Agreement generator: LangGraph workflow with Claude & OCR reading invoices, a human
Ideavalidator
Validate a business or product idea end to end (problem, market, ICP, SWOT, willingness to pay, day-one econom
Related Agents
Agentic AI Specialist
Focused worker for the Python symptom-analysis service in agentic_ai/, including FastAPI routes, LangGraph orc
Ade CLI
Coding agents asked to read contracts, claims, or financial PDFs hallucinate structure unless the extraction t
Verina AI Engineer
AI/LLM engineer for Verina (added by the scrum master). Use for the agent orchestrator, prompt templates, clau