gap-surfacer

gap-surfacer is a skill for Claude Code from anthropics/claude-for-legal. It costs 82 tokens per session (3,497 once invoked), scanned A, original, Apache-2.0.

A shared framework for tracking unresolved policy gaps and regulatory comment decisions. It records remediation status, shows aging work, routes items to owners, and can prepare Slack notifications that require confirmation before sending.

In plain words
What is it for?
Use it to ingest gaps from policy comparisons, review overdue items, assign or remind owners, and support the gap and comment trackers.
Why use it?
Compliance work can be lost between identification, assignment, reminders, and completion. This connects those steps while requiring a human confirmation before notifications are sent.

Skill for Claude Code ✓ vendor

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

Part of the regulatory-legal plugin — 6 skills, 1 agent shipped together

Good fit Use it to ingest gaps from policy comparisons, review overdue items, assign or remind owners, and support the gap and comment trackers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anthropics/claude-for-legal/gap-surfacer
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,693 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 gap-surfacer
Clone the repo
git clone --depth 1 https://github.com/anthropics/claude-for-legal

Made for: Claude Code.

Or install regulatory-legal, the plugin that ships this one along with the rest of its 6 skills, 1 agent.

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 gap-surfacer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/anthropics/claude-for-legal/gap-surfacer"><img src="https://agentmods.dev/badge/skills/anthropics/claude-for-legal/gap-surfacer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,497 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.00082 $0.03497
Opus 5.5 $0.00033 $0.01399
Sonnet 5.5 $0.00016 $0.00699
Haiku 4.5 $0.00008 $0.00350

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

Security

Grade A, and why

gap-surfacer 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 23d 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.

regulatory-legal/skills/gap-surfacer/SKILL.md · 243 lines

How it starts

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

Gap Surfacer

Owner notifications: on by default. To opt an owner out, leave owner_slack empty.

Per-send confirmation — no exceptions

Before sending ANY Slack message (assignment notice, overdue reminder, bulk notification, status report):

  1. Show the user exactly what you're about to send and to whom: "I'm about to send this to [N] people: [preview]."
  2. Wait for an explicit yes.
  3. If the message contains any citations, deadlines, or compliance conclusions, add: "⚠️ The citations in this message are unverified — I'm not confirming they're current before sending. Do you want me to add a 'verify before acting' line?"
  4. Never send without the confirm. Not on a cadence. Not in a batch. Not because it was sent yesterday.

Auto-send without confirmation is the most irreversible action in this plugin, sending content this plugin's own footer says may be wrong, to people who have no way to check. That combination does not get to skip review.

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

Gaps get found and then forgotten. This skill tracks them until they're closed and notifies the people responsible for closing them.

The tracker

Lives at ~/.claude/plugins/config/claude-for-legal/regulatory-legal/gap-tracker.yaml:

Note on comment-tracker.yaml: ~/.claude/plugins/config/claude-for-legal/regulatory-legal/comment-tracker.yaml is a sibling file owned by the comments skill. It is written to by reg-feed-watcher (which logs NPRMs automatically) and the comments skill (which tracks user-initiated comment decisions). This skill does not read or cross-reference it. If you modify the comment-tracker schema, update both actual consumers.

Read the full file on GitHub · 243 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 23d ago First seen · 243 lines · 82 tokens per session scan A 56fc5441d140

Subscribe to this mod's changes

gap-surfacer is a skill published in the GitHub repository anthropics/claude-for-legal (9,693 stars, last pushed 2d ago), licensed Apache-2.0. It adds 82 tokens to every session and 3,497 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-09-23.

Related

Other skills, from other repositories

vendor-review

Evaluate a vendor — cost analysis, risk assessment, and recommendation. Use when reviewing a new vendor proposal, deciding whether to renew or replace a contract, comparing two vendors side-by-side, or building a TCO breakdown and negotiation points before procurement sign-off.

anthropics/knowledge-work-plugins · 54 tokens

patent-docket

A workflow coordinator for patent case files, from an inventor's technical disclosure to patent application documents. A patent docket is the tracked record of a patent matter, including its stage, questions, drafts, and handoffs.

handsomestWei/patent-disclosure-skill · 93 tokens

hr-pro

Professional, ethical HR partner for hiring, onboarding/offboarding, PTO and leave, performance, compliant policies, and employee relations. Ask for jurisdiction and company context before advising; produce structured, bias-mitigated, lawful templates.

rmyndharis/antigravity-skills · 48 tokens

vendor-evaluation

Evaluate, select, and contract with vendors and SaaS tools. Use this skill when comparing alternatives, running an RFP, scoring vendors against criteria, negotiating contracts, planning a switch, or assessing a vendor's risk. Triggers on vendor evaluation, RFP, vendor selection, build vs buy, SaaS evaluation, vendor…

rampstackco/claude-skills · 99 tokens

performance-management

Runs performance systems that change behavior — expectations, feedback, review cycles, calibration, and handling underperformance. Use this to design or fix a review process, run calibration, write or coach on feedback, address sustained underperformance, or work out why reviews consume weeks and change nothing.

cbrock84/headcount · 59 tokens

67-agency-vendor-brief

Dung khi thue NGUOI NGOAI lam — agency, freelancer, production house, vendor: scope of work, spec deliverable, so vong sua, quy trinh duyet, moc thanh toan, dieu khoan IP va bao mat, bang danh gia vendor sau du an. Kich hoat khi user nhac 'brief agency', 'thue freelancer', 'quan ly vendor', 'scope of work', 'agency…

minhnv0807/ai-business-skills · 197 tokens