reg-gap-analysis

reg-gap-analysis is a skill for Claude Code from Buildwise-Studios/claude-for-hk-law. It costs 90 tokens per session (3,177 once invoked), scanned A, a copy of reg-gap-analysis, Apache-2.0.

A workflow for comparing a new AI regulation or official guidance with an organisation’s existing AI governance. It identifies which rules apply and where current practices fall short.

In plain words
What is it for?
Use it to assess regulations such as the EU AI Act, assign remediation work, and record what must be done, should be done, is already covered, or is accepted as a gap.
Why use it?
It turns a new legal requirement into a prioritised list of changes, so teams do not have to compare regulations and internal policies manually.

Skill for Claude Code

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

Part of the ai-governance-legal plugin — 10 skills, 2 MCP servers shipped together

Good fit Use it to assess regulations such as the EU AI Act, assign remediation work, and record what must be done, should be done, is already covered, or is accepted as a gap.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/buildwise-studios/claude-for-hk-law/reg-gap-analysis
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 Buildwise-Studios/claude-for-hk-law --skill reg-gap-analysis
Clone the repo
git clone --depth 1 https://github.com/Buildwise-Studios/claude-for-hk-law

Made for: Claude Code.

Or install ai-governance-legal, the plugin that ships this one along with the rest of its 10 skills, 2 MCP servers.

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 reg-gap-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/buildwise-studios/claude-for-hk-law/reg-gap-analysis/github.svg)](https://agentmods.dev/skills/buildwise-studios/claude-for-hk-law/reg-gap-analysis)
Your own site
<a href="https://agentmods.dev/skills/buildwise-studios/claude-for-hk-law/reg-gap-analysis"><img src="https://agentmods.dev/badge/skills/buildwise-studios/claude-for-hk-law/reg-gap-analysis/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 reg-gap-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/buildwise-studios/claude-for-hk-law/reg-gap-analysis"><img src="https://agentmods.dev/badge/skills/buildwise-studios/claude-for-hk-law/reg-gap-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,177 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 92% copy Near-identical to another mod 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.00090 $0.03177
Opus 5 $0.00045 $0.01588
Sonnet 5 $0.00018 $0.00635
Haiku 4.5 $0.00009 $0.00318

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

Security

Grade A, and why

reg-gap-analysis 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 12d 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

This is a copy

92% identical to reg-gap-analysis — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

ai-governance-legal/skills/reg-gap-analysis/SKILL.md · 242 lines

How it starts

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

/reg-gap-analysis

  1. Read ~/.claude/plugins/config/claude-for-hk-law/ai-governance-legal/CLAUDE.md. Confirm regulatory footprint and use case registry are populated.
  2. Use the framework below.
  3. Scope: does this regulation apply? (Jurisdiction, threshold, builder/deployer, sector.) If not, one line and done.
  4. Extract requirements. Diff against current state in ~/.claude/plugins/config/claude-for-hk-law/ai-governance-legal/CLAUDE.md.
  5. Prioritize gaps. Output: remediation plan with must-do / should-do / already compliant / accepted gaps.
  6. Save as dated markdown doc for the file.
/ai-governance-legal:reg-gap-analysis "EU AI Act high-risk provisions"

Purpose

The PCPD updates AI guidance. Colorado passes an AI law. The CFPB issues model risk guidance. The FTC publishes an AI enforcement policy. Something moves — and now you need to know what, if anything, you have to change.

This skill diffs the new requirement against your current AI governance posture (per ~/.claude/plugins/config/claude-for-hk-law/ai-governance-legal/CLAUDE.md — use case registry, vendor positions, impact assessment practices, and AI policy commitments) and produces a gap list with a remediation plan.

The AI regulatory landscape is moving faster than any other area of law right now. When a regulation is genuinely ambiguous, say so. Don't paper over uncertainty — legal teams need to know when they're on solid ground versus when they're making a judgment call.

Load current state

Read ~/.claude/plugins/config/claude-for-hk-law/ai-governance-legal/CLAUDE.md:

  • ## Regulatory footprint — what already applies
  • ## Use case registry — what AI you're actually running, and under what conditions
  • ## AI policy commitments — what you've publicly or contractually committed to
  • ## Vendor AI governance — what vendor positions are in place
  • ## Impact assessment house style — what assessment practices exist

If the regulation clearly doesn't apply (wrong jurisdiction, below threshold, wrong sector, builder/deployer distinction eliminates you from scope), say so directly: "Doesn't apply. Here's why: [reason]. No action needed."

Read the full file on GitHub · 242 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. 12d ago First seen · 242 lines · 90 tokens per session scan A d0511697e9c2

Subscribe to this mod's changes

reg-gap-analysis is a skill published in the GitHub repository Buildwise-Studios/claude-for-hk-law (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 90 tokens to every session and 3,177 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to reg-gap-analysis, differing in 20 lines, and is treated as a copy.

Related

Other skills, from other repositories

c2pa-metadata

Embed a C2PA provenance manifest into an AI-generated marketing asset (PNG, JPG, WebP, GIF, TIFF, MP4, MOV, WebM, MP3, WAV, PDF) via scripts/embed-c2pa.py — produces a signed copy of the file carrying IPTC digital-source-type AI claims, an optional c2pa.ai-disclosure assertion for EU AI Act Article 50 (applicable 2…

indranilbanerjee/digital-marketing-pro · 183 tokens

employment-compliance

Covers the employment rules that carry real penalties — exempt and non-exempt classification, overtime and hours, employee versus contractor status, work authorization and recordkeeping, accommodation requests, and the notices and retention obligations that go with them. Use this to classify a role, review a…

cbrock84/headcount · 87 tokens

privacy-jp

A Japanese-language document generator for services built with Next.js. It creates privacy policies, terms of service, consent dialogs, and cookie banners while considering Japan's personal-information and consumer-protection laws.

kimlawtech/korean-privacy-terms · 74 tokens

revenue-recognition

Determines when and how revenue is recognized — performance obligations, contract terms that change the answer, and the deal structures that create accounting problems. Use this to work out how a contract should be recognized, review a non-standard deal before it is signed, understand deferred revenue, or spot terms…

cbrock84/headcount · 69 tokens

contract-review

Reviews and negotiates commercial agreements — MSAs, SOWs, order forms, NDAs, vendor and data-processing agreements — identifying material risk, proposing positions, and recommending a path rather than listing issues. Use this to review a contract before signature, prepare a negotiation position, build fallback…

cbrock84/headcount · 74 tokens

privacy-and-data-protection

Assesses and improves how personal data is collected, used, shared, and retained — data mapping, lawful basis, consent, processor agreements, subject rights, and breach obligations. Use this before launching anything that handles personal data, when adding a vendor that will process it, when a data subject request…

cbrock84/headcount · 86 tokens