legal-writing

legal-writing is a skill for Claude Code from anthropics/claude-for-legal. It costs 60 tokens per session (2,054 once invoked), scanned A, original, Apache-2.0.

A feedback tool for legal writing drafts such as memos, briefs, papers, and exam essays. It comments on structure, depth of analysis, clarity, style, and citation form, but does not rewrite the draft.

In plain words
What is it for?
Use it to critique a draft, identify the three most important changes, check whether the organisation supports the analysis, and track repeated writing problems.
Why use it?
It helps you improve your own legal writing without replacing your reasoning with text written by someone else.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the law-student plugin — 11 skills shipped together

Good fit Use it to critique a draft, identify the three most important changes, check whether the organisation supports the analysis, and track repeated writing problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anthropics/claude-for-legal/legal-writing
About the project

Claude for Legal is a collection of AI agents, skills, and data connectors for legal work such as commercial, privacy, employment, litigation, regulatory, and intellectual-property matters. Lawyers and legal teams use it through Claude Cowork, Claude Code, or the Claude Managed Agents API, with attorney review required for every output. The catalogue entries are its workflow plugins, skills, agents, and connectors.

anthropics/claude-for-legal · 9,991 stars · on GitHub

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 anthropics/claude-for-legal --skill legal-writing
Clone the repo
git clone --depth 1 https://github.com/anthropics/claude-for-legal

Made for: Claude Code.

Or install law-student, the plugin that ships this one along with the rest of its 11 skills.

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-writing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/anthropics/claude-for-legal/legal-writing"><img src="https://agentmods.dev/badge/skills/anthropics/claude-for-legal/legal-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,054 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. Third-party audits
  • Socket pass 14 Sept 2026
  • Snyk pass 14 Sept 2026
How audits are shown
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.00060 $0.02054
Opus 5.5 $0.00024 $0.00822
Sonnet 5.5 $0.00012 $0.00411
Haiku 4.5 $0.00006 $0.00205

Measured 1mo ago against content hash 33efcc074a48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

legal-writing 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

law-student/skills/legal-writing/SKILL.md · 168 lines

How it starts

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

  1. Load ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → class, writing skill level, past feedback patterns.
  2. Apply the framework below.
  3. Read full draft top to bottom. Identify structural type (memo / brief / paper / essay).
  4. Give structured feedback: structure first, analysis depth, clarity & style, top 3 fixes. Flag [VERIFY] on any substantive rule call I'm unsure about.
  5. At most 1-2 labeled example phrasings — illustrating structural moves, never substantive content on the student's topic. Every example labeled "write yours — don't copy."
  6. If asked to rewrite: refuse gracefully. Offer targeted structural feedback instead.
  7. Append to ~/.claude/plugins/config/claude-for-legal/law-student/writing-feedback/[student]/tracker.md for pattern detection.

Purpose

Writing is how lawyers think on paper. You don't get better at it by having someone else write it for you. This skill reads your draft, tells you what's weak and why, and points at what to change — without writing it for you.

Hard rule: no rewriting. Ever. Structural feedback is the product. Labeled example phrasings are permitted in small doses to illustrate a move (one or two per session, maximum) with an explicit "write yours, don't copy" label. If feedback ever drifts into "here's what your paragraph should say," the skill has failed its purpose.

Why the rule is strict

A student who uses Claude to write their memo is a student who didn't learn to write memos. On the exam — or at the firm — that student is slower, less confident, and more wrong than the one who struggled through their own drafts. The point of law school writing practice is the struggle. This skill preserves it.

Example phrasings are permitted sparingly because seeing structural moves (not content) is genuinely pedagogical — the 1L who has never read a well-structured analysis paragraph can't invent one from scratch. Showing the move once, labeled, is different from writing the analysis.

Read the full file on GitHub · 168 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. 1mo ago First seen · 168 lines · 60 tokens per session scan A 33efcc074a48

Subscribe to this mod's changes

legal-writing is a skill published in the GitHub repository anthropics/claude-for-legal (9,991 stars, last pushed 4d ago), licensed Apache-2.0. It adds 60 tokens to every session and 2,054 once invoked, about $0.0002 per session on Opus 5.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-09-23.

Related

legal-writing compared with skills from other repositories

legal-writing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
legal-writinganthropics/claude-for-legalSkill10.0k4d agoApache-2.0A60Claude Code
specification-writingwanshuiyin/Auto-claude-code-research-in-sleepSkill19k2d agoMITA49Claude Code
regulatory-research-fallbackHKUDS/OpenSpaceSkill7.9k6d agoMITA20Claude Code, Codex
terms-of-servicegenspark-ai/genofficeSkill12ktodayApache-2.0A32Claude Code, Codex
x-scorecardx-cmd/x-cmdSkill4.8k13d agoApache-2.0A57Claude Code, Codex
gesellschaftsrechtliche-satzungen-agbKlotzkette/claude-fuer-deutsches-rechtSkill1.8ktodayApache-2.0A69Claude Code
ai-risk-managementbriiirussell/cybersecurity-skillsSkill5173d agoMITA180Claude Code