policy-diff
Skill9.6k starsChanged 7 months agoApache-2.0View on GitHub
Diff a specific regulatory change against the indexed policy library. Use when a reg has changed and you need to know which policies it touches and what the gap is, when the user says "diff this reg against our policies", "which policy does this affect", or "gap analysis", or when reg-feed-watcher hands off a material item.
Trending
Quiet since October.about the whole repository
Who's talking about anthropics/claude-for-legal
- A Hacker News story“Claude for Legal”Hacker News · May 14, 2026 · 225 points
- @sungkim.bsky.social“github.com/anthropics/c...”Bluesky · May 13, 2026 · 3 likes
- @qdrddr.bsky.social“A set of plugins by Anthropic to draft #legal papers. #OpenSource Apache 2.0 lic github.com/anthropics/c...”Bluesky · May 14, 2026 · 2 likes
- @bruess.law“Und wieder wird das Ende der (menschlichen) Juristerei prophezeit github.com/anthropics/c...”Bluesky · May 13, 2026 · 2 likes
- @c0ast3r.endrun.io“I have been testing the legal skills from Claude I tweaked a few and use a few others from skills.sh, I …”Bluesky · Aug 21, 2026 · 1 likes
The biggest 5 of 58 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 58
Talked about on GitHub, Bluesky and Hacker News (58 times).
On GitHub · 50
- Oct 7, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Oct 3, 2026agent-skills.github.anthropics.claude-for-legal: init at 0-unstable-2026-07-23 — sudosubin/agents.nix0 reactions
- Oct 3, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 30, 2026[Candidate] anthropics/claude-for-legal - large collection (151 SKILL.md files) — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 30, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
45 more on GitHub
- Sep 24, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 23, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 23, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 19, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 19, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 2, 2026実在しなかった出典3件を、正しい公式発表に差し替え — 022740mix-spec/AI-News0 reactions
- Aug 25, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 21, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 18, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 14, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 11, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 7, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 4, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 31, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 31, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 28, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 24, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 23, 2026Adopt upstream claude-for-legal changes through 4a6c651889c9 — datenzar/claude-fuer-deutsches-recht0 reactions
- Jul 21, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 18, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 17, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 17, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 15, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 14, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 14, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 14, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 10, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 7, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 5, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 4, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 4, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 2, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 1, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jun 29, 2026Upstream drift report — bharatnain/bharats-claude-toolkit0 reactions
- Jun 27, 2026Doctor report: https://github.com/anthropics/claude-for-legal/blob/main/employment-legal/skills/international-expansion — modiqo/skillspec0 reactions · 2 comments
- Jun 27, 2026Doctor report: https://github.com/anthropics/claude-for-legal/tree/main/commercial-legal/skills/nda-review — modiqo/skillspec0 reactions · 1 comment
- Jun 26, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jun 19, 2026Adopt upstream claude-for-legal changes through 5ceb305b30b4 — datenzar/claude-fuer-deutsches-recht0 reactions · 2 comments
- May 26, 2026[Bug]: Claude plugins installation failed in Cloud — different-ai/openwork0 reactions
- May 26, 2026All contributors have signed the CLA ✍️ ✅<br/><sub>Posted by the **CLA Assistant Lite bot**.</sub> — openssl/openssl0 reactions
- May 15, 2026Tren Komunitas AI -- 2026-05-15 — rahmanramsi/daily-digest-ai0 reactions
- May 15, 2026Tren Komunitas AI -- 2026-05-15 — rahmanramsi/daily-digest-ai0 reactions
- May 15, 2026Tren Komunitas AI -- 2026-05-15 — rahmanramsi/daily-digest-ai0 reactions
- May 15, 2026📰 Hacker News AI 社区动态日报 2026-05-15 — ivanweng2077/big_model_radar0 reactions
- May 14, 2026📰 데일리 뉴스 & 영감 | 2026-05-15 (Friday) — wonbrand107-tech/wonbrand0 reactions
On Bluesky · 7
- May 13, 2026github.com/anthropics/c... — @sungkim.bsky.social3 likes and reposts
- May 14, 2026A set of plugins by Anthropic to draft #legal papers. #OpenSource Apache 2.0 lic github.com/anthropics/c... — @qdrddr.bsky.social2 likes and reposts
- May 13, 2026Und wieder wird das Ende der (menschlichen) Juristerei prophezeit github.com/anthropics/c... — @bruess.law2 likes and reposts
- Aug 21, 2026I have been testing the legal skills from Claude I tweaked a few and use a few others from skills.sh, I think I have gotten mine to a good… — @c0ast3r.endrun.iosays it tested it1 likes and repost
- May 17, 2026📰 Claude for Legal: A GitHub repository has been created to provide Claude, an AI language model, as a legal assistant tool. 🔗… — @sagalinked.bsky.social1 likes and repost
2 more on Bluesky
- May 15, 2026Claude for legal #claude #ai #machinelearning #artificialintelligence #technology #legal — @todaystopainews.bsky.social1 likes and repost
- May 13, 2026I can't be the only person who looks at the list of agents here and thinks that 3 years ago most of these were viable legal tech products… — @samharden.bsky.social1 likes and repost · 1 reply
On Hacker News · 1
- May 14, 2026Claude for Legal225 points · 193 comments
In this repository163 other files it gives its agents.
- ai-governance-legal/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- commercial-legal/CLAUDE.mdCLAUDE.md
- corporate-legal/CLAUDE.mdCLAUDE.md
- employment-legal/CLAUDE.mdCLAUDE.md
- ip-legal/CLAUDE.mdCLAUDE.md
- law-student/CLAUDE.mdCLAUDE.md
- legal-builder-hub/CLAUDE.mdCLAUDE.md
- legal-clinic/CLAUDE.mdCLAUDE.md
- litigation-legal/CLAUDE.mdCLAUDE.md
- privacy-legal/CLAUDE.mdCLAUDE.md
- product-legal/CLAUDE.mdCLAUDE.md
- regulatory-legal/CLAUDE.mdCLAUDE.md
- aia-generationSkill
- ai-inventorySkill
- cold-start-interviewSkill
- customizeSkill
- matter-workspaceSkill
- policy-monitorSkill
- policy-starterSkill
- reg-gap-analysisSkill
- use-case-triageSkill
- vendor-ai-reviewSkill
- amendment-historySkill
- cold-start-interviewSkill
- customizeSkill
- escalation-flaggerSkill
- matter-workspaceSkill
- nda-reviewSkill
- renewal-trackerSkill
- review-proposalsSkill
- reviewSkill
- saas-msa-reviewSkill
- stakeholder-summarySkill
- vendor-agreement-reviewSkill
- ai-tool-handoffSkill
- board-minutesSkill
- closing-checklistSkill
- cold-start-interviewSkill
- customizeSkill
- deal-team-summarySkill
- diligence-issue-extractionSkill
- entity-complianceSkill
- integration-managementSkill
- material-contract-scheduleSkill
- matter-workspaceSkill
- tabular-reviewSkill
- written-consentSkill
- cold-start-interviewSkill
- customizeSkill
- expansion-kickoffSkill
- expansion-updateSkill
- handbook-updatesSkill
- hiring-reviewSkill
- internal-investigationSkill
- international-expansionSkill
- investigation-addSkill
- investigation-memoSkill
- investigation-openSkill
- investigation-querySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use the workflow below.
- Distinctive: line 32
If the user asks you to exclude a policy section, requirement, or category from the diff:
- Distinctive: line 34
Do it — the user owns the scope.
- Distinctive: line 45
Before diffing a rule against policy, confirm the rule is actually in force.
- Distinctive: line 65
Read the regulatory change.
- Distinctive: line 79
No match: no policy addresses this — gap is "policy doesn't exist"
- Distinctive: line 119
If the regulatory input is an ANPR or RFI (no imposed requirements), do NOT run a full gap-closure diff.
- Distinctive: line 124
Do NOT produce per-requirement "no gap" rows for an ANPR — there are no requirements to diff against.
- Distinctive: line 128
If every requirement in the extracted list comes out as "no gap against [the named policy]," do NOT produce the full per-requirement …
- Distinctive: line 190
Owner missing for a matched policy: leave the Owner cell blank in the summary and append: "Policy owners aren't set for [list].
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/policy-diff
- Load
~/.claude/plugins/config/claude-for-legal/regulatory-legal/CLAUDE.md→ policy library index. - Use the workflow below.
- Extract requirements from the reg. Match to indexed policies.
- Output: per-requirement gap analysis, which policy needs updating.
Matter context
Matter context. Check ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is ✗ (the default for in-house users), skip the rest of this paragraph — skills use practice-level context and the matter machinery is invisible. If enabled and there is no active matter, ask: "Which matter is this for? Run /regulatory-legal:matter-workspace switch <slug> or say practice-level." Load the active matter's matter.md for matter-specific context and overrides. Write outputs to the matter folder at ~/.claude/plugins/config/claude-for-legal/regulatory-legal/matters/<matter-slug>/. Never read another matter's files unless Cross-matter context is on.
Purpose
A reg changed. You have policies. This skill finds which policies the change touches and what the gap is between "what the reg now requires" and "what the policy says."
Load context
~/.claude/plugins/config/claude-for-legal/regulatory-legal/CLAUDE.md → policy library index (policies, locations, owners).
Scope integrity
If the user asks you to exclude a policy section, requirement, or category from the diff:
- Do it — the user owns the scope.
- But flag it, loudly and permanently: "⚠️ SCOPE LIMITATION: Section [X] excluded at user request. This diff does not reflect the full policy. Gaps in the excluded area are NOT identified." Above the header, carried to every downstream artifact.
- Hand the flag to
gap-surfacer: "This diff was scope-limited. Do not represent it as a complete compliance picture." Include the scope-limitation banner verbatim on any gap tracker entry derived from this diff. - Note what the exclusion means: "Excluding vendor management means the diff will show 'no policy addresses vendor management' — which is worse than showing the gap."
A compliance artifact built on an undisclosed scope exclusion looks like concealment in discovery. The flag is the difference between "we scoped the review" and "we hid the problem."
Workflow
Step 0: Verify rule status before you diff
Before diffing a rule against policy, confirm the rule is actually in force. Red flags that the rule may not be in force:
- The applicability/compliance date has passed by more than 30 days but you have no confirmation it wasn't delayed
- The rule is more than 12 months old
- The rule is a politically contentious final rule (major rulemakings are frequently challenged)
When you see a red flag, check (via research MCP, web search if enabled, or the Federal Register docket) for: delays, stays, injunctions, rescission proposals, vacatur, or amendments. If you can check and the rule is confirmed in force, proceed. If you cannot verify (no tools connected), emit this banner ABOVE the header, before any content:
⚠️ RULE STATUS UNVERIFIED — I could not confirm this rule is currently in force. Final rules are frequently stayed, enjoined, delayed, or rescinded after publication. Do not treat any compliance date below as binding until you confirm the rule's status at the Federal Register docket or with outside counsel.
Tag every due date in the output: [due date per published rule — status unverified].
Rule-status uncertainty travels downstream. When handing off a gap to gap-surfacer, mark the item status_verified: false so it never gets routed to an Overdue bucket on the strength of a published date alone.
Step 1: Extract the new requirements
No silent supplement. If the regulatory change text is partial or ambiguous and the fuller rule isn't available from the indexed source, stop and ask. Do NOT fill the gap from web search or model knowledge without asking. Say: "I have [what you have]. To extract requirements accurately I'd need [what's missing]. Options: (1) paste the full text, (2) point me at the primary source, (3) search the web for the rule — results will be tagged [web search — verify] and should be checked against the issuing authority before relying, or (4) stop here. Which would you like?" A lawyer decides whether to accept lower-confidence sources; Claude does not decide for them.
Source attribution. Tag every citation — the regulatory citation, any cross-references, any policy excerpts — with where it came from: [<regulator or research tool>] for items retrieved from a primary source, policy library, or MCP; [web search — verify] for items pulled from web search; [model knowledge — verify] for items recalled from the model's training data; [user provided] for items pasted in by the user. Items tagged verify carry higher fabrication risk and should be checked first. Never strip or collapse the tags in the output.
Read the regulatory change. List each discrete new or changed requirement:
| # | Requirement | Effective | Citation |
| 1 | [what it requires] | [date] | [section] |
Be specific. "Enhanced disclosure requirements" is not a requirement. "Must disclose X in Y format at Z point in the flow" is.
Step 2: Map to policies
For each requirement, which indexed policy is closest?
- Direct hit: policy explicitly covers this topic
- Indirect: policy covers a related topic, this is a new sub-issue
- No match: no policy addresses this — gap is "policy doesn't exist"
Step 3: Diff
For each direct or indirect hit, read the policy and compare:
### Requirement [N]: [name]
**New rule requires:** [requirement]
**Our policy ([name], last updated [date]) says:**
> "[relevant excerpt]"
**Gap:** [None — policy already covers this | Partial — policy addresses X but not Y | Full — policy contradicts or doesn't address]
**Change needed:** [specific — "add a paragraph on X" not "update the policy"]
**Policy owner:** [from index]Step 4: No-match gaps
Requirements with no policy match get called out separately:
### New policy needed
Requirement [N]: [requirement]
No existing policy covers this. Options:
- Draft new policy (suggested owner: [whoever owns the closest topic])
- Add to existing [related policy] as a new section
- Determine this doesn't need a policy (one-off compliance, not ongoing)Branches by regulatory input type
Pre-rule branch (ANPR / RFI)
If the regulatory input is an ANPR or RFI (no imposed requirements), do NOT run a full gap-closure diff. Instead, produce a pre-positioning analysis:
- Name the policies that will likely need to change once a final rule issues (not today).
- Flag whether any of the ANPR's issue areas intersect with the company's practice in a way that warrants a comment letter.
- Note the comment deadline and the team's comment-decision owner from
~/.claude/plugins/config/claude-for-legal/regulatory-legal/CLAUDE.md. - Do NOT produce per-requirement "no gap" rows for an ANPR — there are no requirements to diff against. Produce one paragraph naming the future exposure and the policies it would touch.
Negative-finding branch (final rule / NPRM diffed against a policy that isn't the right target)
If every requirement in the extracted list comes out as "no gap against [the named policy]," do NOT produce the full per-requirement analysis — compress to a single short paragraph:
## Policy Diff: [Regulation name] — [Policy name]
[REGULATION] doesn't appear to require a change to [POLICY NAME]. [POLICY NAME]
§[X] already covers [Y]. The policies this regulation actually touches are
[other-policy-1] and [other-policy-2] — rerun `/regulatory-legal:policy-diff` against those.
Review on [next cycle — e.g., "at the next annual policy review"] or if
[trigger — e.g., "the rule is finalized or amended"].One paragraph, one recommendation, routing note. Don't repeat the "no gap" finding for every requirement — the summary table handles that. A negative finding against the wrong target policy is a routing problem, not a compliance analysis.
Gap branch (final rule / NPRM with at least one gap against the target policy)
Full per-requirement analysis as specified below. The detailed diff format is for diffs that actually find gaps.
Output
[WORK-PRODUCT HEADER — per plugin config ## Outputs — differs by role; see `## Who's using this`]
## Policy Diff: [Regulation name]
**Regulation:** [name, link]
**Effective:** [date]
**Requirements extracted:** [N]
### Bottom line
[N gaps need action by [date] — top 3: X, Y, Z]
### Summary
| # | Requirement | Policy affected | Gap | Owner |
|---|---|---|---|---|
| 1 | [short] | [policy name or "none"] | None/Partial/Full | [name] |
### Detailed diffs
[Each requirement block from Step 3]
### New policies needed
[From Step 4, if any]
### No-gap requirements
[List — useful to know what's already covered]
---
**Verify citations before relying on them.** The regulatory citations and policy references above were AI-generated and have not been checked against a primary source. Before acting on any requirement here, confirm the rule against Westlaw, your firm's research platform, or the issuing authority's website — check accuracy, effective date, and current status. AI-generated regulatory citations are sometimes fabricated, misquoted, or stale. Source tags on each requirement (e.g., `[Federal Register]`, `[web search — verify]`) show where the citation came from; `verify` tags carry higher fabrication risk and should be checked first.Config-dependent fallbacks
This skill reads the policy library index from ~/.claude/plugins/config/claude-for-legal/regulatory-legal/CLAUDE.md. When the index is empty or still [PLACEHOLDER]:
- Policy library empty: flag every requirement as "no policy match" by default and append to the output: "The policy library in your configuration is empty, so every requirement is flagged as a new-policy gap. If you have policies that address these requirements, add them to the library with
/regulatory-legal:cold-start-interview --redoor by editing~/.claude/plugins/config/claude-for-legal/regulatory-legal/CLAUDE.md, then re-run the diff." - Owner missing for a matched policy: leave the Owner cell blank in the summary and append: "Policy owners aren't set for [list]. Assign them with
/regulatory-legal:cold-start-interview --redoor by editing the policy library in~/.claude/plugins/config/claude-for-legal/regulatory-legal/CLAUDE.mdso gap-surfacer can route."
Say nothing about config when the library is populated and owners are set.
Handoff
To gap-surfacer: every Partial or Full gap becomes a tracked item with owner and deadline.
Close with the next-steps decision tree
End with the next-steps decision tree per CLAUDE.md ## Outputs. Customize the options to what this skill just produced — the five default branches (draft the X, escalate, get more facts, watch and wait, something else) are a starting point, not a lock-in. The tree is the output; the lawyer picks.
What this skill does not do
- Draft the policy updates. It identifies what needs updating; policy-drafting (or a human) drafts.
- Interpret ambiguous regulatory text definitively. If the reg could be read two ways, say so and flag for counsel.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

