policy-diff

Extract regulatory requirements and map them to indexed policy entries.

9.1k|1.8k|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/anthropics/claude-for-legal --skill policy-diff-anthropics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: policy-diff
Source: https://github.com/anthropics/claude-for-legal/tree/main/regulatory-legal/skills/policy-diff
Command: npx skills add https://github.com/anthropics/claude-for-legal --skill policy-diff-anthropics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you understand how a regulatory change affects your existing policy library by identifying which policy requirements need updates and what the compliance gaps are.

Core Features & Use Cases

  • Reg-to-policy gap analysis: Extracts discrete requirements from a regulatory change and maps them to the closest indexed policies.
  • Requirement-by-requirement diffs: Produces a structured summary and detailed gap narratives for direct and indirect policy hits.
  • Safety and scope guardrails: Verifies rule status when possible, forces explicit handling when the rule text is incomplete, and applies loud scope-limitation banners when the user restricts coverage.

Quick Start

Run policy-diff with the regulation name or paste the regulation text/summary to generate a policy diff and gap analysis against your indexed policy library.

Frequently Asked Questions about policy-diff

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze regulatory changes against my internal policy library?

To analyze regulatory changes against an internal policy library, this Skill extracts discrete new or modified requirements from the regulation and maps them to the closest indexed policy entries to identify compliance gaps.

What is regulatory policy gap analysis?

Regulatory policy gap analysis is the process of diffing regulatory changes against an indexed policy library, extracting discrete requirements, and classifying per-requirement compliance gaps as none, partial, or full.

Can I map specific Federal Register updates to my existing compliance policies?

Yes, you can map Federal Register updates to existing policies by pasting the regulation text or summary, which triggers requirement extraction and mapping to the closest indexed internal policy entries.

Does policy gap analysis work with incomplete rule text?

Yes, when rule text is incomplete, the Skill applies safety guardrails by forcing explicit handling and verifying rule status to ensure accurate per-requirement gap classification.

How do I generate a requirements mapping diff for legal workflows?

You generate a requirements mapping diff by running the Skill with a regulation name or text, which produces a structured summary and detailed gap narratives for direct and indirect policy hits.

What are the limitations of automated regulatory compliance diffing?

Automated regulatory compliance diffing requires an indexed internal policy library to map against, and applies scope-limitation banners when users restrict coverage to ensure explicit handling of material items.