agentleFS
ucsandmanucsandman/claude-skills/fable-gpt/SKILL.md

fable-gpt

Skill5 starsChanged 2 months agoMITView on GitHub

Use for heavy implementation, debugging, test fixing, or multi-file edits Codex could execute, or orchestrating Claude + Codex.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the "Done when" verification command yourself and read the output.

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Fable-GPT: Claude orchestrates, Codex executes

Role split

  • Claude (main thread): planning, repo understanding, architecture decisions, task decomposition, final review, small surgical edits.
  • Codex (codex plugin): heavy implementation, debugging, test fixing, refactors, multi-file edits. Runs on the ChatGPT subscription — zero Claude tokens for execution. Global default is gpt-5.5 at xhigh reasoning (~/.codex/config.toml); do not pass --model/--effort unless deliberately overriding.

How to delegate

SituationRoute
Quick, bounded task/codex:rescue (foreground)
Big, open-ended, or long-runningcodex-rescue subagent (already model: sonnet, Bash-only — passes agent-model-guard) or --background; poll /codex:status, fetch /codex:result
Continue prior Codex worksay "resume"/"continue" (maps to --resume-last)
Routine pre-commit review or second-opinion diagnosis/codex:review — default here before spending Claude subagent tokens; reserve /code-review or /adversarial-review for high-stakes diffs

Task prompt shape (keep it focused)

Goal: [one sentence]
Files: [paths]
Constraints: [style, don't touch X]
Done when: [verification command + expected result]

One task per delegation. Split unrelated work into separate rescues.

Workspace root gotcha: Codex's sandbox root is the session's cwd, not the task's target repo. If the target repo differs from cwd, the codex-rescue subagent and /codex:rescue will spawn a task that can't write ("patch rejected: writing outside of the project") — Codex burns the whole run discovering this. Invoke the companion runtime directly instead:

node "<plugin>/scripts/codex-companion.mjs" task --prompt-file <spec.md> --cwd "<target-repo>" --write --background

Long specs go in a --prompt-file (avoids shell quoting). Job state is keyed to the --cwd value — pass the SAME --cwd to status/result/cancel or the job appears not to exist. Errors print to stderr; don't 2>/dev/null status calls.

After Codex finishes — never accept blindly

  1. git diff — read what actually changed.
  2. Run the "Done when" verification command yourself and read the output.
  3. Wrong or sloppy → re-delegate with specific corrections (use resume); small issues → fix inline.

When NOT to delegate

  • Trivial edits (faster inline than writing the delegation prompt).
  • Architecture or product decisions — Claude's job.
  • Anything under CLAUDE.md Hard Stops (deploy, migrations, auth/billing config, external comms).
  • Tasks needing conversation context Codex doesn't have — inline the needed context into the task prompt or keep it in Claude.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.