Install
openclaw skills install founder-legal-copilotLegal copilot that guides founders from incorporation to exit with 27 legal deliverables across 5 startup phases
openclaw skills install founder-legal-copilotA legal intelligence system for startup founders. Covers 27 legal deliverables across 5 startup phases — from incorporation to exit — using RAG-grounded analysis on verified legal templates from YC, NVCA, and Orrick.
Disclaimer: This skill produces educational legal analysis and document drafts. It is not a substitute for advice from a licensed attorney. Always have a qualified lawyer review documents before signing.
Use this skill when a founder needs to:
Do not use this skill for:
Copy .env.example to .env and populate:
cp .env.example .env
Required keys:
| Variable | Purpose |
|---|---|
FRIENDLIAI_API_KEY | Primary inference (GLM-5 via Friendly.ai) |
CONTEXTUAL_AI_API_KEY | RAG-grounded contract analysis |
APIFY_API_TOKEN | Live SEC/corporate records scraping |
REDIS_URL | Persistent deal memory across sessions |
ELEVENLABS_API_KEY | Voice narration (optional) |
CIVIC_CLIENT_ID | Auth and PII scrubbing |
Install required plugins before running:
openclaw plugin install redis-agent-memory
openclaw plugin install civic-nexus
openclaw mcp add apify https://mcp.apify.com
Generates a complete, execution-ready Simple Agreement for Future Equity based on the YC Post-Money SAFE template (2018 revision).
Input:
/safe-generator
--amount 500000
--valuation-cap 8000000
--discount 20
--mfn true
--pro-rata true
--company "Acme Corp (Delaware C-Corp)"
--investor "Sequoia Scout Fund"
Steps:
templates/safe-post-money.mdOutput: Complete SAFE document + risk summary + recommended next steps
Common flags:
--mfn: Most Favored Nation clause (standard for first checks)--pro-rata: Pro-rata rights in next round--discount: Discount rate (0-30%; typical: 15-20%)Analyzes any contract for founder-hostile terms. Compares against YC, NVCA, and Orrick baseline templates.
Input:
/contract-review --file contract.pdf
# or pipe text directly
/contract-review --text "$(cat term-sheet.md)"
Steps:
Risk dimensions analyzed:
Output format:
{
"risk_level": "yellow",
"score": 68,
"flags": [...],
"recommendations": [...],
"confidence": 0.91
}
Runs a 25-item legal checklist against the founder's described company state. Produces a scored report with prioritized remediation steps.
Input:
/health-check --stage seed --jurisdiction delaware
The skill will interactively ask about each item, or accept a pre-filled JSON:
/health-check --answers health-answers.json
Checklist categories:
Scoring:
Output: Scored report, prioritized to-do list, estimated attorney cost to remediate each gap
Pulls live corporate data via Apify MCP (SEC EDGAR, state records, bankruptcy databases) and produces a structured diligence report.
Input:
/due-diligence
--entity "Acme Corp"
--state "Delaware"
--ein "12-3456789"
--type acquirer
Steps:
Data sources used:
Output: Structured diligence report with findings, red flags (sorted by severity), and recommended follow-up actions
Every SAFE generated and contract reviewed is stored in the Redis memory plugin with the deal name as the key. To recall a previous deal:
/recall-deal --name "Acme Series A"
This enables multi-session deal tracking without re-uploading documents.
All four features support output in English, Spanish, Portuguese, and Mandarin:
/safe-generator ... --lang pt
/contract-review ... --lang es
Review multiple contracts in a single session:
/contract-review --batch contracts/ --output reports/
Any report can be narrated via ElevenLabs for accessibility or async review:
/health-check ... --voice --voice-id "rachel"
The RAG analysis endpoint has a per-minute limit. Add --no-rag to fall back to base model analysis (lower accuracy):
/contract-review --file contract.pdf --no-rag
SEC EDGAR and state database scrapes can time out on heavily loaded actors. Retry with --timeout 120:
/due-diligence ... --timeout 120
Check REDIS_URL in .env. For local development, run:
docker run -d -p 6379:6379 redis:alpine
SAFEs require a Delaware C-Corp. If the company is an LLC or S-Corp, the skill will halt and recommend conversion before fundraising.
Adjust the scrub sensitivity in skill/config.json under civic.sensitivity. Default is medium. Set to low for internal-only analysis where PII retention is acceptable.
All templates and analysis are grounded against verified sources. See skill/data/sources.json for the complete list. Primary references: