gap-surfacer
Skill by anthropics
Tracks open policy gaps and comment decisions for the regulatory-legal plugin, from ingest through closure. It is built for legal and compliance teams that need gaps routed to owners.
Install gap-surfacer
Built from the published package, never by AI.
git clone --depth 1 https://github.com/anthropics/claude-for-legal /tmp/claude-for-legal && mkdir -p ~/.claude/skills && cp -r /tmp/claude-for-legal/regulatory-legal/skills/gap-surfacer ~/.claude/skills/gap-surfacerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/anthropics/claude-for-legal /tmp/claude-for-legal && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-for-legal/regulatory-legal/skills/gap-surfacer ~/.gemini/antigravity-cli/skills/gap-surfacerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a shared reference framework behind the /regulatory-legal:gaps and /regulatory-legal:comments commands. It keeps a gap tracker that records each requirement, the regulation, the affected policy, the owner, the due date, and the remediation status. It ingests new gaps from policy-diff, de-duplicates them, and produces status reports that separate overdue items, items due soon, watch items, and closed items.
It can notify gap owners through Slack when Slack is available. Every Slack message, including reminders and bulk notices, is previewed and needs an explicit yes before it is sent. The skill is intended for in-house and firm legal and compliance staff who track regulatory obligations. It is loaded by the gaps and comments skills rather than run directly.
Written from the project's SKILL.md and checked against it.
What it can do
- Gap trackingRecords open policy gaps with requirement, regulation, affected policy, owner, due date and status.
- Ingest from policy-diffAdds gaps found by policy-diff to the tracker and skips duplicates.
- Status reportGroups gaps into overdue, due in under 30 days, open, watch, in progress and recently closed.
- Owner routingAssigns gaps to owners from the policy library and flags unassigned gaps.
- Slack notificationsPreviews assignment and reminder messages and sends them only after per-send confirmation.
- Due-date remindersSets reminder timing by gap type, such as 30 days for compliance gaps and 21 days for comment decisions.
- Unverified rule handlingRoutes items with unconfirmed rule status to watch instead of marking them overdue.
- Citation tagsKeeps source tags and verify notes on citations so they are checked before reliance.
What you need
- Slack MCP, for owner notifications
- Practice configuration in the regulatory-legal CLAUDE.md file
- The policy-diff skill, for gap ingestion
Try asking
- Show my open policy gaps grouped by overdue and due soon
- Add the gaps from this policy-diff run to the tracker
- List the watch items and their comment deadlines
Good to know
- Loaded by the gaps and comments skills; not intended to be invoked directly.
- Regulation citations are AI-generated upstream and must be verified before relying on them.
- Owner notifications require Slack MCP; without it, the report flags items for manual follow-up.
- Every Slack message needs explicit confirmation and is never sent automatically.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: regulatory-legal/skills/gap-surfacer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md15 KB -
references/comment-tracker.yaml726 B -
references/gap-tracker.yaml432 B
Alternatives to gap-surfacer
All alternatives →Diagnoses slow React components and suggests targeted performance fixes. Built for developers who want to reduce re-renders or list lag in React UIs.
Diagnoses slow React components and suggests targeted performance fixes. Built for React developers who need to reduce re-renders, list lag, or expensive render work.
Designs masterclass-style lectures as slide courses with dense pages, long teacher narration and rare quizzes. Built for subjects where understanding matters more than hands-on practice.
Designs hands-on workshop courses in which the learner practises through exercise and quiz pages instead of watching. It suits workshops, bootcamp sessions and skills the learner should leave able to use.
Analyzes competition and develops market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps. Useful for founders and teams evaluating competitors or preparing a startup or investor pitch.
Designs courses whose content depends on current or external facts. It researches the topic first, records each claim with its source, and builds the outline and pages from fetched material. Built for educators teaching time-sensitive subjects.
Compare with react-component-performance, react-component-performance or lecture-style
gap-surfacer: common questions
Does it send Slack messages automatically?
No. The source requires a preview of each message, a list of recipients, and an explicit yes before any Slack message is sent, including batches and reminders.
How does it handle gaps where the rule may not be in force?
If the rule status is unverified, the item is marked as review needed and moved to the watch bucket, so it is not classed as overdue.
Can I rely on the citations it tracks?
The source says citations were AI-generated upstream and not checked against a primary source. They should be confirmed against the issuing authority or a research platform before closing a gap or citing it.
How do I install gap-surfacer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gap-surfacer free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is gap-surfacer safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gap-surfacer?
Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.
