Draft a legal document

From ja-818/houston · View interactive version

Draft a legal document is an AI agent skill from the GitHub repository ja-818/houston. Draft a legal document for you, like an NDA, a customer contract, an offer letter, a privacy policy, terms of service, a board decision, a reply to a customer data request, or a brief to send a real lawyer. I work from your existing templates if I have them, or from market-standard wording with a cl

How to use this skill

Skill file

Draft a Legal Document

One skill for every first-draft founder need. type param picks template + structure + citations. "Drafts only, never send / file / sign" discipline shared.

Parameter: `type`

Commercial paper (reads template library first):

Privacy / policy:

Regulatory response:

Escalation:

User names type in plain English ("draft NDA with Acme", "write our privacy policy", "package this for counsel") → infer. Ambiguous → ask ONE question naming 10 options grouped by bucket.

When to use

Ledger fields I read

Reads config/context-ledger.json first.

Steps

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

  1. Read ledger + legal context. Gather missing required fields per above. Write atomically.
  2. Discover tools via Composio only when type needs one: googledocs / notion for mirror-copy (optional), googledrive for reading template library, firecrawl for landing-page scrape (privacy-policy, tos).
  3. Branch on type.
  1. Write draft atomically (*.tmp → rename):
  1. Optional Google Docs mirror. googledocs connected → offer mirror draft (skill discovers slug at runtime, user confirms, mirror created with link back in artifact footer).
  2. Append to outputs.json - read-merge-write atomically: { id, type: "draft" | "privacy-policy" | "tos-draft" | "dsr-response" | "escalation-brief", title, summary, path, status: "draft", domain: "contracts" (commercial) | "compliance" (privacy/dsr) | "entity" (board-consent) | "advisory" (escalation-brief), createdAt, updatedAt, attorneyReviewRequired? }.
  3. Summarize to user. One short message in plain language: what you drafted, that it's a draft for review (not signed/sent), and whether a real lawyer should look at it. Never mention file names, paths, or the underlying procedure.

What I never do

Outputs

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.