solo-legal

solo-legal is a skill for Claude Code from fortunto2/solo-factory. It costs 46 tokens per session (1,807 once invoked), scanned A, original, MIT.

A workflow for preparing legal pages and compliance documents for software projects, such as privacy policies and terms of service. GDPR and CCPA are data-protection laws.

In plain words
What is it for?
It is for preparing privacy policies, terms of service, GDPR or CCPA documents, and legal pages needed for app stores.
Why use it?
It helps address common legal and privacy-document needs for apps and websites.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; built for openclaw.

Part of the solo plugin — 45 skills, 2 commands, 3 agents, 3 hooks shipped together

Good fit It is for preparing privacy policies, terms of service, GDPR or CCPA documents, and legal pages needed for app stores.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fortunto2/solo-factory/legal
Install

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.

Any agent
npx skills add fortunto2/solo-factory --skill legal
Clone the repo
git clone --depth 1 https://github.com/fortunto2/solo-factory

Made for: Claude Code.

Or install solo, the plugin that ships this one along with the rest of its 45 skills, 2 commands, 3 agents, 3 hooks.

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

agentmods badge for solo-legal

README.md
[![agentmods](https://agentmods.dev/badge/skills/fortunto2/solo-factory/legal/github.svg)](https://agentmods.dev/skills/fortunto2/solo-factory/legal)
Your own site
<a href="https://agentmods.dev/skills/fortunto2/solo-factory/legal"><img src="https://agentmods.dev/badge/skills/fortunto2/solo-factory/legal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for solo-legal

Your own site · 80×15
<a href="https://agentmods.dev/skills/fortunto2/solo-factory/legal"><img src="https://agentmods.dev/badge/skills/fortunto2/solo-factory/legal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,807 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01807
Opus 5 $0.00023 $0.00903
Sonnet 5 $0.00009 $0.00361
Haiku 4.5 $0.00005 $0.00181

Measured 12d ago against content hash e415074c9b81, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

solo-legal 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 12d 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.

skills/legal/SKILL.md · 220 lines

How it starts

The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate privacy policy and terms of service tailored to the project's stack, features, and data handling. Aligned with manifesto privacy-first principles (templates/principles/manifest.md): on-device processing, local storage, no accounts when possible, user owns their data.

Disclaimer: Generated documents are templates, not legal advice. Review with a lawyer before publishing, especially for regulated industries (health, finance, children).

Steps

  1. Parse project from $ARGUMENTS.

    • Read docs/prd.md — features, ICP, data handling
    • Read CLAUDE.md — stack, services used
    • Read stack YAML from templates/stacks/{stack}.yaml if available
    • If empty: ask via AskUserQuestion
  2. Data audit — determine what data the product collects:

    Scan PRD and codebase config for:

    Data Type Collected? Stored Where Purpose
    Email/name Local / Supabase Account
    Usage analytics PostHog (EU) Product improvement
    Payment info Stripe (not stored locally) Billing
    User content On-device / local DB Core feature
    Location
    Device info
    Cookies
    Third-party SDKs

    For each "yes": note the legal basis (consent, legitimate interest, contract).

    Manifest alignment check:

    • Data stored locally? (offline-first principle)
    • Can user export all their data?
    • Can user delete all their data?
    • Any data sent to third parties without explicit consent?
    • Does the app work without an account?
  3. Detect applicable regulations:

    Regulation Applies When Key Requirements
    GDPR EU users or EU-based business Consent, right to access/delete/port, DPA with processors
    CCPA/CPRA California users, >$25M revenue or >100K consumers Right to know/delete/opt-out, "Do Not Sell"
    App Store iOS app Privacy nutrition labels, ATT framework
    Play Store Android app Data safety section, deletion policy
    COPPA Users under 13 Parental consent (flag if ICP includes children)

Read the full file on GitHub · 220 lines

Changes

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.

  1. 12d ago First seen · 220 lines · 46 tokens per session scan A e415074c9b81

Subscribe to this mod's changes

solo-legal is a skill published in the GitHub repository fortunto2/solo-factory (18 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,807 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

security-compliance

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding security throughout the SDLC.

sangrokjung/claude-forge · 56 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

memstack-business-contract-template

Use this skill when the user says 'contract', 'agreement', 'service agreement', 'NDA', 'freelance contract', 'consulting agreement', or needs service agreements with IP ownership, payment terms, and termination clauses. Do NOT use for invoicing or client onboarding.

cwinvestments/memstack · 63 tokens

audit-licenses

Use to list the open-source licenses of every dependency in this project, grouped by license family. Flags GPL or AGPL dependencies that may force the project itself to be open-source. Triggers on /audit-licenses.

garagon/nanostack · 48 tokens

license-audit

Use to audit the open-source licenses of every direct dependency in this project before shipping. Flags GPL/AGPL as BLOCKED, unknown as WARN. Triggers on /license-audit.

garagon/nanostack · 42 tokens

privacy-check

Use to detect personal-data collection signals (email forms, payment fields, telemetry libraries) before shipping. Surfaces missing privacy notes. Not a legal review. Triggers on /privacy-check.

garagon/nanostack · 41 tokens