Wayland contract review

From FerroxLabs/wayland · View interactive version

Wayland contract review is an AI agent skill from the GitHub repository FerroxLabs/wayland. Triage a contract end-to-end: identify the contract type, run a clause-by-clause risk review with severity flags, propose red-lines, and produce a counsel-routing list of clauses that require attorney sign-off before execution. Use when the user wants a structured, multi-step legal triage of a contr

How to use this skill

Skill file

Contract Review

Estimated time: 20-30 minutes

This workflow triages a contract before it is signed. It identifies the contract

type, performs a clause-by-clause review with red/yellow/green severity flags,

proposes concrete red-lines, and builds a counsel-routing list naming every clause

that requires attorney sign-off before execution.

This is triage and drafting support. It does not replace a licensed attorney. The

final deliverable is a Contract Review Memo whose counsel-routing section is a

required gate before the contract is executed.

When to Use

Steps

Step 1: Intake the Contract (uses: legal-contract)

Ask the user to paste the full contract text (or provide a path to the file).

Request the specifics that change the risk profile: the counterparty, the

governing jurisdiction, the dollar value at stake, and any specific concerns the

user already has. Do not proceed until you have the contract body and at least

the jurisdiction and counterparty.

Step 2: Identify the Contract Type (uses: legal-contract)

Infer the contract type (e.g. MSA, SOW, license, vendor agreement, employment,

lease) and the standard structure baseline a contract of that type should follow.

State the inferred type plainly, give the reasoning, and ask the user to confirm

or override before continuing. Use the standard baseline as the yardstick for the

clause review in the next step.

Step 3: Run a Clause-by-Clause Review (uses: legal-contract)

Review the contract clause by clause against the type baseline. For each material

clause, assign a severity flag: red (blocking risk, must change before signing),

yellow (negotiate or clarify), or green (acceptable as written). Note missing

clauses that the baseline expects. Surface the full flagged review to the user.

Step 4: Refine the Review with the User (uses: legal-contract)

Present the flagged review and ask whether to proceed to the red-line memo or

drill into specific clauses. If the user wants to refine, gather their feedback,

re-run the clause review on the targeted clauses incorporating that feedback, and

re-present. Loop up to three times until the user is satisfied, then proceed.

Step 5: Propose Red-Lines (uses: legal-contract)

For every red and yellow clause, draft concrete red-line proposals: the suggested

replacement or amended language, with a short rationale per change. Keep proposals

specific and paste-ready so the user can take them into negotiation. Surface the

red-line set to the user.

Step 6: Build the Counsel-Routing List (uses: legal-contract)

Build the escalation list: which clauses require licensed-attorney sign-off before

the contract is signed, and why. Cover jurisdiction-specific enforceability,

indemnity and liability caps, IP assignment, and anything flagged red. This is the

required gate before execution.

Step 7: Finalize and Ship the Memo (uses: legal-contract)

Present the counsel-routing list and ask whether to ship the memo or refine the

routing. If the user wants changes, gather feedback, re-run the routing step, and

re-present (loop up to two times). When approved, assemble the final Contract

Review Memo: contract type, clause-by-clause review, suggested red-lines, and the

counsel-routing section marked REQUIRED before execution.

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.