/fable5-skills:refusal-aware-callingfrom fable5-skills
Writes and reviews Claude API calls to handle safety-classifier refusals gracefully, with fallback models and refusal-aware error handling.
Ships in fable5-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A Fable 5 refusal is an HTTP 200 with stop_reason: "refusal" and empty content, not an error your existing error handling will notice. Code that only checks HTTP status will treat a declined request as a quiet success with nothing in it.
stop_details.category on a refusal is one of cyber, bio, frontier_llm, or reasoning_extraction (source: Refusals and fallback), or null when the refusal doesn't map to a named category -- that null is a normal, permanent value, not a placeholder. Benign work can trip any of the first three: legitimate security research reads as cyber, legitimate life-sciences work reads as bio, legitimate ML research reads as frontier_llm. reasoning_extraction fires on the prompt shape, not the topic -- asking the model to echo its internal reasoning as response text.
claude-fable-5 call names a fallbacks model and sends the server-side-fallback-2026-06-01 beta header. A call with neither dead-ends silently on refusal.stop_reason before reading content. Branch on stop_reason == "refusal" directly -- don't infer it from an empty content array, which can also happen for other reasons.output_config.effort) instead of "think step by step" or "explain your reasoning" framing -- both are documented reasoning_extraction triggers.fallbacks on the top-level request does not propagate into calls made from inside tool execution.fable_scanner/monitor.py in this repo for a working refusal-analytics aggregator.For security tooling, red-team harnesses, or anything cyber/bio/ML-adjacent, run your actual prompts against the target model before committing a workflow to it -- a fallback-served response comes from a different, weaker-fallback model, and a harness that assumed only the requested model would ever answer can produce silently degraded output. fable_scanner canary in this repo is built for exactly this check.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kenhuangus/fable5 --plugin fable5-skills11 skills in this plugin
/act-on-sufficiencyStop Claude Fable 5 from over-planning, re-deriving settled facts, or listing options it won't pursue. Use in interactive sessions where turns feel slow on simple asks, or agentic sessions at high/xhigh effort where the model gathers more context than the task needs./autonomy-contractKeep Claude Fable 5 running to completion in unattended pipelines -- no stalling on a stated intent without the matching tool call, no mid-run permission questions, no self-imposed session splits from context-budget worry. Use for overnight runs, scheduled jobs, and CI agents where nobody is watching to type "continue"./effort-routerPick and re-evaluate the output_config.effort level for a Claude Fable 5 workload. Use when designing a pipeline that mixes routine and hard tasks, when a call feels slow or expensive for what it's doing, or when porting an Opus 4.7/4.8 harness that defaulted to xhigh./evidence-bound-progressBind every progress claim Claude Fable 5 makes during a long or autonomous run to an actual tool result from that session. Use for multi-hour agents, overnight pipelines, CI runs, or any workflow where a status update has previously claimed work that wasn't actually done./lesson-memoryMaintain a file-based lesson memory that Claude Fable 5 reads and updates across sessions. Use for recurring agents (daily jobs, long projects, team assistants) where the same correction keeps being re-made, or when bootstrapping a new agent from past session history./mythos-scope-gateUse before any approved Mythos-style defensive cybersecurity run, or when reviewing a Fable/Mythos security workflow. Requires authorization, bounded targets, private evidence handling, independent validation, and a patch/report owner before the model explores vulnerabilities.Other plugins' skills for the same job