agentleFS
runxhqrunxhq/runx/skills/contract-drafter/SKILL.md

contract-drafter

Skill97 starsChanged 33 days agoApache-2.0View on GitHub

Draft a contract from a versioned template with explicit parties and terms, reconciling every clause against the rendered baseline deterministically and keeping delivery behind a human gate.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read template, parties, and terms from step inputs.

    line 46

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Contract Drafter

Draft a contract without letting the drafting agent silently rewrite the template. The template, parties, and terms are the only evidence; the agent assembles clause text, and deterministic code re-renders every baseline with the supplied values and reconciles the draft against it. A clause may differ from its rendered baseline only through a declared deviation with a reason.

This is not legal advice and does not replace counsel. It is an execution boundary for template fidelity: the receipt proves which template version was drafted, which terms were bound, and which deviations were declared.

Procedure

  1. Admission requires a complete template (id, version, title, clauses with baselines), explicit parties, and every required_terms key present in terms. Missing evidence stops before the drafting agent runs.
  2. Native data.digest binds the exact template, parties, and terms.
  3. The drafting agent assembles clause text and declares any deviations.
  4. Deterministic reconciliation re-renders each baseline with the supplied values ({{provider.legal_name}}, {{terms.fee_usd}}, and similar paths). A clause must match its rendered baseline exactly, or carry a declared deviation with a reason. Undeclared deviations, deviations that match the baseline anyway, unknown clause targets, unresolved placeholders, and missing clauses all refuse.
  5. A drafted verdict carries the document and a send proposal gated on a human approver through send-as. delivery_performed is always false.

Output

contract_draft (runx.contract_draft.v1) carries decision, reason, the document or null, confirmed deviations with baseline and text, the gated send_proposal or null, validation, and the three input digests.

Inputs are template, parties, and terms.

Agent task contracts

contract-drafter-assemble

Read template, parties, and terms from step inputs. Return draft_doc with title, clauses (each id, heading, text), and deviations as an array of clause_id plus reason entries. Render every placeholder from the supplied values; never invent parties, amounts, or dates. Match each baseline exactly unless a deviation is genuinely needed, and declare every deviation with its reason. Do not add clauses the template does not define and do not produce delivery instructions; delivery belongs to the gated proposal.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.