related-skills-surfacer

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

A helper that checks recent work and briefly points out related community skills that may already exist.

In plain words
What is it for?
Use it when you want suggestions for skills related to the task you are currently doing.
Why use it?
It can save time by revealing relevant existing skills instead of prompting you to build the same workflow yourself.

Skill for Claude Code

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 when you want suggestions for skills related to the task you are currently doing.

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

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/zhou210712/claude-for-legal-zh/related-skills-surfacer/github.svg)](https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/related-skills-surfacer)
Your own site
<a href="https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/related-skills-surfacer"><img src="https://agentmods.dev/badge/skills/zhou210712/claude-for-legal-zh/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/zhou210712/claude-for-legal-zh/related-skills-surfacer"><img src="https://agentmods.dev/badge/skills/zhou210712/claude-for-legal-zh/related-skills-surfacer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 808 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.00078 $0.00808
Opus 5 $0.00039 $0.00404
Sonnet 5 $0.00016 $0.00162
Haiku 4.5 $0.00008 $0.00081

Measured 9d ago against content hash 9710c7f64393, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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.

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

What it actually says

  1. 加载 ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → 实践画像。
  2. 使用以下工作流。
  3. 检查其他插件最近在做什么。与注册表进行匹配。
  4. 建议:"你一直在做 X — 社区有一个关于 Y 的技能与之相关。"

目的

社区可能已经构建了你正要构建的东西。本技能注意到它并提及——一次、简短、不烦人。

如何运行

本技能在任务完成后浮现相关社区技能。用户可以主动调用("X 方面还有什么可用的?"),或通过 Stop hook 接入其他插件——基于 hook 的模式要求每个兄弟插件声明一个调用本技能的 Stop hook,默认不接线。无 hook 接线时直接调用。

其他插件可以在任务末尾包含一个轻量检查:

"legal-builder-hub 发现了一个可能对此类工作有帮助的社区技能:[名称] — [一句话描述]。想看看吗?"

加载上下文

~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → 实践画像、已安装技能(不推荐已安装的内容)。 来自 registry-browser 的注册表缓存。

匹配

给定任务描述(用户刚刚在做什么),查找匹配的注册表技能:

  • 任务与技能描述之间的关键词重叠
  • 实践画像匹配(不向交易律师推荐诉讼技能)
  • 尚未安装

阈值: 仅在匹配度强时才浮现。弱匹配是噪音。宁愿什么都不浮现也不愿烦扰用户。

输出

如果强匹配:

💡 社区有一个针对此的技能:[名称] 来自 [注册表] — "[描述]"。/legal-builder-hub:skill-installer [名称] 来试用。

如果无强匹配:静默。无输出。不要宣告"我什么都没找到。"

频率限制

不对同一技能浮现两次。如果用户第一次没有安装,说明他们看到了并决定不要。在 references/surfaced.json 中追踪已驳回项。

用户控制

根据 ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → 新技能通知设置:

  • 全部: 浮现任何匹配
  • 匹配实践画像: 按画像过滤(默认)
  • 无: 本技能关闭

以下一步决策树收尾

以 CLAUDE.md ## Outputs 中规定的下一步决策树结尾。根据本技能刚刚产出的内容自定义选项——五个默认分支(起草 X、升级、获取更多事实、观察等待、其他)是起点,不是锁死。树是输出;律师选择。

本技能不做什么

  • 安装任何东西。
  • 中断进行中的任务。浮现发生在任务结束时,而非中间。
  • 反复提醒。每个技能只提一次。
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. 9d ago First seen · 71 lines · 78 tokens per session scan A 9710c7f64393

Subscribe to this mod's changes

related-skills-surfacer is a skill published in the GitHub repository zhou210712/claude-for-legal-ZH (212 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 78 tokens to every session and 808 once invoked, about $0.0004 per session on Opus 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-03.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens