Skip to content

About

A Claude Code skill that makes Claude Fable cheaper and safer: edit don't rewrite, read narrowly, finish gate, attacker pass

Topics

Resources

Stars

14 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Fable-Cheap

A Claude Code skill that makes Claude Fable cheaper and safer on long builds: edit, don't rewrite, read narrowly, a finish gate, and an attacker pass.

Made by AICodeKing.

Why

I ran Claude Fable 5.2 through KingBench 4: six big build tasks (an emulator, a container runtime, a 3D room designer, a QMK configurator, a Pokémon-style game and a Fitbit desktop app), at high effort, with no time or token limits. It ranked first, but it was expensive and it made avoidable mistakes. These numbers are all from my KingBench 4 run:

Problem What I measured
Whole-file rewrites 311 Write calls vs 88 Edit calls across six tasks. Output cost $122 of the $222 total.
Context rereads 204M cache-read tokens. It printed big logs and reread files.
Unrequested scope In the emulator task it built a Game Boy Advance core nobody asked for, using a parallel subagent.
Abandoned agents It ended its session while its own 3DS background agent was still running ("I'll finalize the README … when it reports back"). The README shipped with unfilled @@N3DS_SECTION@@ and @@VERIFICATION@@ placeholders.
Builder testing, not attacker testing It ran 159 checks, but its container runtime let an image-shipped block device node read the host disk (no device cgroup, overlay not nodev); its QMK app trusted device replies without checking offset or length and showed "Saved on keyboard" over garbage; its Fitbit app stored OAuth tokens unencrypted in a world-readable (0644) SQLite file.
Effort The bench ran at high effort. If your session runs Fable at a lower effort, big builds may do worse.

It also had good habits that the skill keeps: it researches the real docs and sources before coding, keeps progress updates short, and its final reports are honest about what it did and did not verify.

What the skill tells Claude to do

  1. Edit, don't rewrite. Edit for existing files; Write only for new files or near-total rewrites.
  2. Read narrowly. Grep, read line ranges, never reread a file it just wrote, keep command output short.
  3. Keep notes. A short NOTES.md of decisions instead of rereading.
  4. Test smart. Targeted tests while iterating, the full suite at milestones.
  5. Build exactly the requested scope. Extras go in the final report, not in the code.
  6. Subagents only for independent chunks, with cheaper models for exploration and search.
  7. Never abandon background work. Wait, collect, verify, then finalize the docs.
  8. Finish gate. No live background work, no placeholders, README matches reality, servers stopped.
  9. Attacker pass. List the trust boundaries and write at least one hostile test per boundary (traversal and symlinks, device nodes in archives, protocol reply checks, secrets at rest, localhost servers, surfaced errors).
  10. Effort guidance. High for big builds, medium for routine edits.

It also ships scripts/finish-check.sh, a small read-only POSIX script that lists placeholder markers, world-readable secret or database files, and processes and listening ports running from the project folder. It never changes or kills anything.

Install

User level (all projects):

git clone https://github.com/aicodeking/Fable-Cheap
mkdir -p ~/.claude/skills
cp -R Fable-Cheap/skills/fable-cheap ~/.claude/skills/

Project level (one repo, can be committed for your team):

mkdir -p .claude/skills
cp -R Fable-Cheap/skills/fable-cheap .claude/skills/

The result should be ~/.claude/skills/fable-cheap/SKILL.md (or .claude/skills/fable-cheap/SKILL.md).

Use

  • It loads automatically when Claude sees a long or multi-file coding or build task, based on its description.

  • Or invoke it directly: /fable-cheap.

  • Run the finish check yourself any time:

    sh ~/.claude/skills/fable-cheap/scripts/finish-check.sh path/to/project

    Exit status 0 means clean, 1 means there is something to review.

Recommended effort

  • High (/effort high) for big builds, multi-file features, security-sensitive work and hard debugging.
  • Medium for routine edits, small fixes and docs.

Honest limits

  • The skill is new. I have not rerun KingBench with it yet, so there is no score or cost number for it.
  • A skill is guidance, not enforcement. The model can still ignore a rule; the finish check helps you catch that.
  • finish-check.sh uses simple name patterns. It can miss secrets with unusual names and flag harmless files.

Improvements are welcome. Send a pull request.

License

MIT. See LICENSE.

About

A Claude Code skill that makes Claude Fable cheaper and safer: edit don't rewrite, read narrowly, finish gate, attacker pass

Topics

Resources

Stars

14 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages