Skillquality 0.47

built-in-agent-feature-gating

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

Price
free
Protocol
skill
Verified
no

What it does

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.

Capabilities

skillsource-ychampionskill-built-in-agent-feature-gatingtopic-agent-skillstopic-ai-agentstopic-clitopic-coding-agentstopic-context-engineeringtopic-developer-toolstopic-mcptopic-multi-agenttopic-terminal-ui

Install

Quality

0.47/ 1.00

deterministic score 0.47 from registry signals: · indexed on github topic:agent-skills · 34 github stars · SKILL.md body (1,849 chars)

Provenance

Indexed fromgithub
Enriched2026-04-22 06:56:45Z · deterministic:skill-github:v1 · v1
First seen2026-04-18
Last seen2026-04-22

Agent access