fable-simulator

fable-simulator is a skill for Claude Code, Codex from imMamdouhaboammar/get-fable. It costs 114 tokens per session (1,441 once invoked), scanned A, original, MIT.

A verification method that compares code with an independently built model of the expected behavior. It can also simulate browser flows and unusual or destructive conditions in an isolated environment.

In plain words
What is it for?
Use it to check algorithms against reference models, reconstruct unclear behavior contracts, test UI or agent state changes, inject failures safely, and compare independent implementations.
Why use it?
It helps catch errors that ordinary tests may miss when both the test and implementation share the same assumptions. It keeps simulated results separate from proof about what happened in a real production system.

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 — 78 skills, 1 agent, 5 hooks shipped together

Good fit Use it to check algorithms against reference models, reconstruct unclear behavior contracts, test UI or agent state changes, inject failures safely, and compare independent implementations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/immamdouhaboammar/get-fable/fable-simulator
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-simulator
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 78 skills, 1 agent, 5 hooks.

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-simulator

README.md
[![agentmods](https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fable-simulator/github.svg)](https://agentmods.dev/skills/immamdouhaboammar/get-fable/fable-simulator)
Your own site
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/fable-simulator"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fable-simulator/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-simulator

Your own site · 80×15
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/fable-simulator"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/fable-simulator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,441 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.00114 $0.01441
Opus 5 $0.00057 $0.00720
Sonnet 5 $0.00023 $0.00288
Haiku 4.5 $0.00011 $0.00144

Measured 5d ago against content hash 8004248fb9d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

fable-simulator 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 5d 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-simulator/SKILL.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fable Simulator

Create an independent model of expected behavior and compare it with the candidate without pretending the simulation itself is production evidence.

Mission

Simulation is useful when ordinary tests risk sharing the same assumptions as the implementation, when a UI/agent flow needs controlled playthrough, or when failure injection can expose paths that are hard to reproduce safely.

The Skill must preserve a hard boundary between simulated/oracle evidence and real runtime verification.

Activate When

  • an algorithm/rewrite needs an independently derived oracle;
  • a contract is implicit across callers and needs reconstruction;
  • UI/agent state transitions benefit from scripted playthrough/failure injection;
  • testing destructive/rare conditions safely requires a model/sandbox;
  • differential testing between two independent implementations is valuable.

Do Not Activate When

  • normal tests/runtime evidence already proves the claim cheaply;
  • the proposed oracle is derived from the same code/assumptions under test;
  • simulation would be reported as proof that an external production system actually behaved that way.

Simulation Classification

Mode Independence requirement
Golden fixtures fixture expected outputs come from trusted contract/observations
Reference implementation independently written/maintained logic
Differential provider/model separate implementation/model with blinded oracle
State-machine simulation transitions/invariants defined from product contract
Failure injection controlled faults with explicit modeled assumptions
UI playthrough browser actions + observable DOM/network/runtime evidence

Protocol

Stage 1 — Define the claim and oracle independence

State what candidate behavior is being checked and why the oracle does not simply repeat candidate logic.

List shared assumptions. If a shared assumption could cause both candidate and oracle to be wrong identically, record that coverage gap.

Read the full file on GitHub · 169 lines

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. 5d ago First seen · 169 lines · 114 tokens per session scan A 8004248fb9d2

Subscribe to this mod's changes

fable-simulator is a skill published in the GitHub repository imMamdouhaboammar/get-fable (4 stars, last pushed today), licensed MIT. It adds 114 tokens to every session and 1,441 once invoked, about $0.0006 per session on Opus 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

screen-reader-testing

Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.

wshobson/agents · 39 tokens

e2e-testing-patterns

Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.

wshobson/agents · 51 tokens

test-reporting

Run the Level 2 dummy agent integration test suite and produce a detailed HTML report with per-test input → outcome analysis.

aden-hive/hive · 0 tokens

pod-e2e

ONLY for developing Kiro Crew itself -- if the project you are working on is anything else, ignore this skill: it drives Kiro Crew's own pod tooling, which does not exist in another repository. Boots a Kiro Crew feature worktree's full stack as an ISOLATED throwaway pod and proves it boots, authenticates and renders…

kirodotdev/KiroCrew · 174 tokens

relay-80-100-workflow

Use when writing agent-relay workflows that must fully validate features end-to-end before merging. Covers the 80-to-100 pattern - going beyond "code compiles" to "feature works, tested E2E locally." Includes repair-before-failure validation gates, mandatory sequential Claude-then-Codex fresh-eyes review/fix loops…

AgentWorkforce/relay · 121 tokens

browser-testing-with-screenshots

Use when testing web applications with visual verification - automates Chrome browser interactions, element selection, and screenshot capture for confirming UI functionality.

AgentWorkforce/relay · 32 tokens