{"id":"27cb81d5-9999-49a1-90e2-9248ee41766e","shortId":"93jJkr","kind":"skill","title":"skip-skill-discovery-on-skill-expansion","tagline":"Bypass skill discovery when expanded SKILL.md or generated prompt content is being reprocessed for attachments, so non-user text does not trigger recursive discovery work.","description":"# SKILL: Skip Skill Discovery on Skill Expansion\n**Domain:** command-surfaces  \n**Trigger:** Apply when generated or expanded skill text must pass through the attachment pipeline for parsing, but it is not fresh user intent and must not trigger discovery queries.\n**Source Pattern:** Distilled from reviewed command-surface and listing-control patterns.\n\n## Core Method\nSeparate \"text being inspected\" from \"text expressing user intent.\" When a pipeline reuses the attachment extractor on expanded SKILL.md content or other generated prompts, pass an explicit skip flag so the discovery subsystem stays off while the rest of the attachment logic still runs. This preserves useful secondary parsing such as `@`-mentions without paying for recursive or misleading skill-discovery calls on machine-generated text. The guard should live exactly where discovery would otherwise be attached so the expensive path is impossible to trigger accidentally.\n\n## Key Rules\n- Run skill discovery only for genuine user-authored input, not for expanded skill files, generated prompts, or other agent-produced text.\n- Use an explicit option or context flag to disable only the discovery branch, leaving the rest of the attachment pipeline active.\n- Keep the gate adjacent to the discovery attachment construction so future refactors cannot bypass it unintentionally.\n- Treat large injected documents as especially high risk; one missing gate can turn a single skill invocation into repeated expensive discovery calls.\n\n## Example Application\nIf a slash command loads a 100 KB skill specification and then reuses the normal attachment extractor to resolve `@`-mentions inside it, pass `skipSkillDiscovery: true`. The extractor still parses mentions, but it does not launch another round of skill-discovery queries against the generated document body.\n\n## Anti-Patterns (What NOT to do)\n- Do not run discovery on expanded SKILL.md content or other generated prompts; that mistakes system-produced text for user demand.\n- Do not disable the entire attachment pipeline just to suppress discovery; you still want legitimate parsing such as file mentions and other lightweight attachments.","tags":["skip","skill","discovery","expansion","cskill","agents","ychampion","agent-skills","ai-agents","cli","coding-agents","context-engineering"],"capabilities":["skill","source-ychampion","skill-skip-skill-discovery-on-skill-expansion","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/skip-skill-discovery-on-skill-expansion","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,166 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-22T00:56:56.653Z","embedding":null,"createdAt":"2026-04-18T22:21:20.175Z","updatedAt":"2026-04-22T00:56:56.653Z","lastSeenAt":"2026-04-22T00:56:56.653Z","tsv":"'100':268 'accident':175 'activ':221 'adjac':225 'agent':198 'agent-produc':197 'anoth':297 'anti':310 'anti-pattern':309 'appli':46 'applic':261 'attach':22,57,103,129,166,219,229,277,342,360 'author':186 'bodi':308 'branch':213 'bypass':8,235 'call':150,259 'cannot':234 'command':43,80,265 'command-surfac':42,79 'construct':230 'content':17,108,323 'context':206 'control':85 'core':87 'demand':336 'disabl':209,339 'discoveri':4,10,32,37,72,120,149,162,180,212,228,258,302,319,347 'distil':76 'document':241,307 'domain':41 'entir':341 'especi':243 'exact':160 'exampl':260 'expand':12,50,106,190,321 'expans':7,40 'expens':169,257 'explicit':115,203 'express':95 'extractor':104,278,288 'file':192,355 'flag':117,207 'fresh':65 'futur':232 'gate':224,248 'generat':15,48,111,154,193,306,326 'genuin':183 'guard':157 'high':244 'imposs':172 'inject':240 'input':187 'insid':282 'inspect':92 'intent':67,97 'invoc':254 'kb':269 'keep':222 'key':176 'larg':239 'launch':296 'leav':214 'legitim':351 'lightweight':359 'list':84 'listing-control':83 'live':159 'load':266 'logic':130 'machin':153 'machine-gener':152 'mention':140,281,291,356 'method':88 'mislead':146 'miss':247 'mistak':329 'must':53,69 'non':25 'non-us':24 'normal':276 'one':246 'option':204 'otherwis':164 'pars':60,137,290,352 'pass':54,113,284 'path':170 'pattern':75,86,311 'pay':142 'pipelin':58,100,220,343 'preserv':134 'produc':199,332 'prompt':16,112,194,327 'queri':73,303 'recurs':31,144 'refactor':233 'repeat':256 'reprocess':20 'resolv':280 'rest':126,216 'reus':101,274 'review':78 'risk':245 'round':298 'rule':177 'run':132,178,318 'secondari':136 'separ':89 'singl':252 'skill':3,6,9,34,36,39,51,148,179,191,253,270,301 'skill-discoveri':147,300 'skill-skip-skill-discovery-on-skill-expansion' 'skill.md':13,107,322 'skip':2,35,116 'skip-skill-discovery-on-skill-expans':1 'skipskilldiscoveri':285 'slash':264 'sourc':74 'source-ychampion' 'specif':271 'stay':122 'still':131,289,349 'subsystem':121 'suppress':346 'surfac':44,81 'system':331 'system-produc':330 'text':27,52,90,94,155,200,333 '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' 'treat':238 'trigger':30,45,71,174 'true':286 'turn':250 'unintent':237 'use':135,201 'user':26,66,96,185,335 'user-author':184 'want':350 'without':141 'work':33 'would':163","prices":[{"id":"a92f4cac-a987-402f-9122-4d470c4288ca","listingId":"27cb81d5-9999-49a1-90e2-9248ee41766e","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:21:20.175Z"}],"sources":[{"listingId":"27cb81d5-9999-49a1-90e2-9248ee41766e","source":"github","sourceId":"ychampion/cskill-agents/skip-skill-discovery-on-skill-expansion","sourceUrl":"https://github.com/ychampion/cskill-agents/tree/main/skills/skip-skill-discovery-on-skill-expansion","isPrimary":false,"firstSeenAt":"2026-04-18T22:21:20.175Z","lastSeenAt":"2026-04-22T00:56:56.653Z"}],"details":{"listingId":"27cb81d5-9999-49a1-90e2-9248ee41766e","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"ychampion","slug":"skip-skill-discovery-on-skill-expansion","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":"f3434719947a168e964b46b6ffefeab8bc0660aa","skill_md_path":"skills/skip-skill-discovery-on-skill-expansion/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/ychampion/cskill-agents/tree/main/skills/skip-skill-discovery-on-skill-expansion"},"layout":"multi","source":"github","category":"cskill-agents","frontmatter":{"name":"skip-skill-discovery-on-skill-expansion","description":"Bypass skill discovery when expanded SKILL.md or generated prompt content is being reprocessed for attachments, so non-user text does not trigger recursive discovery work."},"skills_sh_url":"https://skills.sh/ychampion/cskill-agents/skip-skill-discovery-on-skill-expansion"},"updatedAt":"2026-04-22T00:56:56.653Z"}}