legal

legal is a skill for Claude Code, Codex from cwklurks/ship-score. It costs 0 tokens per session (3,978 once invoked), scanned A, original, MIT.

A legal section of a production-readiness audit that checks five predefined legal requirements in a web project, including whether a privacy-policy page exists.

In plain words
What is it for?
Use it as part of a Ship Score audit for projects built with frameworks such as Next.js or Vite.
Why use it?
It helps identify legal-readiness problems before a website is released, using checks selected for the detected framework.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it as part of a Ship Score audit for projects built with frameworks such as Next.js or Vite.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cwklurks/ship-score/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 cwklurks/ship-score --skill legal
Clone the repo
git clone --depth 1 https://github.com/cwklurks/ship-score

Made for: Claude Code, Codex.

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 legal

README.md
[![agentmods](https://agentmods.dev/badge/skills/cwklurks/ship-score/legal/github.svg)](https://agentmods.dev/skills/cwklurks/ship-score/legal)
Your own site
<a href="https://agentmods.dev/skills/cwklurks/ship-score/legal"><img src="https://agentmods.dev/badge/skills/cwklurks/ship-score/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 legal

Your own site · 80×15
<a href="https://agentmods.dev/skills/cwklurks/ship-score/legal"><img src="https://agentmods.dev/badge/skills/cwklurks/ship-score/legal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,978 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.00000 $0.03978
Opus 5 $0.00000 $0.01989
Sonnet 5 $0.00000 $0.00796
Haiku 4.5 $0.00000 $0.00398

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

Security

Grade A, and why

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 11d 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 · 322 lines

How it starts

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

You are running the Legal category of a Ship Score production readiness audit. Follow every instruction below precisely. Do not add checks beyond the 5 defined here. Do not skip checks. Report exactly what you find.


Context You Receive

The orchestrator passes you:

Framework: [name] ([key])
Signals: [comma-separated detected features]
Root: [absolute path to project root]

Use the key value to select the correct framework-specific search patterns below. If the key is unknown, use the Generic/Vite patterns.


Checks

Run all 5 checks in order. For each check, follow the verification steps, determine the status, and record the evidence.


Check 1: Privacy Policy Page Exists

Severity: Critical

What to look for:

A dedicated privacy policy page that is accessible to users. This is legally required in most jurisdictions (GDPR, CCPA, etc.).

Framework-specific verification:

Framework What to glob / check
Next.js App Router (nextjs + app/ signal) Glob for app/privacy/page.tsx, app/privacy/page.ts, app/privacy/page.jsx, app/privacy/page.js, app/privacy-policy/page.tsx, app/privacy-policy/page.ts, app/privacy-policy/page.jsx, app/privacy-policy/page.js. Also check app/(*)/**/privacy*/page.* for route groups.
Next.js Pages Router (nextjs + pages/ signal) Glob for pages/privacy.tsx, pages/privacy.ts, pages/privacy.jsx, pages/privacy.js, pages/privacy-policy.tsx, pages/privacy-policy.ts, pages/privacy-policy.jsx, pages/privacy-policy.js.
Astro (astro) Glob for src/pages/privacy.astro, src/pages/privacy.md, src/pages/privacy.mdx, src/pages/privacy-policy.astro, src/pages/privacy-policy.md, src/pages/privacy-policy.mdx.
Vite/Generic (vite, node, unknown) Glob for public/privacy.html, public/privacy-policy.html, **/privacy.html, **/privacy-policy.html. Also glob for **/privacy*.tsx, **/privacy*.jsx, **/privacy*.vue, **/privacy*.svelte in a pages/, views/, or routes/ directory.

Read the full file on GitHub · 322 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. 11d ago First seen · 322 lines · 0 tokens per session scan A f50cce2c5804

Subscribe to this mod's changes

legal is a skill published in the GitHub repository cwklurks/ship-score (1 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,978 tokens. 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-31.

Related

Other skills, from other repositories

app-store-preflight-compliance

Pre-submission compliance scanner workflow for Apple App Store apps. Use when reviewing iOS, macOS, tvOS, watchOS, or visionOS projects (Swift, Objective-C, React Native, Expo) for App Store rejection risks, submission readiness, privacy compliance, or guideline violations.

RevylAI/greenlight · 65 tokens

yuwen-publish-precheck

A Chinese-language review workflow for checking content before publishing it on Douyin, Xiaohongshu, or WeChat Channels.

yuwen-cool/yuwen-publish-precheck · 206 tokens

user-research-cookiy

End-to-end user research assistant — qualitative and quantitative. Use this skill whenever the user mentions user research, user interviews, discussion guides, interview guides, research plans, qualitative research, quantitative research, user surveys, survey design, usability studies, participant recruitment…

cookiy-ai/user-research-skill · 154 tokens

Website Audit

Comprehensive website auditing skill using Lighthouse, PageSpeed Insights, and web performance APIs to audit performance, accessibility, SEO, best practices, and security.

PramodDutta/qaskills · 33 tokens

healthcare-providers-verify

Validates practitioner credentials and license status against the NPI registry. Cross-references specialties, credentials, and practice addresses against official records. Returns Verified / Partially Verified / Unverified / Flagged per practitioner with mismatch details and source URLs. Triggers: "verify these…

Nimbleway/agent-skills · 186 tokens

python-packaging-license-finder

Use this skill to deterministically find license information for Python packages by checking PyPI metadata first, then falling back to Git repository LICENSE files using shallow cloning.

opendatahub-io/ai-helpers · 38 tokens