Agents Best Practices
DenisSergeevitch/agents-best-practices
A skill your agent uses when designing, generating an MVP blueprint for, auditing, troubleshooting, refactoring, or explaining an agentic harness for any domain.
Apply a Claude Fable 5 inspired operating style inside Codex.
$ npx skills add baskduf/FableCodex --skill codex-fable5 -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install baskduf/FableCodex codex-fable5 --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/baskduf/FableCodex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/codex-fable5/skills/codex-fable5 .claude/skills/codex-fable5 && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "codex-fable5" agent skill from https://github.com/baskduf/FableCodex/tree/main/plugins/codex-fable5/skills/codex-fable5 into .claude/skills/codex-fable5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-fable5", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/baskduf/FableCodex/tree/main/plugins/codex-fable5/skills/codex-fable5Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add baskduf/FableCodex --skill codex-fable5 -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install baskduf/FableCodex codex-fable5 --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/baskduf/FableCodex.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/codex-fable5/skills/codex-fable5 .agents/skills/codex-fable5 && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "codex-fable5" agent skill from https://github.com/baskduf/FableCodex/tree/main/plugins/codex-fable5/skills/codex-fable5 into .agents/skills/codex-fable5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-fable5", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add baskduf/FableCodex --skill codex-fable5 -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install baskduf/FableCodex codex-fable5 --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/baskduf/FableCodex.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/codex-fable5/skills/codex-fable5 .cursor/skills/codex-fable5 && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "codex-fable5" agent skill from https://github.com/baskduf/FableCodex/tree/main/plugins/codex-fable5/skills/codex-fable5 into .cursor/skills/codex-fable5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-fable5", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/baskduf/FableCodex.git --path plugins/codex-fable5/skills/codex-fable5--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add baskduf/FableCodex --skill codex-fable5 -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install baskduf/FableCodex codex-fable5 --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/baskduf/FableCodex.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/codex-fable5/skills/codex-fable5 .gemini/skills/codex-fable5 && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "codex-fable5" agent skill from https://github.com/baskduf/FableCodex/tree/main/plugins/codex-fable5/skills/codex-fable5 into .gemini/skills/codex-fable5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-fable5", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install baskduf/FableCodex codex-fable5Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add baskduf/FableCodex --skill codex-fable5 -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/baskduf/FableCodex.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/codex-fable5/skills/codex-fable5 .github/skills/codex-fable5 && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "codex-fable5" agent skill from https://github.com/baskduf/FableCodex/tree/main/plugins/codex-fable5/skills/codex-fable5 into .github/skills/codex-fable5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-fable5", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add baskduf/FableCodex --skill codex-fable5 -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install baskduf/FableCodex codex-fable5 --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/baskduf/FableCodex.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/codex-fable5/skills/codex-fable5 .opencode/skills/codex-fable5 && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "codex-fable5" agent skill from https://github.com/baskduf/FableCodex/tree/main/plugins/codex-fable5/skills/codex-fable5 into .opencode/skills/codex-fable5/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-fable5", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
codex-fable5Apply a Claude Fable 5 inspired operating style inside Codex.
Codex Fable5 is an agent skill from baskduf/FableCodex. Apply a Claude Fable 5 inspired operating style inside Codex. Use when the user asks to make Codex act like Fable, Fable5, fablize, or Value-for-Fable/VFF; convert Anthropic or Claude system-prompt/tool instructions to Codex; set up a Fable-style tool-first workflow with goal gates, investigation, verification grounding, cost-aware routing, or 2-pass review; create Codex AGENTS.md guidance from Fable-like behavior; or connect Codex to an authorized Fable-compatible provider through an OpenAI-compatible gateway.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 19 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/artifact-and-tooling.md` and `references/connectors-and-mcp.md`).
It sits in AI & LLM Engineering, covering Prompt engineering. It works with OpenAI. The repository describes itself as: 🗿 FableCodex is a Codex-style coding agent workflow that plans like Fable. The licence is AGPL-3.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 406faa1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 5 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
rgFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Codex Fable5 loads about 1.6k tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 132 tokens; SKILL.md has 706 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from baskduf/FableCodex at commit 406faa1, republished under its AGPL-3.0 licence (© baskduf). 706 words, ~1,567 tokens.
.claude/skills/codex-fable5/SKILL.md (or your agent's skills folder). This skill also uses 16 other files; get the full folder from GitHub.Use this skill to translate Fable-style operating discipline into Codex behavior. It cannot change model weights, context length, training, hidden runtime behavior, or safety systems. It should make Codex inspect first, route deliberately, track evidence when work is long or review-sensitive, and verify before claiming completion.
Classify and route.
Inspect before acting.
rg or rg --files first for local search.Plan only when it changes execution.
scripts/codex_goals.py or an equivalent visible plan with evidence checkpoints and a final verification gate.Work through real tools.
Track findings when misses are costly.
scripts/codex_findings.py for review findings, failed verification, unresolved clues, security-sensitive work, or multi-file changes with expensive misses.Verify and close.
| Signal | Read or use |
|---|---|
| Multi-step, long autonomous, migration, review-sensitive, or failed/uncertain verification work | references/task-routing.md; use goal and findings gates when appropriate |
| Fablize, VFF, cost-aware routing, diagnosis, 2-pass review | references/task-routing.md, references/operating-structure.md |
| Claude/Fable prompt or tool conversion | references/fable-to-codex-map.md |
| Fable coverage, parity, or "100% covered" requests | references/coverage-matrix.md; run scripts/fable_coverage.py --source ... when source is available |
| Actual Fable-family provider routing | references/provider-bridge.md; verify model access, credentials, and Codex provider support before config edits |
| Search, current facts, citations, copyright, safety, refusals, wellbeing, high-stakes advice | references/currentness-safety.md |
| Files, artifacts, generated apps, visual verification, package management, or Claude tool schemas | references/artifact-and-tooling.md |
| Apps, plugins, MCP, connector installation, or private workspace data | references/connectors-and-mcp.md |
| Memory, persistent state, ledgers, storage boundaries, or durable behavior | references/state-memory.md |
| Attribution, source notes, licensing, or upstream prompt provenance | references/provenance.md |
Use the smallest durable surface that fits: one prompt for one-off behavior, AGENTS.md for repo conventions, a skill for reusable workflow, a plugin for distribution, a connector for live external data, or provider config only for authorized model routing.
scripts/codex_goals.py for a local, stdlib-only multi-story ledger with evidence checkpoints and a final verification gate.scripts/codex_findings.py for a local, stdlib-only review findings ledger. Final codex_goals.py checkpoints fail while open or blocked findings remain.plugins/codex-fable5/bin to PATH and run codex-fable5 status, codex-fable5 goals ..., or codex-fable5 findings ....scripts/fable_coverage.py --source /path/to/CLAUDE-FABLE-5.md to verify that every source heading is accounted for in references/coverage-matrix.md.scripts/make_litellm_config.py to generate a LiteLLM config for an Anthropic model alias. Use this only after confirming the user has a valid Anthropic key and model access.© baskduf, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 16 other files (scripts, references) in plugins/codex-fable5/skills/codex-fable5 of baskduf/FableCodex.
Open the folder on GitHubat commit 406faa1
Codex Fable5 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Codex Fable5 this skillbaskduf/FableCodex | 437 | — | ~1.6k | Automated safety check: Pass | AGPL-3.0 | |
| Agents Best PracticesDenisSergeevitch/agents-best-practices | 2.4k | — | ~7.4k | Automated safety check: Pass | MIT | |
| System Prompt Writing Guidecashew-labs/libretto | 904 | — | ~570 | Automated safety check: Pass | MIT | |
| AI Wrapper Productdavila7/claude-code-templates | 32k | 3 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Prompt Optimizergetsentry/skills | 1k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| AI Wrapper Productaiskillstore/marketplace | 430 | 3 repos | ~3.9k | Automated safety check: Pass | None |
DenisSergeevitch/agents-best-practices
A skill your agent uses when designing, generating an MVP blueprint for, auditing, troubleshooting, refactoring, or explaining an agentic harness for any domain.
cashew-labs/libretto
Lays out a minimal, iteration-first approach to writing system prompts for LLM agents, with model-specific notes for Claude, GPT, Gemini, and Codex.
davila7/claude-code-templates
Expert in building products that wrap AI APIs (OpenAI, Anthropic, etc.) into focused tools people will pay for.
getsentry/skills
Creates, optimizes, and iteratively refines agent prompts, system prompts, developer prompts, and reusable prompt templates.
aiskillstore/marketplace
Expert in building products that wrap AI APIs (OpenAI, Anthropic, etc.
ckelsoe/prompt-architect
Analyzes and improves prompts using 31 frameworks across 7 intent categories.
Works with
Categories
Apply a Claude Fable 5 inspired operating style inside Codex. Codex Fable5 is an agent skill from baskduf/FableCodex. Apply a Claude Fable 5 inspired operating style inside Codex.
Codex Fable5 fits situations like: the user asks to make Codex act like Fable; value-for-Fable/VFF; convert Anthropic; Claude system-prompt/tool instructions to Codex.
Run `npx skills add baskduf/FableCodex --skill codex-fable5 -a claude-code`. Or copy the skill folder (plugins/codex-fable5/skills/codex-fable5 in baskduf/FableCodex) into .claude/skills/codex-fable5 in your project. Claude Code loads it when a task matches its description.
Run `npx skills add baskduf/FableCodex --skill codex-fable5 -a codex`. Or copy the skill folder (plugins/codex-fable5/skills/codex-fable5 in baskduf/FableCodex) into .agents/skills/codex-fable5 in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add baskduf/FableCodex --skill codex-fable5 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex-fable5, .gemini/skills/codex-fable5, .github/skills/codex-fable5 and .opencode/skills/codex-fable5 in your project.
Going by SKILL.md and its folder, Codex Fable5 needs Python for the scripts in its folder and the command-line tools its instructions call (rg). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Codex Fable5 is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 12k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Codex Fable5: Agents Best Practices (DenisSergeevitch/agents-best-practices, 2.4k stars), System Prompt Writing Guide (cashew-labs/libretto, 904 stars), AI Wrapper Product (davila7/claude-code-templates, 32k stars) and Prompt Optimizer (getsentry/skills, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
baskduf (a GitHub user) maintains it in baskduf/FableCodex, which has 437 GitHub stars. The repository was last updated on July 26, 2026.
Source: baskduf/FableCodex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.