一种可迁移、自我实施的软件工程方法论,专为AI编码代理设计,源自高级模型(Claude Fable 5),通过分层规则、子代理、钩子和评估,使较弱模型更可靠地运行。

Stars

88

7 天增长

暂无数据

Fork 数

20

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-07

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它不仅写出规则,还通过确定性钩子、独立子代理和行为评估来执行规则,并坦率承认局限性(如令牌开销、尚未验证的对比优势),而非过度宣传。

适合谁使用

  • 构建或维护AI编码代理系统的开发者(如Claude Code用户)
  • 研究LLM可靠性、方法论迁移和代理行为的研究人员
  • 寻求结构化方式减少幻觉和要求遗漏的提示工程师
  • 希望为其AI编码助手安装现成执行框架的团队

典型使用场景

  • 安装到Claude Code中,自动在每个任务上强制验证、诚实和范围纪律
  • 使用方法论文档训练或提示较弱模型遵循高级推理模式
  • 扩展堆栈标准和评估,以强制执行项目特定的编码规范和回归预防
  • 运行AB测试框架,比较基线与方法论引导的模型性能

项目优势

  • 四层执行(钩子、代理、上下文、评估)确保规则得到机械支持,而不仅仅是文字
  • 具体的、可执行的指令,包含决策规则和“完成标准”——没有抽象建议
  • 纵深防御:同一条规则出现在多个层级,单一失败不会导致系统崩溃
  • 诚实和安全不可协商,具有完整性绝对规则和对抗性审查代理

使用前须知

  • 框架施加了令牌开销,可能在重负载下进一步削弱较弱模型
  • 相比于基线,方法论的直接优势尚未经过实证测量(如自述文件明确说明)
  • 存储约束并不保证能注意到交叉项冲突;依赖并行检查和对抗代理来补偿

README 快速开始

fable5-methodology

A transferable, self-enforcing software-engineering methodology for AI coding agents — written by Claude Fable 5 to make a less advanced model work more like it.

It began as a single directive to Fable 5: document your complete working methodology so a less capable model can execute it cold. The result is an attempt to extract the concrete procedures, decision rules, reasoning strategies, and quality standards an advanced model actually uses — and hand them to a weaker successor (or to the same model after a context reset, with no goodwill assumed).

The central bet is that writing the methodology down is not enough, because written rules decay. So it ships in four layers — prose you read, skills that load on demand, subagents with strict contracts, and hooks that block at lifecycle events — arranged so that the parts a script can enforce are enforced by a script, and only genuine judgement is left to prose. Everything is written as executable instruction — imperative, concrete, with decision rules ("if X, do Y"), worked examples, and a "done when" criterion — never abstract advice.


Table of contents


Origin — extracted from Fable 5

This repository is the output of an unusual exercise: asking an advanced model to explain itself well enough to be replaced by a lesser one.

Claude Fable 5 — a model in Anthropic's Claude 5 family, positioned above the Opus tier in raw capability — was given a single standing directive:

Document your complete working methodology so

项目描述

A transferable, self-enforcing software-engineering methodology for AI coding agents — playbook, skills, contracted subagents, lifecycle hooks, and evals.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

jamesob
精选
jamesob GitHub avatar

local-llm

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.

AI 与机器学习大语言模型
1,660
bjan
精选
bjan GitHub avatar

claudemux

Claudemux is a lightweight, dependency-minimal message bus that lets multiple Claude Code sessions communicate in real-time over tmux, enabling one session to ask another a question and receive the answer without manual intervention.

AI 与机器学习AI 智能体
9
AARomanov1985
AARomanov1985 GitHub avatar

Audio-Cassette-Simulation

A set of bash scripts using ffmpeg to simulate vintage cassette tape audio profiles with noise, wow/flutter, bandwidth limits, and EQ.

Shell
373