whatisgithub

What is fable5-scaffold?

zealchou/fable5-scaffold — explained in plain English

Analysis updated 2026-05-18

47ShellAudience · developerComplexity · 3/5Setup · moderate

In one sentence

Fable Scaffold is a set of shell hooks that add structured self-checking discipline to Claude Code sessions, at the cost of slower, more token-heavy responses.

Mindmap

mindmap
  root((repo))
    What it does
      Injects checks
      Verifies claims
      Records lessons
    Tech stack
      Shell
      Claude Code hooks
    Use cases
      Complex tasks
      Multi-step sessions
      Self-verification
    Audience
      Claude Code users
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Force a three-round verification pass before Claude Code gives a complex answer.

USE CASE 2

Check whether an equivalent file or tool already exists before the AI creates a new one.

USE CASE 3

Run a verification step before code gets committed during a session.

USE CASE 4

Load project memory and recent lessons automatically at the start of a session.

What is it built with?

ShellClaude Code

How does it compare?

zealchou/fable5-scaffoldhailoc12/ai_native_companypeppy/dotfiles
Stars474648
LanguageShellShellShell
Last pushed2026-07-01
MaintenanceActive
Setup difficultymoderateeasymoderate
Complexity3/51/52/5
Audiencedeveloperpm founderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Hooks are advisory, not blocking, and slow down responses, the README suggests disabling for simple questions.

The explanation does not state license terms.

So what is it?

Fable Scaffold is a set of shell hooks for Claude Code, the AI coding assistant, designed to add structured discipline to how the AI works through a task. The README is bilingual in Chinese and English. The core idea is that reliable AI outputs come partly from the model verifying its own reasoning before answering. This scaffold tries to replicate that behavior externally by injecting prompts and checks at specific moments in a session, rather than hoping the model applies that discipline on its own. The README is explicit that this does not improve the underlying model's intelligence, it only enforces process. A Sonnet model using this scaffold is still that model, just nudged to slow down and check itself. The scaffold divides a working session into six stages. At startup, it loads project memory and recent lessons. Before the AI gives a complex answer, it inserts a forced three-round verification: a draft, a check where the model must look up evidence for each claim, and a third pass that challenges whether the earlier reasoning holds. Before the AI creates a new file or tool, it checks whether something equivalent already exists. Before committing code, it runs a verification step. When the session ends, it prompts the AI to record what was learned. The hooks work through Claude Code's built-in hook system, which runs scripts at defined lifecycle points like session start, before a tool runs, and at stop. The hooks are advisory rather than blocking: they inject a prompt reminder but do not prevent the AI from proceeding. The stated tradeoff is that this makes responses slower and uses more tokens, so the README suggests disabling it for simple questions and using it only for complex multi-step tasks. A hotfix note at the top warns that version 1.0.0 had a false-positive bug in one hook: any command that included the literal text "git commit" as a search string would incorrectly trigger a commit check. Version 1.0.1 fixed this. The repository is not affiliated with Anthropic.

Copy-paste prompts

Prompt 1
Explain how Fable Scaffold's six-stage hook system works with Claude Code.
Prompt 2
Walk me through installing Fable Scaffold's shell hooks for Claude Code.
Prompt 3
Why does the README say this scaffold does not improve the underlying model's intelligence?
Prompt 4
What was the false-positive bug in version 1.0.0 and how was it fixed in 1.0.1?

Frequently asked questions

What is fable5-scaffold?

Fable Scaffold is a set of shell hooks that add structured self-checking discipline to Claude Code sessions, at the cost of slower, more token-heavy responses.

What language is fable5-scaffold written in?

Mainly Shell. The stack also includes Shell, Claude Code.

What license does fable5-scaffold use?

The explanation does not state license terms.

How hard is fable5-scaffold to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is fable5-scaffold for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.