srikanthkakumanu

ClauseCheck — AI skill for Claude Code

AI community

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

  • MCP Use — The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents 9.5k ★
  • Develop — Development phase - Build solutions with multi-AI implementation and quality gates 2.8k ★
  • Mysti — AI coding dream team of agents for VS Code 1k ★

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