{"id":"16142599-b594-4a0f-a252-68ecab818699","shortId":"3LGmmV","kind":"skill","title":"local-and-mcp-skill-name-deduplication","tagline":"Merge local and MCP skill sources into one listing surface and dedupe by stable command name before announcing them.","description":"# SKILL: Local-and-MCP Skill Name Deduplication\n**Domain:** skill-listing\n**Trigger:** Apply when a listing surface combines commands from multiple registries or providers and must avoid announcing the same user-facing capability twice.\n**Source Pattern:** Distilled from reviewed command-surface, skill-discovery, and CLI capability implementations.\n\n## Core Method\nCollect commands from each relevant source independently, then merge them into one announcement surface before any later filtering or formatting runs. Deduplicate the merged list by the stable user-facing command name rather than by source-specific IDs so identical capabilities from different providers collapse into one entry. This preserves broad coverage across local and remote registries while preventing the listing from double-counting equivalent commands simply because they were discovered through different backends.\n\n## Key Rules\n- Load each source separately first so the merge step remains explicit and future sources can be added without rewriting downstream logic.\n- Deduplicate on the stable presentation key the user actually sees, such as command name, not on internal source identifiers.\n- Run deduplication before later listing filters or formatting so downstream budget and delta logic operate on the real surface area.\n- Keep the single-source fast path when secondary sources are empty so the common case stays simple and cheap.\n\n## Example Application\nIf a coding agent can discover reusable skills from the current project and from connected MCP servers, gather both sets, merge them, and collapse entries that share the same slash-command name before rendering the skill catalog. The user sees one coherent listing instead of duplicates for the same command coming from different registries.\n\n## Anti-Patterns (What NOT to do)\n- Do not concatenate multiple registries and announce them raw; duplicate command names will inflate the listing and confuse consumers.\n- Do not deduplicate on backend-specific IDs when the real collision happens at the user-visible command name.","tags":["local","and","mcp","skill","name","deduplication","cskill","agents","ychampion","agent-skills","ai-agents","cli"],"capabilities":["skill","source-ychampion","skill-local-and-mcp-skill-name-deduplication","topic-agent-skills","topic-ai-agents","topic-cli","topic-coding-agents","topic-context-engineering","topic-developer-tools","topic-mcp","topic-multi-agent","topic-terminal-ui"],"categories":["cskill-agents"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/ychampion/cskill-agents/local-and-mcp-skill-name-deduplication","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add ychampion/cskill-agents","source_repo":"https://github.com/ychampion/cskill-agents","install_from":"skills.sh"}},"qualityScore":"0.467","qualityRationale":"deterministic score 0.47 from registry signals: · indexed on github topic:agent-skills · 34 github stars · SKILL.md body (2,067 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T06:56:50.271Z","embedding":null,"createdAt":"2026-04-18T22:20:36.451Z","updatedAt":"2026-04-22T06:56:50.271Z","lastSeenAt":"2026-04-22T06:56:50.271Z","tsv":"'across':134 'actual':188 'ad':175 'agent':244 'announc':25,55,92,309 'anti':297 'anti-pattern':296 'appli':40 'applic':240 'area':218 'avoid':54 'backend':156,327 'backend-specif':326 'broad':132 'budget':209 'capabl':61,76,122 'case':234 'catalog':278 'cheap':238 'cli':75 'code':243 'coher':283 'collaps':126,264 'collect':80 'collis':333 'combin':45 'come':292 'command':22,46,69,81,111,148,192,272,291,313,340 'command-surfac':68 'common':233 'concaten':305 'confus':320 'connect':255 'consum':321 'core':78 'count':146 'coverag':133 'current':251 'dedup':19 'dedupl':7,34,101,180,200,324 'delta':211 'differ':124,155,294 'discov':153,246 'discoveri':73 'distil':65 'domain':35 'doubl':145 'double-count':144 'downstream':178,208 'duplic':287,312 'empti':230 'entri':129,265 'equival':147 'exampl':239 'explicit':169 'face':60,110 'fast':224 'filter':97,204 'first':163 'format':99,206 'futur':171 'gather':258 'happen':334 'id':119,329 'ident':121 'identifi':198 'implement':77 'independ':86 'inflat':316 'instead':285 'intern':196 'keep':219 'key':157,185 'later':96,202 'list':16,38,43,104,142,203,284,318 'load':159 'local':2,9,29,135 'local-and-mcp':28 'local-and-mcp-skill-name-dedupl':1 'logic':179,212 'mcp':4,11,31,256 'merg':8,88,103,166,261 'method':79 'multipl':48,306 'must':53 'name':6,23,33,112,193,273,314,341 'one':15,91,128,282 'oper':213 'path':225 'pattern':64,298 'present':184 'preserv':131 'prevent':140 'project':252 'provid':51,125 'rather':113 'raw':311 'real':216,332 'registri':49,138,295,307 'relev':84 'remain':168 'remot':137 'render':275 'reusabl':247 'review':67 'rewrit':177 'rule':158 'run':100,199 'secondari':227 'see':189,281 'separ':162 'server':257 'set':260 'share':267 'simpl':236 'simpli':149 'singl':222 'single-sourc':221 'skill':5,12,27,32,37,72,248,277 'skill-discoveri':71 'skill-list':36 'skill-local-and-mcp-skill-name-deduplication' 'slash':271 'slash-command':270 'sourc':13,63,85,117,161,172,197,223,228 'source-specif':116 'source-ychampion' 'specif':118,328 'stabl':21,107,183 'stay':235 'step':167 'surfac':17,44,70,93,217 'topic-agent-skills' 'topic-ai-agents' 'topic-cli' 'topic-coding-agents' 'topic-context-engineering' 'topic-developer-tools' 'topic-mcp' 'topic-multi-agent' 'topic-terminal-ui' 'trigger':39 'twice':62 'user':59,109,187,280,338 'user-fac':58,108 'user-vis':337 'visibl':339 'without':176","prices":[{"id":"48b78099-46a3-4356-9c8f-3e2b2bf98c5b","listingId":"16142599-b594-4a0f-a252-68ecab818699","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"ychampion","category":"cskill-agents","install_from":"skills.sh"},"createdAt":"2026-04-18T22:20:36.451Z"}],"sources":[{"listingId":"16142599-b594-4a0f-a252-68ecab818699","source":"github","sourceId":"ychampion/cskill-agents/local-and-mcp-skill-name-deduplication","sourceUrl":"https://github.com/ychampion/cskill-agents/tree/main/skills/local-and-mcp-skill-name-deduplication","isPrimary":false,"firstSeenAt":"2026-04-18T22:20:36.451Z","lastSeenAt":"2026-04-22T06:56:50.271Z"}],"details":{"listingId":"16142599-b594-4a0f-a252-68ecab818699","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"ychampion","slug":"local-and-mcp-skill-name-deduplication","github":{"repo":"ychampion/cskill-agents","stars":34,"topics":["agent-skills","ai-agents","cli","coding-agents","context-engineering","developer-tools","mcp","multi-agent","terminal-ui"],"license":"mit","html_url":"https://github.com/ychampion/cskill-agents","pushed_at":"2026-04-04T14:13:23Z","description":"Agent skills for coding CLIs, multi-agent runtimes, context engines, MCP extensions, and terminal tooling. Instead of using claude code's source code, give your agent skills to create your own!","skill_md_sha":"8d916bfc4b82e6343cdb2fd18586b6f699ee411c","skill_md_path":"skills/local-and-mcp-skill-name-deduplication/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/ychampion/cskill-agents/tree/main/skills/local-and-mcp-skill-name-deduplication"},"layout":"multi","source":"github","category":"cskill-agents","frontmatter":{"name":"local-and-mcp-skill-name-deduplication","description":"Merge local and MCP skill sources into one listing surface and dedupe by stable command name before announcing them."},"skills_sh_url":"https://skills.sh/ychampion/cskill-agents/local-and-mcp-skill-name-deduplication"},"updatedAt":"2026-04-22T06:56:50.271Z"}}