Skip to content
Skills Library
AI & agents · Review & audit

skill-refactorer

/skill-refactorer

Audit and rewrite existing agent skills, system prompts, and CLAUDE.md files for Claude Fable 5 / 5.1. Use whenever the user mentions migrating, upgrading, porting, or "fixing" a skill or prompt for Fable 5 or 5.1, complains that a previously good skill now produces worse output, or asks why the model ignores or over-follows old instructions. Also trigger when reviewing any skill written before June 2026, or any skill written for Fable 5 that now runs on Fable 5.1.

Author
kpab ↗
Licence
MIT
Last repository change
02.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 02.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Audit and rewrite existing agent skills, system prompts, and CLAUDE.md files for Claude Fable 5 / 5.1. Use whenever the user mentions migrating, upgrading, porting, or "fixing" a skill or prompt for Fable 5 or 5.1, complains that a previously good skill now produces worse output, or asks why the model ignores or over-follows old instructions. Also trigger when reviewing any skill written before June 2026, or any skill written for Fable 5 that now runs on Fable 5.1.

Triggers from the description

fixing
Original author description

Audit and rewrite existing agent skills, system prompts, and CLAUDE.md files for Claude Fable 5 / 5.1. Use whenever the user mentions migrating, upgrading, porting, or "fixing" a skill or prompt for Fable 5 or 5.1, complains that a previously good skill now produces worse output, or asks why the model ignores or over-follows old instructions. Also trigger when reviewing any skill written before June 2026, or any skill written for Fable 5 that now runs on Fable 5.1.

How it works

  1. Workflow
  2. Red flags that mark a line as compensation
  3. What NOT to touch
Original SKILL.md headings · 36 lines, 590 words
SKILL.md preview
---
name: skill-refactorer
description: Audit and rewrite existing agent skills, system prompts, and CLAUDE.md files for Claude Fable 5 / 5.1. Use whenever the user mentions migrating, upgrading, porting, or "fixing" a skill or prompt for Fable 5 or 5.1, complains that a previously good skill now produces worse output, or asks why the model ignores or over-follows old instructions. Also trigger when reviewing any skill written before June 2026, or any skill written for Fable 5 that now runs on Fable 5.1.
---

# Skill Refactorer for Claude Fable 5 / 5.1

Skills and prompts written for earlier Claude models often encode *capability compensation*: step-by-step hand-holding, exhaustive enumeration of edge cases, and rigid micro-workflows that existed because older models needed them. Fable 5 and 5.1 follow instructions strictly enough that this old scaffolding becomes a straitjacket — the model obeys the obsolete recipe instead of using its own (now better) judgment. The result is output that is *worse* than no skill at all. Fable 5 prompts generally carry over to 5.1 unchanged, but 5.1 narrates less and formats less by default, so lines written to suppress either now cut into what the reader needs.

Your job: separate what the instruction *protects* from how it *micromanages*, keep the former, delete the latter.

## Workflow

1. **Inventory.** List every imperative instruction in the target skill/prompt as a separate line item.
2. **Classify each item** into exactly one bucket:
   - **Guardrail** — protects against a real, current risk (data loss, secrets, destructive commands, compliance). KEEP.
   - **Preference** — a genuine style/format choice the owner still wants (tone, language, naming conventions). KEEP, but compress to one sentence if it sprawls.
   - **Compensation** — exists only because an older model would otherwise fail (forced step sequences, "always re-read the file before editing", verbose output templates, repeated "do not forget" reminders, enumerations of failure modes the model no longer exhibits). DELETE or replace with a single statement of intent.
3. **Rewrite.** For every deleted compensation, ask: "what outcome was this trying to guarantee?" If the outcome still matters, state the outcome once, not the procedure. Example:
   - Before: "Step 1: open the file. Step 2: locate the function. Step 3: copy it to a scratch buffer. Step 4: edit the copy. Step 5: diff against the original. Step 6: ..."
   - After: "Edits must be verifiable: keep a way to diff your change against the original before finalizing."
4. **Tighten the description field.** Triggering logic stays in frontmatter `description`; the body should assume the skill already fired.
5. **Length check.** A refactored skill is typically 30–60% shorter. If it isn't, re-run step 2 — you kept compensations.
6. **A/B test.** Run one representative task with the old skill and one with the refactored skill. Compare outputs with the user before declaring victory. Afterward the model can keep the skill current from what it learns in-task, under these same rules: propose the edit, never drop a guardrail silently.

## Red flags that mark a line as compensation

- Numbered procedures where the order doesn't actually matter
- The same warning repeated in different words
- Output templates that fix structure the user never asked for
- "Think step by step", "be careful", "double-check" without a concrete check
- Instructions to narrate or explain internal reasoning in the response (on Fable 5 and 5.1 this can trigger refusals — remove these entirely)
- Anti-formatting rules aimed at older, bullet-happy models ("no lists", "never bold"). 5.1 already formats sparingly, so these suppress structure the content needs — delete, or replace with a rule saying when a list or heading is appropriate
- "Hold all findings for the final response" and similar narration suppressors. 5.1 already writes fewer updates between tool calls; remove these before adding anything about progress reporting

## What NOT to touch

- Domain facts, file paths, API contracts, schemas — these are knowledge, not scaffolding.
- Safety and permission boundaries. When in doubt whether something is a guardrail or a compensation, ask the user; never silently drop a guardrail.

Versions

The database has no other skills named skill-refactorer.

Database snapshot: 13.11.2026 · package version 8a2fb0de756c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100optimize-claude-fable-5-prompts
    Clarify and rewrite prompts for Claude Fable 5. Use when optimizing, migrating, debugging, or designing a Fable 5 / Fabel prompt (including Fable/Fabel 提示词优化)—not for Claude Opus 5.
  • 100fable-5-2-prompt-audit
    Audit the prompts and instructions in a project for lines written for earlier Claude models that Anthropic says to reconsider on Claude Fable 5.2: standing delegation rules, token budgets written into the prompt, harness code that edits earlier turns, "treat that answer as done"…
  • 90fable-5-2-prompting
    Use when writing, auditing, or migrating a system prompt, CLAUDE.md, skill, agent file, memory file, or harness for Claude Fable 5.2 or Claude Mythos 5.2, or when a Fable 5.2 agent stops before the task is done, asks for approval it does not need, goes silent during long turns,…
  • 90prompt-fable
    Drafts a copy-pasteable prompt for Claude Fable 5 without dispatching anything. Use when the user says /prompt-fable, write me a fable prompt, draft a prompt for fable, help me prompt fable 5, or wants to hand a prompt to Fable somewhere else (the web app, another session, a…
  • 100ask-fable
    Dispatches a task to a Claude Fable 5 subagent with a prompt written the way Fable 5 wants to be prompted, and holds a back-and-forth with it across turns. Use when the user says /ask-fable, ask fable, fable, fable 5, send this to fable, hand this off to fable, get a Fable…
  • 100valcraft-hone
    Refine an existing prompt artifact — inline prompt text, markdown prompt files (system prompts, agent instructions, slash commands), or a complete skill directory — against the official model prompting guides (Anthropic's Claude Fable 5.1 and Fable 5 prompting guides + OpenAI…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.