Full pipeline for generating a service legal document set. An agent team collaborates to generate Terms of Service → Privacy Policy → Cookie Policy → Refund Policy → Copyright Notice all at once. Use this skill for any service legal document creation including: 'create service terms', 'write terms of service', 'privacy policy', 'legal document set', 'service launch legal documents', 'terms package', 'write refund policy', 'cookie policy', 'copyright notice', 'legal document package', etc. Note: actual legal counsel (attorney review), terms review (fair trade commission), legal dispute response, and notarization of legal documents are outside the scope of this skill.
Generates all legal documents required for service launch: Terms of Service, Privacy Policy, Cookie Policy, Refund Policy, and Copyright Notice.
Agent Team — 4 members communicate directly via SendMessage and perform cross-validation.
| Agent | File | Role | Type |
|---|---|---|---|
| tos-specialist | .claude/agents/tos-specialist.md | Terms of Service, unfair terms prevention | general-purpose |
| privacy-specialist | .claude/agents/privacy-specialist.md | Privacy policy, cookie policy, consent framework | general-purpose |
| consumer-analyst | .claude/agents/consumer-analyst.md | Refund policy, copyright notice | general-purpose |
| consistency-reviewer | .claude/agents/consistency-reviewer.md |
| Cross-document consistency, final QA |
| general-purpose |
_workspace/ directory in the project root_workspace/00_input.md| Order | Task | Owner | Depends On | Output |
|---|---|---|---|---|
| 1a | Terms of Service | tos-specialist | None | _workspace/01_terms_of_service.md |
| 1b | Privacy Policy + Cookie Policy | privacy-specialist | None | _workspace/02_privacy_policy.md, _workspace/03_cookie_policy.md |
| 1c | Refund Policy + Copyright Notice | consumer-analyst | None | _workspace/04_refund_policy.md, _workspace/05_copyright_notice.md |
| 2 | Consistency Review | consistency-reviewer | Tasks 1a, 1b, 1c | _workspace/06_review_report.md |
Tasks 1a, 1b, and 1c are executed in parallel. All three agents can work independently. However, agents communicate with each other during work to ensure cross-document alignment.
Inter-team Communication Flow:
_workspace/01_terms_of_service.md02_privacy_policy.md03_cookie_policy.md04_refund_policy.md05_copyright_notice.md06_review_report.md| User Request Pattern | Execution Mode | Agents Involved |
|---|---|---|
| "Full legal document set", "Create terms package" | Full Pipeline | All 4 agents |
| "Write terms of service only" | Terms Mode | tos-specialist + reviewer |
| "Write privacy policy only" | Privacy Policy Mode | privacy-specialist + reviewer |
| "Create refund policy only" | Refund Policy Mode | consumer-analyst + reviewer |
| "Review existing terms" | Review Mode | consistency-reviewer only |
Using Existing Files: If the user provides existing terms, privacy policy, etc., copy the relevant files to the appropriate numbered location in _workspace/ and skip the corresponding agent.
| Strategy | Method | Purpose |
|---|---|---|
| File-based | _workspace/ directory | Store and share primary outputs |
| Message-based | SendMessage | Real-time clause coordination, revision requests |
Filename convention: {sequence}_{document_type}.{extension}
| Error Type | Strategy |
|---|---|
| Insufficient service information | Draft based on general online service standards, note "service customization required" |
| Agent failure | 1 retry → if still failing, proceed without that document and note the omission in the review report |
| 🔴 issues found in review | Send revision request to relevant agent → rework → re-review (maximum 2 times) |
| Cross-document contradictions found | consistency-reviewer proposes resolution direction, simultaneously requests revision from related agents |
| Unverified legal amendments | Note "latest law verification required", recommend legal counsel |
Prompt: "I'm preparing to launch a SaaS service and need the full legal document set. The service is called TaskFlow, it's a monthly subscription model, and we collect email, name, and phone number at signup." Expected Result:
Prompt: "I already have the terms of service, just write the privacy policy" Expected Result:
Prompt: "Create service terms, it's an app but I'll give you the details later" Expected Result:
| Agent | Extended Skill | Purpose |
|---|---|---|
| tos-specialist, consistency-reviewer | unfair-terms-detector | Detect unfair terms, check for terms law violations |
| consistency-reviewer, all agents | cross-document-linker | Cross-document referencing, consistency management |