diff

diff is a skill for Claude Code from betobetico/claude-para-abogados. It costs 75 tokens per session (1,112 once invoked), scanned A, original, Apache-2.0.

A regulatory-change comparison tool that compares a new law, rule, guide, or official notice with an organisation's current internal policies. It reports what changed, which policies are affected, and possible updates.

In plain words
What is it for?
Use it to assess new regulations, identify affected policies, and produce a report of differences with suggested revisions.
Why use it?
It helps find where internal policies no longer match legal requirements after a regulatory change.

Skill for Claude Code

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

Part of the regulatorio plugin — 4 skills, 2 agents shipped together

Good fit Use it to assess new regulations, identify affected policies, and produce a report of differences with suggested revisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/betobetico/claude-para-abogados/diff
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 betobetico/claude-para-abogados --skill diff
Clone the repo
git clone --depth 1 https://github.com/betobetico/claude-para-abogados

Made for: Claude Code.

Or install regulatorio, the plugin that ships this one along with the rest of its 4 skills, 2 agents.

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 diff

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/betobetico/claude-para-abogados/diff"><img src="https://agentmods.dev/badge/skills/betobetico/claude-para-abogados/diff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,112 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.00075 $0.01112
Opus 5.5 $0.00030 $0.00445
Sonnet 5.5 $0.00015 $0.00222
Haiku 4.5 $0.00007 $0.00111

Measured 15d ago against content hash 8ca7565fbb08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diff 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 15d 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.

regulatorio/skills/diff/SKILL.md · 143 lines

How it starts

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

/diff

  1. Cargar ~/.claude/plugins/config/claude-para-abogados/regulatorio/CLAUDE.md → biblioteca de políticas, sectores, umbrales de materialidad.
  2. Identificar el cambio regulatorio (norma, reforma, guía, resolución).
  3. Comparar contra las políticas internas vigentes.
  4. Generar informe de diferencias con propuestas de actualización.
/regulatorio:diff
Se ha publicado el Real Decreto X/2026 que modifica los requisitos de
información precontractual en el sector financiero.

Propósito

Las políticas internas de una organización reflejan las obligaciones regulatorias vigentes en un momento dado. Cuando cambia la norma, las políticas quedan desalineadas. Este skill identifica exactamente qué ha cambiado, qué políticas internas se ven afectadas y propone la actualización concreta — antes de que el gap se convierta en incumplimiento.


Proceso de análisis

Paso 1: Identificar el cambio

Campo Contenido
Norma / Guía [referencia completa: rango, número, fecha, BOE/DOUE]
Tipo de cambio [Nueva norma / Reforma / Derogación / Guía interpretativa / Circular]
Fecha de publicación [fecha]
Entrada en vigor [fecha — inmediata o con vacatio legis]
Período transitorio [si existe — duración y condiciones]
Ámbito [sectorial / transversal; territorial: estatal / autonómico / UE]

Paso 2: Mapear el impacto

Para cada obligación nueva o modificada:

Obligación regulatoria Norma anterior Nueva norma Delta
[Ej., Plazo de notificación] [Lo que decía antes] [Lo que dice ahora] [Qué cambia]

Paso 3: Cruzar con políticas internas

Revisar la biblioteca de políticas internas del perfil:

Política interna Sección afectada Posición actual Nueva exigencia ¿Desalineada?
[Ej., Política de protección de datos] [Sección 4.2] [Lo que dice hoy] [Lo que debería decir] [Sí/No]

Paso 4: Proponer actualizaciones

Read the full file on GitHub · 143 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. 15d ago First seen · 143 lines · 75 tokens per session scan A 8ca7565fbb08

Subscribe to this mod's changes

diff is a skill published in the GitHub repository betobetico/claude-para-abogados (43 stars, last pushed 16d ago), licensed Apache-2.0. It adds 75 tokens to every session and 1,112 once invoked, about $0.0003 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-10-01.

Related

Other skills, from other repositories

fto-triage

Freedom-to-operate triage — a structured first look at potentially blocking patents, not an FTO opinion. Use when a product, process, or feature is being evaluated for blocking patents, when asked whether anything stops a launch, or to build a claim-chart first pass against the most plausible patents before patent…

anthropics/claude-for-legal · 81 tokens

legal-hold

Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.

anthropics/claude-for-legal · 68 tokens

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens