related-skills-surfacer

related-skills-surfacer is a skill for Claude Code from anthropics/claude-for-legal. It costs 79 tokens per session (744 once invoked), scanned A, original, Apache-2.0.

A discovery tool that looks through watched registries for community skills related to the current task. A registry is a catalogue of available skills; the tool can also suggest relevant skills based on recent work.

In plain words
What is it for?
Use it to search for a skill, browse available legal skills, or ask what community tools may help with a task.
Why use it?
It helps you find existing tools before building or installing something yourself. It avoids suggesting skills that are already installed.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the legal-builder-hub plugin — 8 skills, 1 agent shipped together

Good fit Use it to search for a skill, browse available legal skills, or ask what community tools may help with a task.

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

Made for: Claude Code.

Or install legal-builder-hub, the plugin that ships this one along with the rest of its 8 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 related-skills-surfacer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/anthropics/claude-for-legal/related-skills-surfacer"><img src="https://agentmods.dev/badge/skills/anthropics/claude-for-legal/related-skills-surfacer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 744 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 12 Jun 2026
  • Snyk pass 12 Jun 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.00079 $0.00744
Opus 5.5 $0.00032 $0.00298
Sonnet 5.5 $0.00016 $0.00149
Haiku 4.5 $0.00008 $0.00074

Measured 1mo ago against content hash a678aa36c789, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

related-skills-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 1mo 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

Copies of this mod

1 near-identical copy found in the catalogue:

legal-builder-hub/skills/related-skills-surfacer/SKILL.md · 73 lines

How it starts

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

  1. Load ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → practice profile.
  2. Use the workflow below.
  3. Check what other plugins have been doing. Match against registry.
  4. Suggest: "You've been doing X — community has a skill for Y that's related."

Purpose

The community might have built the thing you're about to build. This skill notices and mentions it — once, briefly, non-annoyingly.

How it runs

This skill surfaces related community skills after a task. It can be invoked directly by the user ("what else is out there for X?") or wired into other plugins via a Stop hook — the hook-based pattern requires each sibling plugin to declare a Stop hook that calls this skill, which is not wired by default. Without the hook wiring, invoke it directly.

Other plugins can include a light check at the end of a task:

"The legal-builder-hub found a community skill that might help with this kind of thing: [name] — [one-line]. Want to take a look?"

Load context

~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → practice profile, installed skills (don't suggest what's already installed). Registry cache from registry-browser.

The match

Given a task description (what the user was just doing), find registry skills that match:

  • Keyword overlap between the task and skill descriptions
  • Practice profile fit (don't suggest litigation skills to a transactional lawyer)
  • Not already installed

Threshold: Only surface if the match is strong. Weak matches are noise. Better to surface nothing than to annoy.

Output

If strong match:

💡 The community has a skill for this: [name] from [registry] — "[description]". /legal-builder-hub:skill-installer [name] to try it.

If no strong match: silent. No output. Don't announce "I found nothing."

Frequency limit

Don't surface the same skill twice. If the user didn't install it the first time, they saw it and decided no. Track dismissals in references/surfaced.json.

Read the full file on GitHub · 73 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. 1mo ago First seen · 73 lines · 79 tokens per session scan A a678aa36c789

Subscribe to this mod's changes

related-skills-surfacer is a skill published in the GitHub repository anthropics/claude-for-legal (9,810 stars, last pushed 4d ago), licensed Apache-2.0. It adds 79 tokens to every session and 744 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.