{"id":"dcbbe9df-535b-497a-ad12-389a8717c86e","shortId":"h2C7S9","kind":"skill","title":"built-in-agent-feature-gating","tagline":"Gate built-in agents based on feature flags and entrypoint types so SDK sessions stay lean.","description":"# SKILL: Built-In Agent Feature Gating\n**Domain:** agent-management\n**Trigger:** Use whenever agent registration should respect CLI entrypoints, SDK toggles, or feature flags before exposing the built-in catalog.\n**Source Pattern:** Distilled from reviewed built-in agent registration and feature-flagged runtime catalog implementations.\n\n## Core Method\nCheck entrypoint type, environment toggles, and feature flags before adding each built-in agent to the visible registry. Different entrypoints often need different built-in surfaces: a CLI may want planning or guidance agents, while an SDK or embedded runtime may want a minimal default set. Treat special orchestration modes as their own catalog variant rather than layering them on top of the normal list. This keeps built-in agents discoverable where they belong without leaking extra helpers into every runtime surface.\n\n## Key Rules\n- Support an explicit “disable built-ins” toggle for SDK or embedded contexts that should expose a minimal surface.\n- Treat coordination or orchestration modes as a separate built-in catalog rather than mixing them into the default list.\n- Gate specialized built-ins behind feature flags or experiments instead of making them permanently visible.\n- Keep the gating logic centralized so every entrypoint evaluates the same rules consistently.\n\n## Example Application\nBefore populating the agent registry, apply these checks so an SDK session can expose no built-ins, a CLI can expose planning or guidance agents when enabled, and a coordinator runtime can swap in its own worker-oriented catalog.\n\n## Anti-Patterns (What NOT to do)\n- Don’t register all built-in agents unconditionally; ignoring entrypoints or env vars breaks SDK/CLI separation.\n- Avoid hardcoding agent lists per mode; fold them into feature flags and helper functions to stay configurable.","tags":["built","agent","feature","gating","cskill","agents","ychampion","agent-skills","ai-agents","cli","coding-agents","context-engineering"],"capabilities":["skill","source-ychampion","skill-built-in-agent-feature-gating","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/built-in-agent-feature-gating","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 (1,849 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:45.789Z","embedding":null,"createdAt":"2026-04-18T22:19:52.948Z","updatedAt":"2026-04-22T06:56:45.789Z","lastSeenAt":"2026-04-22T06:56:45.789Z","tsv":"'ad':84 'agent':4,11,28,33,38,64,89,110,147,235,257,287,299 'agent-manag':32 'anti':274 'anti-pattern':273 'appli':237 'applic':231 'avoid':297 'base':12 'behind':206 'belong':151 'break':294 'built':2,9,26,53,62,87,100,145,167,190,204,248,285 'built-in':8,25,52,61,86,99,144,166,189,203,247,284 'built-in-agent-feature-g':1 'catalog':55,71,130,192,272 'central':221 'check':75,239 'cli':42,104,251 'configur':313 'consist':229 'context':174 'coordin':182,262 'core':73 'default':121,199 'differ':94,98 'disabl':165 'discover':148 'distil':58 'domain':31 'embed':115,173 'enabl':259 'entrypoint':17,43,76,95,224,290 'env':292 'environ':78 'evalu':225 'everi':157,223 'exampl':230 'experi':210 'explicit':164 'expos':50,177,245,253 'extra':154 'featur':5,14,29,47,68,81,207,306 'feature-flag':67 'flag':15,48,69,82,208,307 'fold':303 'function':310 'gate':6,7,30,201,219 'guidanc':109,256 'hardcod':298 'helper':155,309 'ignor':289 'implement':72 'in':168,205,249 'instead':211 'keep':143,217 'key':160 'layer':134 'leak':153 'lean':23 'list':141,200,300 'logic':220 'make':213 'manag':34 'may':105,117 'method':74 'minim':120,179 'mix':195 'mode':126,185,302 'need':97 'normal':140 'often':96 'orchestr':125,184 'orient':271 'pattern':57,275 'per':301 'perman':215 'plan':107,254 'popul':233 'rather':132,193 'regist':282 'registr':39,65 'registri':93,236 'respect':41 'review':60 'rule':161,228 'runtim':70,116,158,263 'sdk':20,44,113,171,242 'sdk/cli':295 'separ':188,296 'session':21,243 'set':122 'skill':24 'skill-built-in-agent-feature-gating' 'sourc':56 'source-ychampion' 'special':124,202 'stay':22,312 'support':162 'surfac':102,159,180 'swap':265 'toggl':45,79,169 'top':137 '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':123,181 'trigger':35 'type':18,77 'uncondit':288 'use':36 'var':293 'variant':131 'visibl':92,216 'want':106,118 'whenev':37 'without':152 'worker':270 'worker-ori':269","prices":[{"id":"ff7bebe0-462b-4043-be26-d494afc91a10","listingId":"dcbbe9df-535b-497a-ad12-389a8717c86e","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:19:52.948Z"}],"sources":[{"listingId":"dcbbe9df-535b-497a-ad12-389a8717c86e","source":"github","sourceId":"ychampion/cskill-agents/built-in-agent-feature-gating","sourceUrl":"https://github.com/ychampion/cskill-agents/tree/main/skills/built-in-agent-feature-gating","isPrimary":false,"firstSeenAt":"2026-04-18T22:19:52.948Z","lastSeenAt":"2026-04-22T06:56:45.789Z"}],"details":{"listingId":"dcbbe9df-535b-497a-ad12-389a8717c86e","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"ychampion","slug":"built-in-agent-feature-gating","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":"2b3fb01c1012a2b60925dbe9183e94510a7f3cd8","skill_md_path":"skills/built-in-agent-feature-gating/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/ychampion/cskill-agents/tree/main/skills/built-in-agent-feature-gating"},"layout":"multi","source":"github","category":"cskill-agents","frontmatter":{"name":"built-in-agent-feature-gating","description":"Gate built-in agents based on feature flags and entrypoint types so SDK sessions stay lean."},"skills_sh_url":"https://skills.sh/ychampion/cskill-agents/built-in-agent-feature-gating"},"updatedAt":"2026-04-22T06:56:45.789Z"}}