Quick Start
1
Declare a fallback in SKILL.md
Add The skill appears only when the
fallback_for_tools or fallback_for_servers to the SKILL.md frontmatter:web tool is not present, and only when terminal is available.2
Wire it into an Agent
- If
web-fetchprovides awebtool →web-via-terminalis hidden. - If only
terminalis available →web-via-terminalis offered.
How It Works
The skill’s own
requires_tools / requires_servers / requires_env gates still apply on top of fallback eligibility. A fallback skill that can’t satisfy its own requirements is still excluded.Configuration Options
Both underscore and hyphen forms are accepted. If both are set, the union is used.
Common Patterns
Web fallback via terminal
When a nativeweb tool is absent, let agents use curl through the terminal tool instead:
Local search fallback when no MCP search server is configured
Multiple primary tools — fallback hidden unless all are absent
pdf_read or ocr_extract is present.
Best Practices
Pair fallback_for_* with requires_*
Pair fallback_for_* with requires_*
A fallback skill that cannot run is still excluded. Always declare the tools the fallback actually needs via
requires_tools so the skill manager can gate it properly.Keep fallback skill outputs self-explanatory
Keep fallback skill outputs self-explanatory
Fallback skills run in place of a primary capability — their output should be as close as possible to what the primary would produce. Add notes in the skill body describing any known differences.
Don't chain fallbacks
Don't chain fallbacks
Avoid making a fallback skill declare its own
fallback_for_* pointing to another fallback skill. The filter logic is applied once during skill discovery and chaining is not resolved automatically.Test with the primary absent and present
Test with the primary absent and present
Verify both paths: that the fallback appears when the primary is absent, and that it disappears when the primary is present.
Related
Skill Capability Gates
Declare tool, server, and env requirements — the forward gates that fallbacks complement
Agent Skills
Overview of the skills system and how to write skills
Skill Invocation
How skills are invoked at runtime
Skill Lifecycle
Discover, validate, and activate skills

