{"id":"5cc2b19c-008c-45a7-8aeb-92731073c49f","shortId":"CVLCTr","kind":"skill","title":"pilot-legal-contract-review-setup","tagline":"Deploy a legal contract review pipeline with 3 agents.  Use this skill when: 1. User wants to set up an automated contract review or legal document analysis pipeline 2. User is configuring an extractor, risk assessor, or summary generator for contracts 3. User asks about clause e","description":"# Legal Contract Review Setup\n\nDeploy 3 agents that extract, assess, and summarize legal contracts with zero central server.\n\n## Roles\n\n| Role | Hostname | Skills | Purpose |\n|------|----------|--------|---------|\n| extractor | `<prefix>-extractor` | pilot-share, pilot-stream-data, pilot-archive | Parses contracts, extracts clauses and key terms |\n| assessor | `<prefix>-assessor` | pilot-event-filter, pilot-alert, pilot-priority-queue | Evaluates risk, flags non-standard terms |\n| summarizer | `<prefix>-summarizer` | pilot-announce, pilot-webhook-bridge, pilot-receipt | Generates executive summaries, delivers reports |\n\n## Setup Procedure\n\n**Step 1:** Ask the user which role this agent should play and what prefix to use.\n\n**Step 2:** Install the skills for the chosen role:\n```bash\n# For extractor:\nclawhub install pilot-share pilot-stream-data pilot-archive\n# For assessor:\nclawhub install pilot-event-filter pilot-alert pilot-priority-queue\n# For summarizer:\nclawhub install pilot-announce pilot-webhook-bridge pilot-receipt\n```\n\n**Step 3:** Set the hostname and write the manifest:\n```bash\npilotctl --json set-hostname <prefix>-<role>\nmkdir -p ~/.pilot/setups\n```\nThen write the role-specific JSON manifest to `~/.pilot/setups/legal-contract-review.json`.\n\n**Step 4:** Tell the user to initiate handshakes with adjacent agents.\n\n## Manifest Templates Per Role\n\n### extractor\n```json\n{\n  \"setup\": \"legal-contract-review\",\n  \"setup_name\": \"Legal Contract Review\",\n  \"role\": \"extractor\",\n  \"role_name\": \"Clause Extractor\",\n  \"hostname\": \"<prefix>-extractor\",\n  \"description\": \"Parses contracts, extracts key terms, dates, obligations, parties, and monetary values.\",\n  \"skills\": {\n    \"pilot-share\": \"Receive uploaded contract documents from external sources.\",\n    \"pilot-stream-data\": \"Stream extracted clause data to the risk assessor.\",\n    \"pilot-archive\": \"Archive original documents for audit trail.\"\n  },\n  \"peers\": [\n    { \"role\": \"assessor\", \"hostname\": \"<prefix>-assessor\", \"description\": \"Receives extracted clauses\" }\n  ],\n  \"data_flows\": [\n    { \"direction\": \"send\", \"peer\": \"<prefix>-assessor\", \"port\": 1002, \"topic\": \"extracted-clauses\", \"description\": \"Structured clause data with metadata\" }\n  ],\n  \"handshakes_needed\": [\"<prefix>-assessor\"]\n}\n```\n\n### assessor\n```json\n{\n  \"setup\": \"legal-contract-review\",\n  \"setup_name\": \"Legal Contract Review\",\n  \"role\": \"assessor\",\n  \"role_name\": \"Risk Assessor\",\n  \"hostname\": \"<prefix>-assessor\",\n  \"description\": \"Evaluates clauses against compliance templates, flags risks and missing protections.\",\n  \"skills\": {\n    \"pilot-event-filter\": \"Filter clauses by type, severity, and compliance category.\",\n    \"pilot-alert\": \"Raise alerts on high-severity non-standard terms.\",\n    \"pilot-priority-queue\": \"Prioritize flagged clauses by risk severity for the summarizer.\"\n  },\n  \"peers\": [\n    { \"role\": \"extractor\", \"hostname\": \"<prefix>-extractor\", \"description\": \"Sends extracted clauses\" },\n    { \"role\": \"summarizer\", \"hostname\": \"<prefix>-summarizer\", \"description\": \"Receives risk assessment\" }\n  ],\n  \"data_flows\": [\n    { \"direction\": \"receive\", \"peer\": \"<prefix>-extractor\", \"port\": 1002, \"topic\": \"extracted-clauses\", \"description\": \"Structured clause data\" },\n    { \"direction\": \"send\", \"peer\": \"<prefix>-summarizer\", \"port\": 1002, \"topic\": \"risk-assessment\", \"description\": \"Risk assessment with flagged items\" }\n  ],\n  \"handshakes_needed\": [\"<prefix>-extractor\", \"<prefix>-summarizer\"]\n}\n```\n\n### summarizer\n```json\n{\n  \"setup\": \"legal-contract-review\",\n  \"setup_name\": \"Legal Contract Review\",\n  \"role\": \"summarizer\",\n  \"role_name\": \"Summary Generator\",\n  \"hostname\": \"<prefix>-summarizer\",\n  \"description\": \"Produces executive summaries with risk scores and actionable recommendations.\",\n  \"skills\": {\n    \"pilot-announce\": \"Broadcast contract review completion to interested peers.\",\n    \"pilot-webhook-bridge\": \"Deliver summary reports to external systems via webhook.\",\n    \"pilot-receipt\": \"Send review completion receipts for tracking.\"\n  },\n  \"peers\": [\n    { \"role\": \"assessor\", \"hostname\": \"<prefix>-assessor\", \"description\": \"Sends risk assessment\" }\n  ],\n  \"data_flows\": [\n    { \"direction\": \"receive\", \"peer\": \"<prefix>-assessor\", \"port\": 1002, \"topic\": \"risk-assessment\", \"description\": \"Risk assessment with flagged items\" },\n    { \"direction\": \"send\", \"peer\": \"external\", \"port\": 443, \"topic\": \"contract-summary\", \"description\": \"Executive summary report\" }\n  ],\n  \"handshakes_needed\": [\"<prefix>-assessor\"]\n}\n```\n\n## Data Flows\n\n- `extractor -> assessor` : extracted clauses and metadata (port 1002)\n- `assessor -> summarizer` : risk assessment with flagged items (port 1002)\n- `summarizer -> external` : executive summary report (port 443)\n\n## Handshakes\n\n```bash\n# extractor <-> assessor:\npilotctl --json handshake <prefix>-assessor \"setup: legal-contract-review\"\npilotctl --json handshake <prefix>-extractor \"setup: legal-contract-review\"\n# assessor <-> summarizer:\npilotctl --json handshake <prefix>-summarizer \"setup: legal-contract-review\"\npilotctl --json handshake <prefix>-assessor \"setup: legal-contract-review\"\n```\n\n## Workflow Example\n\n```bash\n# On extractor -- publish extracted clauses:\npilotctl --json publish <prefix>-assessor extracted-clauses '{\"contract_id\":\"CTR-2026-0042\",\"parties\":[\"Acme\",\"Widget\"],\"clauses\":[{\"type\":\"indemnification\",\"section\":\"7.2\"}]}'\n\n# On assessor -- publish risk assessment:\npilotctl --json publish <prefix>-summarizer risk-assessment '{\"contract_id\":\"CTR-2026-0042\",\"risk_score\":7.2,\"flags\":[{\"clause\":\"indemnification\",\"severity\":\"high\"}]}'\n\n# On summarizer -- subscribe to assessments:\npilotctl --json subscribe risk-assessment\n```\n\n## Dependencies\n\nRequires `pilot-protocol` skill, `pilotctl` binary, `clawhub` binary, and a running daemon.","tags":["pilot","legal","contract","review","setup","skills","teoslayer","agent-skills","ai-agents","clawhub","networking","openclaw"],"capabilities":["skill","source-teoslayer","skill-pilot-legal-contract-review-setup","topic-agent-skills","topic-ai-agents","topic-clawhub","topic-networking","topic-openclaw","topic-overlay-network","topic-p2p","topic-pilot-protocol"],"categories":["pilot-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/TeoSlayer/pilot-skills/pilot-legal-contract-review-setup","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add TeoSlayer/pilot-skills","source_repo":"https://github.com/TeoSlayer/pilot-skills","install_from":"skills.sh"}},"qualityScore":"0.453","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (5,787 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:14:57.500Z","embedding":null,"createdAt":"2026-05-18T13:22:42.935Z","updatedAt":"2026-05-18T19:14:57.500Z","lastSeenAt":"2026-05-18T19:14:57.500Z","tsv":"'-0042':657,682 '-2026':656,681 '/.pilot/setups':221 '/.pilot/setups/legal-contract-review.json':231 '1':20,136 '1002':327,435,449,542,579,588 '2':35,152 '3':14,48,59,205 '4':233 '443':558,595 '7.2':665,685 'acm':659 'action':492 'adjac':241 'agent':15,60,143,242 'alert':104,185,387,389 'analysi':33 'announc':120,196,497 'archiv':88,174,304,305 'ask':50,137 'assess':63,427,453,456,534,546,549,583,670,677,695,701 'assessor':42,96,97,176,301,313,315,325,340,341,354,358,360,528,530,540,569,573,580,599,603,618,632,649,667 'audit':309 'autom':27 'bash':160,213,597,640 'binari':709,711 'bridg':124,200,508 'broadcast':498 'categori':384 'central':70 'chosen':158 'claus':52,92,263,296,319,331,334,363,378,404,419,439,442,575,645,652,661,687 'clawhub':163,177,192,710 'complet':501,522 'complianc':365,383 'configur':38 'contract':4,10,28,47,55,67,90,252,257,269,285,346,351,469,474,499,561,607,616,627,636,653,678 'contract-summari':560 'ctr':655,680 'daemon':715 'data':85,171,293,297,320,335,428,443,535,570 'date':273 'deliv':131,509 'depend':702 'deploy':7,58 'descript':267,316,332,361,416,424,440,454,484,531,547,563 'direct':322,430,444,537,553 'document':32,286,307 'e':53 'evalu':109,362 'event':100,181,375 'exampl':639 'execut':129,486,564,591 'extern':288,513,556,590 'extract':62,91,270,295,318,330,418,438,574,644,651 'extracted-claus':329,437,650 'extractor':40,77,78,162,247,260,264,266,413,415,433,462,572,598,612,642 'filter':101,182,376,377 'flag':111,367,403,458,551,585,686 'flow':321,429,536,571 'generat':45,128,481 'handshak':239,338,460,567,596,602,611,622,631 'high':392,690 'high-sever':391 'hostnam':74,208,218,265,314,359,414,422,482,529 'id':654,679 'indemnif':663,688 'initi':238 'instal':153,164,178,193 'interest':503 'item':459,552,586 'json':215,228,248,342,465,601,610,621,630,647,672,697 'key':94,271 'legal':3,9,31,54,66,251,256,345,350,468,473,606,615,626,635 'legal-contract-review':250,344,467,605,614,625,634 'manifest':212,229,243 'metadata':337,577 'miss':370 'mkdir':219 'monetari':277 'name':255,262,349,356,472,479 'need':339,461,568 'non':113,395 'non-standard':112,394 'oblig':274 'origin':306 'p':220 'pars':89,268 'parti':275,658 'peer':311,324,411,432,446,504,526,539,555 'per':245 'pilot':2,80,83,87,99,103,106,119,122,126,166,169,173,180,184,187,195,198,202,281,291,303,374,386,399,496,506,518,705 'pilot-alert':102,183,385 'pilot-announc':118,194,495 'pilot-arch':86,172,302 'pilot-event-filt':98,179,373 'pilot-legal-contract-review-setup':1 'pilot-priority-queu':105,186,398 'pilot-protocol':704 'pilot-receipt':125,201,517 'pilot-shar':79,165,280 'pilot-stream-data':82,168,290 'pilot-webhook-bridg':121,197,505 'pilotctl':214,600,609,620,629,646,671,696,708 'pipelin':12,34 'play':145 'port':326,434,448,541,557,578,587,594 'prefix':148 'priorit':402 'prioriti':107,188,400 'procedur':134 'produc':485 'protect':371 'protocol':706 'publish':643,648,668,673 'purpos':76 'queue':108,189,401 'rais':388 'receipt':127,203,519,523 'receiv':283,317,425,431,538 'recommend':493 'report':132,511,566,593 'requir':703 'review':5,11,29,56,253,258,347,352,470,475,500,521,608,617,628,637 'risk':41,110,300,357,368,406,426,452,455,489,533,545,548,582,669,676,683,700 'risk-assess':451,544,675,699 'role':72,73,141,159,226,246,259,261,312,353,355,412,420,476,478,527 'role-specif':225 'run':714 'score':490,684 'section':664 'send':323,417,445,520,532,554 'server':71 'set':24,206,217 'set-hostnam':216 'setup':6,57,133,249,254,343,348,466,471,604,613,624,633 'sever':381,393,407,689 'share':81,167,282 'skill':18,75,155,279,372,494,707 'skill-pilot-legal-contract-review-setup' 'sourc':289 'source-teoslayer' 'specif':227 'standard':114,396 'step':135,151,204,232 'stream':84,170,292,294 'structur':333,441 'subscrib':693,698 'summar':65,116,117,191,410,421,423,447,463,464,477,483,581,589,619,623,674,692 'summari':44,130,480,487,510,562,565,592 'system':514 'tell':234 'templat':244,366 'term':95,115,272,397 'topic':328,436,450,543,559 'topic-agent-skills' 'topic-ai-agents' 'topic-clawhub' 'topic-networking' 'topic-openclaw' 'topic-overlay-network' 'topic-p2p' 'topic-pilot-protocol' 'track':525 'trail':310 'type':380,662 'upload':284 'use':16,150 'user':21,36,49,139,236 'valu':278 'via':515 'want':22 'webhook':123,199,507,516 'widget':660 'workflow':638 'write':210,223 'zero':69","prices":[{"id":"22778f2d-68c7-4be8-9c55-e24af2553ed2","listingId":"5cc2b19c-008c-45a7-8aeb-92731073c49f","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"TeoSlayer","category":"pilot-skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:22:42.935Z"}],"sources":[{"listingId":"5cc2b19c-008c-45a7-8aeb-92731073c49f","source":"github","sourceId":"TeoSlayer/pilot-skills/pilot-legal-contract-review-setup","sourceUrl":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-legal-contract-review-setup","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:42.935Z","lastSeenAt":"2026-05-18T19:14:57.500Z"}],"details":{"listingId":"5cc2b19c-008c-45a7-8aeb-92731073c49f","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"TeoSlayer","slug":"pilot-legal-contract-review-setup","github":{"repo":"TeoSlayer/pilot-skills","stars":6,"topics":["agent-skills","ai-agents","clawhub","networking","openclaw","overlay-network","p2p","pilot-protocol"],"license":"agpl-3.0","html_url":"https://github.com/TeoSlayer/pilot-skills","pushed_at":"2026-05-13T06:08:49Z","description":"80+ agent skills for Pilot Protocol — communication, file transfer, trust, task routing, swarm coordination, and more","skill_md_sha":"74c70c0944d94138604c8e1ecd42f2435ad10f1d","skill_md_path":"skills/pilot-legal-contract-review-setup/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/TeoSlayer/pilot-skills/tree/main/skills/pilot-legal-contract-review-setup"},"layout":"multi","source":"github","category":"pilot-skills","frontmatter":{"name":"pilot-legal-contract-review-setup","license":"AGPL-3.0","description":"Deploy a legal contract review pipeline with 3 agents.  Use this skill when: 1. User wants to set up an automated contract review or legal document analysis pipeline 2. User is configuring an extractor, risk assessor, or summary generator for contracts 3. User asks about clause extraction, compliance checking, or legal risk assessment workflows  Do NOT use this skill when: - User wants to share a single file (use pilot-share instead) - User wants to filter generic events (use pilot-event-filter instead)"},"skills_sh_url":"https://skills.sh/TeoSlayer/pilot-skills/pilot-legal-contract-review-setup"},"updatedAt":"2026-05-18T19:14:57.500Z"}}