legal-cog

Legal demands two things: frontier-level reasoning and precision document generation. CellCog delivers both. #1 on DeepResearch Bench (Feb 2026) for the intelligence that legal work requires, paired with state-of-the-art document generation for contracts, NDAs, terms of service, privacy policies, compliance reviews, and legal research. AI contract generator, legal document drafting, NDA creator, terms of service, privacy policy, compliance, legal AI.

33 stars

Best use case

legal-cog is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Legal demands two things: frontier-level reasoning and precision document generation. CellCog delivers both. #1 on DeepResearch Bench (Feb 2026) for the intelligence that legal work requires, paired with state-of-the-art document generation for contracts, NDAs, terms of service, privacy policies, compliance reviews, and legal research. AI contract generator, legal document drafting, NDA creator, terms of service, privacy policy, compliance, legal AI.

Teams using legal-cog should expect a more consistent output, faster repeated execution, less prompt rewriting, better workflow continuity with your supporting tools.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.
  • You already have the supporting tools or dependencies needed by this skill.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/legal-cog/SKILL.md --create-dirs "https://raw.githubusercontent.com/aAAaqwq/AGI-Super-Team/main/skills/legal-cog/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/legal-cog/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How legal-cog Compares

Feature / Agentlegal-cogStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Legal demands two things: frontier-level reasoning and precision document generation. CellCog delivers both. #1 on DeepResearch Bench (Feb 2026) for the intelligence that legal work requires, paired with state-of-the-art document generation for contracts, NDAs, terms of service, privacy policies, compliance reviews, and legal research. AI contract generator, legal document drafting, NDA creator, terms of service, privacy policy, compliance, legal AI.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Legal Cog - AI Legal Documents Powered by CellCog

**Legal demands two things: frontier-level reasoning and precision document generation.** CellCog delivers both.

Legal 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.

---

## Prerequisites

This skill requires the `cellcog` skill for SDK setup and API calls.

```bash
clawhub install cellcog
```

**Read the cellcog skill first** for SDK setup. This skill shows you what's possible.

**Quick pattern (v1.0+):**
```python
result = client.create_chat(
    prompt="[your legal document request]",
    notify_session_key="agent:main:main",
    task_label="legal-task",
    chat_mode="agent"
)
```

---

## Important Note

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.

---

## What You Can Create

### Contracts & Agreements

Professional contracts with proper clause structure:

- **Freelance Agreements**: "Create a freelance services agreement for a web development project"
- **Employment Contracts**: "Draft an employment contract for a senior engineer in California"
- **Consulting Agreements**: "Create a consulting agreement with milestone-based payments"
- **Partnership Agreements**: "Draft a partnership agreement for a 60/40 equity split startup"
- **Licensing Agreements**: "Create a software licensing agreement for SaaS distribution"

**Example prompt:**
> "Create a freelance contractor agreement:
> 
> Client: 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)
> 
> Include: Scope of work, deliverables, payment terms, IP ownership (work-for-hire),
> confidentiality, non-solicitation, termination clauses, dispute resolution (arbitration).
> 
> Professional legal formatting with numbered clauses."

### NDAs & Confidentiality

Protect your information:

- **Mutual NDA**: "Create a mutual NDA between two companies exploring a partnership"
- **Employee NDA**: "Draft an employee confidentiality agreement with non-compete"
- **Investor NDA**: "Create an NDA for sharing financial information with potential investors"
- **Vendor NDA**: "Draft a one-way NDA for a vendor accessing our customer data"

### Terms & Policies

Legal foundations for digital products:

- **Terms of Service**: "Create terms of service for a SaaS platform"
- **Privacy Policy**: "Draft a GDPR and CCPA-compliant privacy policy for a mobile app"
- **Cookie Policy**: "Create a cookie consent policy for a European-facing website"
- **Acceptable Use Policy**: "Draft an acceptable use policy for a community platform"
- **EULA**: "Create an end-user license agreement for desktop software"
- **Return Policy**: "Draft a refund and return policy for an e-commerce store"

**Example prompt:**
> "Create a comprehensive privacy policy for:
> 
> Company: 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)
> 
> Include: Data collection, use, storage, sharing, user rights, data deletion, breach notification,
> children's privacy (13+ only), and contact information.
> 
> Professional formatting, clear language (not impenetrable legalese)."

### Legal Research & Compliance

Research-powered legal intelligence:

- **Regulatory Research**: "Research GDPR requirements for AI-powered SaaS products"
- **Compliance Checklists**: "Create a SOC 2 compliance checklist for a startup"
- **Legal Memos**: "Draft a legal memo on intellectual property considerations for AI-generated content"
- **Jurisdiction Analysis**: "Compare contractor vs. employee classification rules across US states"

### Startup Legal Documents

Essential documents for founders:

- **SAFE Notes**: "Create a SAFE note template for a pre-seed round"
- **Founder Agreements**: "Draft a co-founder agreement with vesting schedules"
- **Advisor Agreements**: "Create an advisor agreement with 0.5% equity and 2-year vesting"
- **Board Resolutions**: "Draft a board resolution for approving a new equity plan"

---

## Why CellCog for Legal?

### The Two Pillars

**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.

**2. 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.

| Generic AI | CellCog Legal Cog |
|-----------|-------------------|
| Generic contract templates | Jurisdiction-aware, context-specific drafting |
| Basic text output | Professional PDF with proper legal formatting |
| Surface-level clauses | Deep reasoning about edge cases and implications |
| One format | Contracts, policies, memos, research — all from one platform |

---

## Chat Mode for Legal

| Scenario | Recommended Mode |
|----------|------------------|
| Single contract, NDA, or policy | `"agent"` |
| Complex multi-document legal packages | `"agent"` |
| Deep regulatory research or compliance analysis | `"agent team"` |

**Use `"agent"` for most legal documents.** CellCog handles contracts, policies, and standard legal documents excellently in agent mode.

**Use `"agent team"` for complex legal research** — multi-jurisdiction compliance analysis, regulatory deep-dives, or when the legal reasoning itself is the deliverable.

---

## Tips for Better Legal Documents

1. **Specify jurisdiction**: "A contract" is vague. "A Delaware-governed contract for California-based parties" gives CellCog the legal context it needs.

2. **Name the parties clearly**: Include entity types (LLC, Corp, sole proprietor) and locations.

3. **Define the deal terms**: Payment amounts, timelines, equity splits, deliverables — the more specific, the better.

4. **State what clauses matter**: "Include IP assignment, non-compete, and arbitration" focuses the document.

5. **Indicate formality level**: "Standard startup-friendly language" vs. "formal corporate tone" changes the output significantly.

Related Skills

legal-risk-assessment

33
from aAAaqwq/AGI-Super-Team

Structured legal risk assessment with 5x5 Severity x Likelihood matrix. Use for risk scoring, risk registers, escalation decisions, and risk memos.

legal-review

33
from aAAaqwq/AGI-Super-Team

Review legal documents (NDA, contracts, agreements) for sensitive clauses, risks, and red flags

legal-advisor

33
from aAAaqwq/AGI-Super-Team

Draft privacy policies, terms of service, disclaimers, and legal notices. Creates GDPR-compliant texts, cookie policies, and data processing agreements.

wemp-operator

33
from aAAaqwq/AGI-Super-Team

> 微信公众号全功能运营——草稿/发布/评论/用户/素材/群发/统计/菜单/二维码 API 封装

Content & Documentation

zsxq-smart-publish

33
from aAAaqwq/AGI-Super-Team

Publish and manage content on 知识星球 (zsxq.com). Supports talk posts, Q&A, long articles, file sharing, digest/bookmark, homework tasks, and tag management. Use when publishing content to 知识星球, creating/editing posts, uploading files/images/audio, managing digests, batch publishing, or formatting content for 知识星球.

zoom-automation

33
from aAAaqwq/AGI-Super-Team

Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.

zoho-crm-automation

33
from aAAaqwq/AGI-Super-Team

Automate Zoho CRM tasks via Rube MCP (Composio): create/update records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.

ziliu-publisher

33
from aAAaqwq/AGI-Super-Team

字流(Ziliu) - AI驱动的多平台内容分发工具。用于一次创作、智能适配排版、一键分发到16+平台(公众号/知乎/小红书/B站/抖音/微博/X等)。当用户需要多平台发布、内容排版、格式适配时使用。触发词:字流、ziliu、多平台发布、一键分发、内容分发、排版发布。

zhihu-post-skill

33
from aAAaqwq/AGI-Super-Team

> 知乎文章发布——知乎平台内容创作与发布自动化

zendesk-automation

33
from aAAaqwq/AGI-Super-Team

Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.

youtube-knowledge-extractor

33
from aAAaqwq/AGI-Super-Team

This skill performs deep analysis of YouTube videos through **both information channels** Multimodal YouTube video analysis through both audio (transcript) and visual (frame extraction + image analysis) channels. Especially powerful for HowTo videos, tutorials, demos, and explainer videos where what is SHOWN (screenshots, UI demos, diagrams, code, physical actions) is just as important as what is SAID. Use this skill whenever a user wants to analyze, summarize, or create step-by-step guides from YouTube videos, or when they share a YouTube URL and want to understand what happens in the video. Triggers on requests like "Analyze this YouTube video", "Create a step-by-step guide from this video", "What does this video show?", "Summarize this tutorial", or any YouTube URL shared with analysis intent.

youtube-factory

33
from aAAaqwq/AGI-Super-Team

Generate complete YouTube videos from a single prompt - script, voiceover, stock footage, captions, thumbnail. Self-contained, no external modules. 100% free tools.