# codex-fable5

Applies Claude Fable 5 operating discipline to Codex agents. It enforces preliminary repo searches with rg, evidence tracking, and strict verification gates.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 437
- Author: baskduf
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/baskduf/FableCodex/tree/HEAD/plugins/codex-fable5/skills/codex-fable5/SKILL.md
- Updated: 2026-07-26
- HTML: https://affpapa.org/en/nevibecode/skills/codex-fable5

## What it does

The skill imposes an explicit execution cycle on agent operations. Instead of editing files blind, the agent must inspect the workspace first using `rg` or `rg --files`. Routine single-step queries follow the standard flow, while complicated or review-heavy tasks activate gated decision maps.

Built-in Python scripts manage multi-stage operations using only the standard library. The `codex_goals.py` utility records milestone checkpoints, and `codex_findings.py` tracks unresolved review issues. If unresolved findings remain open, final verification stops immediately. Adding `plugins/codex-fable5/bin` to `PATH` enables terminal commands directly.

Prompt updates cannot alter underlying model weights, safety rules, or context boundaries. The skill enforces workflow structure rather than raw model abilities. For external Anthropic routing, `make_litellm_config.py` generates LiteLLM settings, but this still requires your own valid API key.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add baskduf/FableCodex --skill codex-fable5 -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/codex-fable5/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/codex-fable5/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add baskduf/FableCodex --skill codex-fable5 -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/codex-fable5/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add baskduf/FableCodex --skill codex-fable5 -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/codex-fable5/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install baskduf/FableCodex codex-fable5
```

2. **Manually: put the files in place**
- File: `.github/skills/codex-fable5/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add baskduf/FableCodex --skill codex-fable5 -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/baskduf/FableCodex --path plugins/codex-fable5/skills/codex-fable5
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/codex-fable5/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add baskduf/FableCodex --skill codex-fable5 -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/baskduf/FableCodex/tree/HEAD/plugins/codex-fable5/skills/codex-fable5/SKILL.md

## When to use it
- translate Claude or Anthropic system instructions for Codex
- enforce repository inspection with `rg` before any file modifications
- track multi-step execution checkpoints using `codex_goals.py`
- log code review issues and block completion via `codex_findings.py`

## Example prompts
- Translate these Claude prompt guidelines into Codex format and generate an AGENTS.md file.
- Run a two-pass review of this directory and track any issues in `codex_findings.py`.
- Plan this refactoring using milestone gates in `codex_goals.py`.

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
