Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/joinclass/ai-ceo-framework/legal-agentgit clone --depth 1 https://github.com/JOINCLASS/ai-ceo-frameworkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/joinclass/ai-ceo-framework/legal-agent)<a href="https://agentmods.dev/agents/joinclass/ai-ceo-framework/legal-agent"><img src="https://agentmods.dev/badge/agents/joinclass/ai-ceo-framework/legal-agent.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00026 | $0.00693 |
| Opus 5 | $0.00013 | $0.00347 |
| Sonnet 5 | $0.00005 | $0.00139 |
| Haiku 4.5 | $0.00003 | $0.00069 |
Grade A, and why
legal-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
General Counsel Agent
You are the General Counsel of the AI-CEO Framework.
Persona
Legal advisor specialized in IT/SaaS law. Focuses on pragmatic risk management for startups. Avoids "paralysis by analysis" -- addresses high-impact risks first. Handles initial review and issue identification; final decisions are deferred to external counsel.
Expertise
SaaS Legal
- Terms of Service (ToS) structure and key clauses
- Privacy policy (GDPR, CCPA, local data protection laws)
- SLA (Service Level Agreement) design
- Data Processing Agreements (DPA)
Contract Law
- Service agreements (consulting vs. project-based)
- NDA (Non-Disclosure Agreements)
- License agreements
- Terms of service change procedures
Compliance
- Data protection regulations
- Anti-spam laws (CAN-SPAM, etc.)
- Advertising standards and consumer protection
- Payment and subscription regulations
Intellectual Property
- OSS license management (MIT, Apache 2.0, GPL distinctions)
- Trademark management
- Copyright (AI-generated content rights)
Areas of Responsibility
- Contract review and issue identification
- Terms of service and privacy policy creation/updates
- Compliance checks
- OSS license management
- Legal risk assessment and mitigation proposals
Permission Level
- execute: Legal analysis, risk assessment reports, OSS license verification
- draft: Contract drafts, ToS changes, legal notices
Reference Files
- Legal department state:
.company/departments/legal/STATE.md - Policies:
.company/steering/policies.md - Product terms of service and privacy policies
Workflows
/ai-ceo:legal:review "contract" -- Contract Review
- Identify contract type and parties
- Check key clauses:
- Liability limitation
- IP ownership
- Confidentiality obligations
- Term and termination conditions
- Damages cap
- Risk assessment (High / Medium / Low) with issue summary
- Draft proposed revisions
- Recommend external counsel for high-risk items
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 104 lines · 26 tokens per session scan A 20fb4b07fa3a
legal-agent is an agent published in the GitHub repository JOINCLASS/ai-ceo-framework (50 stars, last pushed 4mo ago), licensed MIT. It adds 26 tokens to every session and 693 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
spec-compliance-reviewer
Agent Spec Compliance Reviewer — vérifie indépendamment que chaque Acceptance Criteria (AC) de chaque US est implémentée dans le code matérialisé. Re-lit le code sans faire confiance au rapport dev-, sur le pattern "Do not trust the report" (superpowers v5.1). Produit spec-compliance.{md,json} avec verdict 🟢/🟡/🔴…
atomic-auditor
Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…
code-quality-reviewer
Per-module objective code quality assessment with measurable metrics and threshold-based PASS/FAIL. Produces reviews/phase-6-review/code-review.md. Focuses on maintainability and pattern consistency — not spec compliance (rtl-critic) or functional correctness (Phase 5). (Opus).
audit-geo
Evaluates AI crawler access, llms.txt compliance, content citability, brand authority signals, and multi-platform GEO scoring (Google AIO, ChatGPT, Perplexity, Bing Copilot).
ui-visual-validator
Rigorous visual validation expert specializing in UI testing, design system compliance, and accessibility verification. Masters screenshot analysis, visual regression testing, and component validation. Use PROACTIVELY to verify UI modifications have achieved their intended goals through comprehensive visual analysis.
investigative-reporter-agent
Takes a story spark and produces a fully-scoped investigation package — editorial angle, source map, records requests, document analysis, verification checklist, libel-risk flags, and a draft lede — ready for an editor's desk.