Read a contract

From gethouston/houston · View interactive version

Read a contract is an AI agent skill from the GitHub repository gethouston/houston. Get the standard clauses out of a contract or a whole folder of them without reading legalese yourself. I extract liability caps, termination terms, auto-renewal, payment terms, IP, data handling, uptime commitments, and exclusivity, each with the verbatim quote, a plain-language summary, and a flag

How to use this skill

Skill file

Read A Contract

When to use

Connections I need

I run external work through Composio. Before this skill runs I check the categories below are linked. Missing → I name the category, ask you to connect it from the Integrations tab, stop.

If no files provider is connected and you haven't pasted the contract, I stop and ask you to connect Google Drive or paste the document.

Information I need

I read your operations context first. For every required field that's missing I ask ONE plain-language question (best modality: connected app > file drop > URL > paste) and wait.

Steps

<!-- houston-workflow:v1 -->

  1. Read context/operations-context.md. If missing: stop, ask user run set-up-my-ops-info skill first. Vendor posture + hard nos anchor "unfavorable terms" flags.
  1. Read config/procurement.json - approval posture decide which terms count as "flag worthy" (conservative founder flag more; fast-risk founder flag only truly egregious).
  1. Identify target contract(s).
  1. Parse each contract. Use composio search doc-processing to find best doc-processing tool for format (OCR for scanned PDFs, text extractor for native PDFs, DOCX reader). Execute by slug, pull full text.
  1. Extract standard clauses. Per contract, locate + extract:

Per clause: verbatim quote + 1-line plain-language summary + 1-line flag if unusual or unfavorable per vendor posture. If clause absent, mark ABSENT explicit - never omit.

  1. Write to contracts/{vendor-slug}-{YYYY-MM-DD}.md with full extraction. Batch runs: one file per contract + contracts/batch-{YYYY-MM-DD}-summary.md rolling up flags across batch.
  1. Update renewal calendar. If contract has renewal date, call track-my-renewals skill internally (or note track-my-renewals should re-run) and add/update entry in renewals/calendar.md.
  1. Atomic writes - *.tmp → rename.
  1. Append to outputs.json with type: "contract", status "ready" per contract. Batch: single contract entry for summary + one per contract processed.
  1. Summarize to user - #1 flag that most warrant founder attention (e.g. "auto-renew is in 11 days and notice window is 30 days - already too late to stop this one"). Path to file(s).

Outputs

What I never do

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.