agentsclimarketplace

Built in agent feature gating

Skill ychampion/cskill-agents/skills/built-in-agent-feature-gating

Gate built-in agents based on feature flags and entrypoint types so SDK sessions stay lean.From its SKILL.md

Install
npx -y skills add ychampion/cskill-agents --skill built-in-agent-feature-gating

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.0 KB, 349 tokens by cl100k_base, as published. Nobody here has run it

SKILL: Built-In Agent Feature Gating

Domain: agent-management Trigger: Use whenever agent registration should respect CLI entrypoints, SDK toggles, or feature flags before exposing the built-in catalog. Source Pattern: Distilled from reviewed built-in agent registration and feature-flagged runtime catalog implementations.

Core Method

Check 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.

Key Rules

  • Support an explicit “disable built-ins” toggle for SDK or embedded contexts that should expose a minimal surface.
  • Treat coordination or orchestration modes as a separate built-in catalog rather than mixing them into the default list.
  • Gate specialized built-ins behind feature flags or experiments instead of making them permanently visible.
  • Keep the gating logic centralized so every entrypoint evaluates the same rules consistently.

Example Application

Before 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.

Anti-Patterns (What NOT to do)

  • Don’t register all built-in agents unconditionally; ignoring entrypoints or env vars breaks SDK/CLI separation.
  • Avoid hardcoding agent lists per mode; fold them into feature flags and helper functions to stay configurable.

What ships with it: 1 file

845 B alongside SKILL.md

Gives 0 of the 12 instructions most context ai engineering skills give in 349 tokens

Counted across 1,193 of the 1,976 authors here whose files we hold, read 2026-08-07

  • Dispatch a fresh implementer subagent per taskin 48 of 1193, across 19 files
  • Dispatch a final code reviewer after all tasksin 33 of 1193, across 8 files
  • Provide full task text to the subagentin 30 of 1193, across 9 files
  • Review spec compliance before code qualityin 27 of 1193, across 10 files
  • Make the hook script executablein 26 of 1193, across 8 files
  • Re-snapshot after navigation or DOM changesin 25 of 1193, across 19 files
  • Read files before editing themin 22 of 1193, across 11 files
  • Answer subagent questions before proceedingin 22 of 1193, across 7 files
  • Mark task complete in TodoWrite after approvalin 22 of 1193, across 6 files
  • Merge hook into existing settingsin 21 of 1193, across 3 files
  • Ask if installation is global or projectin 20 of 1193, across 2 files
  • Copy the hook script to target locationin 20 of 1193, across 2 files

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 326,512. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.