{
  "schemaVersion": "1.0",
  "item": {
    "slug": "legal-cog",
    "name": "legal-cog",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/nitishgargiitd/legal-cog",
    "canonicalUrl": "https://clawhub.ai/nitishgargiitd/legal-cog",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/legal-cog",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=legal-cog",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/legal-cog"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/legal-cog",
    "agentPageUrl": "https://openagent3.xyz/skills/legal-cog/agent",
    "manifestUrl": "https://openagent3.xyz/skills/legal-cog/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/legal-cog/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Legal Cog - AI Legal Documents Powered by CellCog",
        "body": "Legal demands two things: frontier-level reasoning and precision document generation. CellCog delivers both.\n\nLegal is the frontier of human intelligence — and it's done best when powered by the frontier of AI intelligence. #1 on DeepResearch Bench (Feb 2026) for the deep reasoning that legal work requires, paired with state-of-the-art PDF generation for documents that look as professional as the thinking behind them."
      },
      {
        "title": "Prerequisites",
        "body": "This skill requires the cellcog skill for SDK setup and API calls.\n\nclawhub install cellcog\n\nRead the cellcog skill first for SDK setup. This skill shows you what's possible.\n\nQuick pattern (v1.0+):\n\nresult = client.create_chat(\n    prompt=\"[your legal document request]\",\n    notify_session_key=\"agent:main:main\",\n    task_label=\"legal-task\",\n    chat_mode=\"agent\"\n)"
      },
      {
        "title": "Important Note",
        "body": "CellCog generates legal documents using frontier AI reasoning and research. However, AI-generated legal documents should be reviewed by a qualified attorney before execution — especially for high-value contracts, regulated industries, or jurisdiction-specific requirements. CellCog provides an excellent starting point that saves significant time and cost, but human legal review remains important for critical documents."
      },
      {
        "title": "Contracts & Agreements",
        "body": "Professional contracts with proper clause structure:\n\nFreelance Agreements: \"Create a freelance services agreement for a web development project\"\nEmployment Contracts: \"Draft an employment contract for a senior engineer in California\"\nConsulting Agreements: \"Create a consulting agreement with milestone-based payments\"\nPartnership Agreements: \"Draft a partnership agreement for a 60/40 equity split startup\"\nLicensing Agreements: \"Create a software licensing agreement for SaaS distribution\"\n\nExample prompt:\n\n\"Create a freelance contractor agreement:\nClient: Acme Corp (Delaware C-Corp)\nContractor: Jane Smith (Web Developer, sole proprietor)\nProject: E-commerce website redesign\nDuration: 3 months (March 1 – May 31, 2026)\nPayment: $15,000 (50% upfront, 50% on completion)\nInclude: Scope of work, deliverables, payment terms, IP ownership (work-for-hire),\nconfidentiality, non-solicitation, termination clauses, dispute resolution (arbitration).\nProfessional legal formatting with numbered clauses.\""
      },
      {
        "title": "NDAs & Confidentiality",
        "body": "Protect your information:\n\nMutual NDA: \"Create a mutual NDA between two companies exploring a partnership\"\nEmployee NDA: \"Draft an employee confidentiality agreement with non-compete\"\nInvestor NDA: \"Create an NDA for sharing financial information with potential investors\"\nVendor NDA: \"Draft a one-way NDA for a vendor accessing our customer data\""
      },
      {
        "title": "Terms & Policies",
        "body": "Legal foundations for digital products:\n\nTerms of Service: \"Create terms of service for a SaaS platform\"\nPrivacy Policy: \"Draft a GDPR and CCPA-compliant privacy policy for a mobile app\"\nCookie Policy: \"Create a cookie consent policy for a European-facing website\"\nAcceptable Use Policy: \"Draft an acceptable use policy for a community platform\"\nEULA: \"Create an end-user license agreement for desktop software\"\nReturn Policy: \"Draft a refund and return policy for an e-commerce store\"\n\nExample prompt:\n\n\"Create a comprehensive privacy policy for:\nCompany: HealthTrack (health & fitness mobile app)\nData collected: Name, email, health metrics, workout data, location (optional)\nThird parties: Stripe (payments), Firebase (analytics), AWS (hosting)\nJurisdictions: Must comply with GDPR (EU users), CCPA (California), and HIPAA (health data)\nInclude: Data collection, use, storage, sharing, user rights, data deletion, breach notification,\nchildren's privacy (13+ only), and contact information.\nProfessional formatting, clear language (not impenetrable legalese).\""
      },
      {
        "title": "Legal Research & Compliance",
        "body": "Research-powered legal intelligence:\n\nRegulatory Research: \"Research GDPR requirements for AI-powered SaaS products\"\nCompliance Checklists: \"Create a SOC 2 compliance checklist for a startup\"\nLegal Memos: \"Draft a legal memo on intellectual property considerations for AI-generated content\"\nJurisdiction Analysis: \"Compare contractor vs. employee classification rules across US states\""
      },
      {
        "title": "Startup Legal Documents",
        "body": "Essential documents for founders:\n\nSAFE Notes: \"Create a SAFE note template for a pre-seed round\"\nFounder Agreements: \"Draft a co-founder agreement with vesting schedules\"\nAdvisor Agreements: \"Create an advisor agreement with 0.5% equity and 2-year vesting\"\nBoard Resolutions: \"Draft a board resolution for approving a new equity plan\""
      },
      {
        "title": "The Two Pillars",
        "body": "1. Intelligence — Legal work requires deep reasoning about context, jurisdiction, edge cases, and implications. CellCog's #1 ranking on DeepResearch Bench means it reasons about legal nuances at a level other AI tools can't match.\n\n2. Document Generation — Legal documents need precise formatting, proper clause numbering, consistent terminology, and professional presentation. CellCog's state-of-the-art PDF generation produces documents that look like they came from a top law firm.\n\nGeneric AICellCog Legal CogGeneric contract templatesJurisdiction-aware, context-specific draftingBasic text outputProfessional PDF with proper legal formattingSurface-level clausesDeep reasoning about edge cases and implicationsOne formatContracts, policies, memos, research — all from one platform"
      },
      {
        "title": "Chat Mode for Legal",
        "body": "ScenarioRecommended ModeSingle contract, NDA, or policy\"agent\"Complex multi-document legal packages\"agent\"Deep regulatory research or compliance analysis\"agent team\"\n\nUse \"agent\" for most legal documents. CellCog handles contracts, policies, and standard legal documents excellently in agent mode.\n\nUse \"agent team\" for complex legal research — multi-jurisdiction compliance analysis, regulatory deep-dives, or when the legal reasoning itself is the deliverable."
      },
      {
        "title": "Tips for Better Legal Documents",
        "body": "Specify jurisdiction: \"A contract\" is vague. \"A Delaware-governed contract for California-based parties\" gives CellCog the legal context it needs.\n\n\nName the parties clearly: Include entity types (LLC, Corp, sole proprietor) and locations.\n\n\nDefine the deal terms: Payment amounts, timelines, equity splits, deliverables — the more specific, the better.\n\n\nState what clauses matter: \"Include IP assignment, non-compete, and arbitration\" focuses the document.\n\n\nIndicate formality level: \"Standard startup-friendly language\" vs. \"formal corporate tone\" changes the output significantly."
      }
    ],
    "body": "Legal Cog - AI Legal Documents Powered by CellCog\n\nLegal demands two things: frontier-level reasoning and precision document generation. CellCog delivers both.\n\nLegal is the frontier of human intelligence — and it's done best when powered by the frontier of AI intelligence. #1 on DeepResearch Bench (Feb 2026) for the deep reasoning that legal work requires, paired with state-of-the-art PDF generation for documents that look as professional as the thinking behind them.\n\nPrerequisites\n\nThis skill requires the cellcog skill for SDK setup and API calls.\n\nclawhub install cellcog\n\n\nRead the cellcog skill first for SDK setup. This skill shows you what's possible.\n\nQuick pattern (v1.0+):\n\nresult = client.create_chat(\n    prompt=\"[your legal document request]\",\n    notify_session_key=\"agent:main:main\",\n    task_label=\"legal-task\",\n    chat_mode=\"agent\"\n)\n\nImportant Note\n\nCellCog generates legal documents using frontier AI reasoning and research. However, AI-generated legal documents should be reviewed by a qualified attorney before execution — especially for high-value contracts, regulated industries, or jurisdiction-specific requirements. CellCog provides an excellent starting point that saves significant time and cost, but human legal review remains important for critical documents.\n\nWhat You Can Create\nContracts & Agreements\n\nProfessional contracts with proper clause structure:\n\nFreelance Agreements: \"Create a freelance services agreement for a web development project\"\nEmployment Contracts: \"Draft an employment contract for a senior engineer in California\"\nConsulting Agreements: \"Create a consulting agreement with milestone-based payments\"\nPartnership Agreements: \"Draft a partnership agreement for a 60/40 equity split startup\"\nLicensing Agreements: \"Create a software licensing agreement for SaaS distribution\"\n\nExample prompt:\n\n\"Create a freelance contractor agreement:\n\nClient: Acme Corp (Delaware C-Corp) Contractor: Jane Smith (Web Developer, sole proprietor) Project: E-commerce website redesign Duration: 3 months (March 1 – May 31, 2026) Payment: $15,000 (50% upfront, 50% on completion)\n\nInclude: Scope of work, deliverables, payment terms, IP ownership (work-for-hire), confidentiality, non-solicitation, termination clauses, dispute resolution (arbitration).\n\nProfessional legal formatting with numbered clauses.\"\n\nNDAs & Confidentiality\n\nProtect your information:\n\nMutual NDA: \"Create a mutual NDA between two companies exploring a partnership\"\nEmployee NDA: \"Draft an employee confidentiality agreement with non-compete\"\nInvestor NDA: \"Create an NDA for sharing financial information with potential investors\"\nVendor NDA: \"Draft a one-way NDA for a vendor accessing our customer data\"\nTerms & Policies\n\nLegal foundations for digital products:\n\nTerms of Service: \"Create terms of service for a SaaS platform\"\nPrivacy Policy: \"Draft a GDPR and CCPA-compliant privacy policy for a mobile app\"\nCookie Policy: \"Create a cookie consent policy for a European-facing website\"\nAcceptable Use Policy: \"Draft an acceptable use policy for a community platform\"\nEULA: \"Create an end-user license agreement for desktop software\"\nReturn Policy: \"Draft a refund and return policy for an e-commerce store\"\n\nExample prompt:\n\n\"Create a comprehensive privacy policy for:\n\nCompany: HealthTrack (health & fitness mobile app) Data collected: Name, email, health metrics, workout data, location (optional) Third parties: Stripe (payments), Firebase (analytics), AWS (hosting) Jurisdictions: Must comply with GDPR (EU users), CCPA (California), and HIPAA (health data)\n\nInclude: Data collection, use, storage, sharing, user rights, data deletion, breach notification, children's privacy (13+ only), and contact information.\n\nProfessional formatting, clear language (not impenetrable legalese).\"\n\nLegal Research & Compliance\n\nResearch-powered legal intelligence:\n\nRegulatory Research: \"Research GDPR requirements for AI-powered SaaS products\"\nCompliance Checklists: \"Create a SOC 2 compliance checklist for a startup\"\nLegal Memos: \"Draft a legal memo on intellectual property considerations for AI-generated content\"\nJurisdiction Analysis: \"Compare contractor vs. employee classification rules across US states\"\nStartup Legal Documents\n\nEssential documents for founders:\n\nSAFE Notes: \"Create a SAFE note template for a pre-seed round\"\nFounder Agreements: \"Draft a co-founder agreement with vesting schedules\"\nAdvisor Agreements: \"Create an advisor agreement with 0.5% equity and 2-year vesting\"\nBoard Resolutions: \"Draft a board resolution for approving a new equity plan\"\nWhy CellCog for Legal?\nThe Two Pillars\n\n1. Intelligence — Legal work requires deep reasoning about context, jurisdiction, edge cases, and implications. CellCog's #1 ranking on DeepResearch Bench means it reasons about legal nuances at a level other AI tools can't match.\n\n2. Document Generation — Legal documents need precise formatting, proper clause numbering, consistent terminology, and professional presentation. CellCog's state-of-the-art PDF generation produces documents that look like they came from a top law firm.\n\nGeneric AI\tCellCog Legal Cog\nGeneric contract templates\tJurisdiction-aware, context-specific drafting\nBasic text output\tProfessional PDF with proper legal formatting\nSurface-level clauses\tDeep reasoning about edge cases and implications\nOne format\tContracts, policies, memos, research — all from one platform\nChat Mode for Legal\nScenario\tRecommended Mode\nSingle contract, NDA, or policy\t\"agent\"\nComplex multi-document legal packages\t\"agent\"\nDeep regulatory research or compliance analysis\t\"agent team\"\n\nUse \"agent\" for most legal documents. CellCog handles contracts, policies, and standard legal documents excellently in agent mode.\n\nUse \"agent team\" for complex legal research — multi-jurisdiction compliance analysis, regulatory deep-dives, or when the legal reasoning itself is the deliverable.\n\nTips for Better Legal Documents\n\nSpecify jurisdiction: \"A contract\" is vague. \"A Delaware-governed contract for California-based parties\" gives CellCog the legal context it needs.\n\nName the parties clearly: Include entity types (LLC, Corp, sole proprietor) and locations.\n\nDefine the deal terms: Payment amounts, timelines, equity splits, deliverables — the more specific, the better.\n\nState what clauses matter: \"Include IP assignment, non-compete, and arbitration\" focuses the document.\n\nIndicate formality level: \"Standard startup-friendly language\" vs. \"formal corporate tone\" changes the output significantly."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/nitishgargiitd/legal-cog",
    "publisherUrl": "https://clawhub.ai/nitishgargiitd/legal-cog",
    "owner": "nitishgargiitd",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/legal-cog",
    "downloadUrl": "https://openagent3.xyz/downloads/legal-cog",
    "agentUrl": "https://openagent3.xyz/skills/legal-cog/agent",
    "manifestUrl": "https://openagent3.xyz/skills/legal-cog/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/legal-cog/agent.md"
  }
}