Agent skill

Legal Cog

by aAAaqwq in aAAaqwq/AGI-Super-Team

Legal demands two things: frontier-level reasoning and precision document generation.

MITAuto-check passedLegal & Compliance

Install Legal Cog

skills CLI
$ npx skills add aAAaqwq/AGI-Super-Team --skill legal-cog -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aAAaqwq/AGI-Super-Team legal-cog --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aAAaqwq/AGI-Super-Team.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/legal-cog .claude/skills/legal-cog && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
legal-cog
GitHub stars
105
Used in
1 other repo
Token cost
~1.9k tokens
SKILL.md length
842 words
Files
2
Skills in repo
167
Repo updated
First seen
Licence
MIT

At a glance

Legal demands two things: frontier-level reasoning and precision document generation.

  • Works in 5 steps: Specify jurisdiction: "A contract" is… → Name the parties clearly: Include entity… → Define the deal terms: Payment amounts,… → …
  • Tasks that involve Policy and terms drafting
  • SKILL.md covers Prerequisites, Important Note, What You Can Create and Why CellCog for Legal?, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Legal Cog is an agent skill from aAAaqwq/AGI-Super-Team. 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.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `_meta.json`).

It sits in Legal & Compliance, covering Policy and terms drafting, Contract review and Privacy and GDPR. The repository describes itself as: An installable, cross-framework AI organization: C-suite agents, expert subagents, curated skills, independent review, and one-command setup across 18 AI client/runtime adapters. The licence is MIT.

When your agent uses it

  • Tasks that involve Policy and terms drafting
  • Tasks that involve Contract review
  • Tasks that involve Privacy and GDPR

Example prompts

  • “/legal-cog”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Specify jurisdiction: "A contract" is vague. "A Delaware-governed contract for California-based parties" gives CellCog the legal context…
  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.

What it can do on your machine

Read from SKILL.md and the folder at commit 7cefd81. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Legal Cog loads about 1.9k tokens when it runs. Until then it costs about 116 tokens; SKILL.md has 842 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~116
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aAAaqwq/AGI-Super-Team at commit 7cefd81, republished under its MIT licence (© aAAaqwq). 842 words, ~1,898 tokens.

Download SKILL.mdSave it as .claude/skills/legal-cog/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
legal-cog
description
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.
author
CellCog
dependencies
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)."

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"
Show full SKILL.md (312 more words)Show less

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"

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 AICellCog Legal Cog
Generic contract templatesJurisdiction-aware, context-specific drafting
Basic text outputProfessional PDF with proper legal formatting
Surface-level clausesDeep reasoning about edge cases and implications
One formatContracts, policies, memos, research — all from one platform

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


  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.

© aAAaqwq, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/legal-cog of aAAaqwq/AGI-Super-Team.

  • SKILL.md
  • _meta.json

Open the folder on GitHubat commit 7cefd81

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in aAAaqwq/AGI-Super-Team, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Legal Cog next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Legal Cog compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legal Cog this skillaAAaqwq/AGI-Super-Team1051 repos~1.9kAutomated safety check: PassMIT
Legal Compliancetravisjneuman/.claude100—~3.4kAutomated safety check: PassMIT
Find Law Firmjeremylongshore/tons-of-skills-marketplace2.8k—~3.6kAutomated safety check: NotesMIT
Pii Contract Analyzegregmos/PII-Shield150—~8.9kAutomated safety check: NotesMIT
Contract Drafterrohasnagpal/legal-ai-skills180—~3.6kAutomated safety check: PassMIT
Legal Advisoraiskillstore/marketplace4339 repos~615Automated safety check: PassNone

Similar skills

  • Legal Compliance

    travisjneuman/.claude

    Legal and compliance expertise for corporate governance, contract analysis, regulatory compliance (SOX, GDPR, HIPAA), risk assessment, intellectual property, and litigation management.

    100 GitHub stars~3.4k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • Find Law Firm

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses whenever the user wants to find, shortlist, vet, or enrich US B2B law firms — corporate, IP/patent, M&A and securities, employment, commercial litigation…

    2.8k GitHub stars~3.6k tokensUpdated yesterday
    Legal & ComplianceAuto-check: notes
  • Pii Contract Analyze

    gregmos/PII-Shield

    Universal legal document processor with PII anonymization. An agent skill from gregmos/PII-Shield.

    150 GitHub stars~8.9k tokensUpdated 3 mo ago
    Legal & ComplianceAuto-check: notes
  • Contract Drafter

    rohasnagpal/legal-ai-skills

    Drafts a complete contract from a term sheet, negotiated heads or plain instructions — parties, recitals, definitions, operative clauses, schedules and boilerplate — in a specified posture and…

    180 GitHub stars~3.6k tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Legal Advisor

    aiskillstore/marketplace

    Draft privacy policies, terms of service, disclaimers, and legal notices.

    433 GitHub starsUsed in 9 repos~615 tokens
    Legal & ComplianceAuto-check passed
  • Internal Compliance Risk Identification

    THUYRan/Legal-Skills-Chinese

    Trigger this skill when a systematic review of an enterprise’s internal compliance management system is needed to identify gaps in policies, process defects, and data-privacy compliance risks.

    874 GitHub stars~6.4k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from aAAaqwq/AGI-Super-Team

All 167 skills in this repo
  • Content Creator

    aAAaqwq/AGI-Super-Team

    Create SEO-optimized marketing content with consistent brand voice.

    105 GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • Financial Calculator

    aAAaqwq/AGI-Super-Team

    Advanced financial calculator with future value tables, present value, discount calculations, markup pricing, and compound interest.

    105 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Bankr Signals

    aAAaqwq/AGI-Super-Team

    Transaction-verified trading signals on Base blockchain. An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub starsUsed in 2 repos~3.3k tokens
    Auto-check passed
  • Erc 8004

    aAAaqwq/AGI-Super-Team

    Register AI agents on Ethereum mainnet using ERC-8004 (Trustless Agents).

    105 GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Frontend Design Ultimate

    aAAaqwq/AGI-Super-Team

    Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.

    105 GitHub starsUsed in 2 repos~2.7k tokens
    Auto-check passed
  • Zsxq Smart Publish

    aAAaqwq/AGI-Super-Team

    Publish and manage content on 知识星球 (zsxq.com). An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed

Questions about Legal Cog

What does Legal Cog do?

Legal demands two things: frontier-level reasoning and precision document generation. Legal Cog is an agent skill from aAAaqwq/AGI-Super-Team. Legal demands two things: frontier-level reasoning and precision document generation.

When should I use Legal Cog?

Legal Cog fits situations like: tasks that involve Policy and terms drafting; tasks that involve Contract review; tasks that involve Privacy and GDPR.

How do I install Legal Cog in Claude Code?

Run `npx skills add aAAaqwq/AGI-Super-Team --skill legal-cog -a claude-code`. Or copy the skill folder (skills/legal-cog in aAAaqwq/AGI-Super-Team) into .claude/skills/legal-cog in your project. Claude Code loads it when a task matches its description.

How do I install Legal Cog in Codex?

Run `npx skills add aAAaqwq/AGI-Super-Team --skill legal-cog -a codex`. Or copy the skill folder (skills/legal-cog in aAAaqwq/AGI-Super-Team) into .agents/skills/legal-cog in your project. Codex loads it when a task matches its description.

Can I use Legal Cog in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aAAaqwq/AGI-Super-Team --skill legal-cog -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/legal-cog, .gemini/skills/legal-cog, .github/skills/legal-cog and .opencode/skills/legal-cog in your project.

What does Legal Cog need to run?

SKILL.md names no scripts, command-line tools or credentials: Legal Cog is instructions for the agent only. Our summary lists: Python 3.

Does Legal Cog access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Legal Cog safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Legal Cog use?

Legal Cog is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Legal Cog use?

About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Legal Cog?

Skills that share tags, products or a category with Legal Cog: Legal Compliance (travisjneuman/.claude, 100 stars), Find Law Firm (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Pii Contract Analyze (gregmos/PII-Shield, 150 stars) and Contract Drafter (rohasnagpal/legal-ai-skills, 180 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legal Cog?

aAAaqwq (a GitHub user) maintains it in aAAaqwq/AGI-Super-Team, which has 105 GitHub stars. The repository holds 167 skills in this directory. The repository was last updated on October 8, 2026.

Source: aAAaqwq/AGI-Super-Team on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.