By kenhuangus
Prevent AI over-investment in agentic sessions and pipelines by bounding effort, routing scope, requiring evidence for progress, and maintaining session-to-session lesson memory with anti-poisoning gates.
Stop 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.
Keep 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".
Pick 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.
Bind 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.
Maintain 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.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub kenhuangus/fable5 --plugin fable5-skillsBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Working examples of loop engineering with Anthropic's Claude Fable 5 and Mythos 5: a deep research agent, an agentic SOC triage loop, and a Mythos scope gate for approved defensive security work. The shared loop anatomy is trigger, rules, executor, fresh-context verifier, memory, and stop rules.
Companion repo to my Substack series:
deep_research/ — a bounded research loop: decompose the question at
xhigh effort, search each angle with the server-side web search tool,
verify every claim with three fresh-context adversarial voters, synthesize
only what survives.agentic_soc/ — an alert triage loop: enrich and classify each alert,
re-score it with a fresh-context verifier that sees only the artifacts,
escalate or close, and distill lessons from verifier-confirmed verdicts only.
Read-only by design; containment stays behind a human gate.memory/ — memory engineering: a client-side handler for the official
memory tool (memory_20250818) with traversal guards and size caps, and a
startup scan that quarantines lessons that command instead of describe
(the anti-poisoning gate).templates/ — the loop instruction blocks and the memory scaffold, as
paste-ready markdown.job_packet/ — the shared library behind the ten weekend projects below:
prep (cheap model), plan_or_audit (Fable 5, returns a fallback category
when classifiers reroute the request), execute (cheap model), verify
(fresh-context grader).projects/ — ten weekend projects for security architects, agentic AI
engineers, and CISOs, each following prep → plan/audit → execute → verify.
Every project ships with generic sample data, so none of them need your
actual codebase to run.fable_scanner/ — a clean-room Fable 5 hygiene tool with three subcommands:
scan (lint CLAUDE.md/skills/agent configs for the anti-patterns in
Anthropic's own Fable 5 prompting guide), canary (regression canary —
a fixed prompt set run periodically, alerting on refusal-rate or latency
drift), and monitor (refusal-category and cost analytics from local
Messages API response logs, no network calls). Independently designed and
written; see Part 5 for why and how it was audited before anything from
the third-party tool that inspired it was trusted.skills/ — ten Fable 5-native Agent Skills (SKILL.md files, installable
as a Claude Code plugin): effort routing, scope fencing, no gold-plating,
evidence-bound progress, act-on-sufficiency, verifier subagents, autonomy
contracts, lesson memory with an anti-poisoning gate, reader-first
summaries, and refusal-aware API calling. Independently designed after
auditing a third-party skills collection for Part 6.migration/ — a linter that diffs an existing Opus 4.8 request body against
Fable 5's requirements: it flags the sampling params (temperature, top_p,
top_k) and manual thinking config that now return a 400, carried thinking
blocks that bill as dead input tokens after a model switch, and a missing
fallbacks parameter. Returns (field, severity, message) tuples so CI can
fail a build on any error. Part 7.refusal/ — the wire-level refusal handler: send with the server-side
fallback wired, then a read function that branches on stop_reason (never
on content, which is empty on a refusal) and reads usage.iterations to
report whether Fable answered directly or a fallback caught a decline. Part 8.fallback_credit/ — manual fallback-credit redemption for custom retry loops
that lack the SDK middleware: redeem the one-time fallback_credit_token on
an exact-body-match retry so a hand-rolled fallback isn't billed for two cache
writes, plus a served_by_sticky check that separates a sticky-routed turn
from a real fallback. Part 9.effort/ — a router that maps each task's kind to one of the five effortCookbook Memory for Claude Code: persistent memory (recall / remember) so the agent remembers across sessions. Routes through the Orchestrator; fail-open.
Enforce a cross-platform compound engineering loop across Claude Code, Codex, and other agent-managed projects.
10 Fable 5-native Agent Skills for Claude — fix over-planning, gold-plating, fabricated progress reports, unrequested actions, and stalled autonomous runs. Includes skill-refactorer for migrating pre-Fable-5 skills.
A harness that makes Opus (or any Claude model) behave like Fable. It enforces completion, evidence, and verification as procedure, and auto-routes the right verified pack per task: render-output verification, a multi-story evidence gate, an investigation protocol, and an early-stop guard. It does not fake model capability — see README for the full analysis of what transfers and what does not.
Professional skill and subagent creation with dual-mode workflow: 12-step fast mode and 15-step full mode with behavioral pressure testing and TDD integration.
Consult Claude Fable 5 as a strategic advisor at costly-to-revert inflection points: architecture decisions, stuck debugging, plan review, pre-completion review, and unattended loop/schedule design. Compact briefing packets, hard budget caps, terse verdicts — judgment from Fable, tokens from Opus.
Fable 5 behavioral patterns as a harness for Opus 4.8: grounded progress, self-verification loops, delegation triggers, file-based memory, autonomy calibration. Zero-config: installs a SessionStart hook; skills auto-trigger.
18 universal AI skills for Claude Code — skill creation, deep research, strategic planning, content processing, solution architecture, and orchestration workflows