fable-simplify

fable-simplify is a skill for Claude Code, Codex from imMamdouhaboammar/get-fable. It costs 127 tokens per session (1,521 once invoked), scanned A, original, AGPL-3.0.

A code-cleanup skill for simplifying recently changed code without changing its behavior. It targets duplicated logic, dead code, deep nesting, and unnecessary layers.

In plain words
What is it for?
Use it after tests pass to remove proven-unused code, combine repeated logic, flatten complex control flow, and make ownership clearer.
Why use it?
It makes code easier to read and review while using evidence to guard against accidental behavior changes.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the get-fable plugin — 41 skills, 1 agent, 5 hooks, 1 plugin shipped together

Good fit Use it after tests pass to remove proven-unused code, combine repeated logic, flatten complex control flow, and make ownership clearer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/immamdouhaboammar/get-fable/fable-simplify
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add imMamdouhaboammar/get-fable --skill fable-simplify
Clone the repo
git clone --depth 1 https://github.com/imMamdouhaboammar/get-fable

Made for: Claude Code, Codex.

Or install get-fable, the plugin that ships this one along with the rest of its 41 skills, 1 agent, 5 hooks, 1 plugin.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fable-simplify

README.md
[![agentmods](https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fable-simplify/github.svg)](https://agentmods.dev/skills/immamdouhaboammar/get-fable/fable-simplify)
Your own site
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/fable-simplify"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fable-simplify/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fable-simplify

Your own site · 80×15
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/fable-simplify"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fable-simplify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00127 $0.01521
Opus 5.5 $0.00051 $0.00608
Sonnet 5.5 $0.00025 $0.00304
Haiku 4.5 $0.00013 $0.00152

Measured 1mo ago against content hash 737da5d4ed1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fable-simplify scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/fable-simplify/SKILL.md · 186 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 186 lines · 127 tokens per session scan A 737da5d4ed1e

Subscribe to this mod's changes

fable-simplify is a skill published in the GitHub repository imMamdouhaboammar/get-fable (3 stars, last pushed 2d ago), licensed AGPL-3.0. It adds 127 tokens to every session and 1,521 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

implementing-github-advanced-security-for-code-scanning

Configure GitHub Advanced Security with CodeQL to perform automated static analysis and vulnerability detection across repositories at enterprise scale.

xalgorix/xalgorix · 34 tokens

source-assisted-analysis

Use attached source code as a SECONDARY accelerator for black-box testing - work the auto-seeded source-to-route ledger first, trace call paths before claiming a sink is reachable, find hidden routes and extra hypotheses, and correlate confirmed runtime behavior back to code. Black-box remains primary.

xalgorix/xalgorix · 60 tokens

constant-time-analysis

Detects timing side-channel vulnerabilities in cryptographic code. Use when implementing or reviewing crypto code, encountering division on secrets, secret-dependent branches, or constant-time programming questions in C, C++, Go, Rust, Swift, Java, Kotlin, C#, PHP, JavaScript, TypeScript, Python, or Ruby.

26zl/cybersec-toolkit · 67 tokens

find-security-vulnerabilities-in-code

Find security vulnerabilities in a codebase or repository with Strix — a white-box AI security review that reads your source, reasons about the actual data flow and authorization model, then exploits what it finds in a live sandbox so every reported issue has a working proof-of-concept instead of a noisy…

usestrix/strix · 129 tokens

implementing-aws-nitro-enclave-security

Implements AWS Nitro Enclave-based confidential computing environments with cryptographic attestation, KMS policy integration using PCR-based condition keys, and secure vsock communication channels. The practitioner builds enclave images, configures attestation-aware KMS policies, validates attestation documents…

xalgorix/xalgorix · 122 tokens

exploiting-broken-function-level-authorization

Tests APIs for Broken Function Level Authorization (BFLA) vulnerabilities where regular users can invoke administrative functions or access privileged API endpoints by directly calling them. The tester identifies admin and privileged endpoints, then attempts to access them with regular user credentials by manipulating…

xalgorix/xalgorix · 108 tokens