skill-refactorer
Audit and rewrite existing agent skills, system prompts, and CLAUDE.md files for Claude Fable 5 / 5.1.
Skill by kpab
Chalk Labs
Need help deploying skill-refactorer?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/kpab-skill-refactorer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/skill-refactorer
What's inside
- Skill 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.
- License
- MIT
- Instructions
- 36 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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.From kpab/claude-fable-5-skills, MIT.
More from kpab/claude-fable-5-skills
- 0.603score
subagent-orchestration
kpab
Patterns for delegating work to parallel subagents with Claude Fable 5 / 5.1 — when to split tasks, async coordination, long-lived workers, fresh-context…
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
act-when-ready
kpab
Stop Claude Fable 5 / 5.1 from over-planning, re-deriving settled facts, or surveying options it will never pursue.
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
autonomous-continuation
kpab
Keep Claude Fable 5 / 5.1 running to completion in unattended pipelines — no stopping on a statement of intent, no mid-run permission questions, no quiet…
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
effort-calibrator
kpab
Choose and tune the effort setting for Claude Fable 5 / 5.1 workloads.
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
grounded-progress
kpab
Make Claude Fable 5 / 5.1 progress reports verifiable against actual tool results during long autonomous runs.
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
markdown-memory
kpab
A file-based lesson memory that Claude Fable 5 / 5.1 reads and maintains across sessions.
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
no-gold-plating
kpab
Keep Claude Fable 5 / 5.1 changes minimal — no unrequested refactors, abstractions, defensive code, feature creep, or test files out of proportion to the…
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
regrounding-summary
kpab
Make Claude Fable 5 / 5.1's final report readable to someone who saw none of the work.
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
scope-guard
kpab
Prevent Claude Fable 5 / 5.1 from taking unrequested actions — applying fixes when only asked to diagnose, sending or drafting messages nobody asked for…
SkillBFreshness: B★ 19Claude Code +9 - 0.600score
claude-fable-5-skills
kpab
10 Agent Skills built specifically for Claude Fable 5 and 5.1 — intent, boundaries, and verification hooks instead of the step-by-step micromanagement…
SkillBFreshness: B★ 19Claude Code +9
Signals
- Stars
- 19
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Sep 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/kpab/claude-fable-5-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from kpab
- 0.603score
subagent-orchestration
kpab
Patterns for delegating work to parallel subagents with Claude Fable 5 / 5.1 — when to split tasks, async coordination, long-lived workers, fresh-context…
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
act-when-ready
kpab
Stop Claude Fable 5 / 5.1 from over-planning, re-deriving settled facts, or surveying options it will never pursue.
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
autonomous-continuation
kpab
Keep Claude Fable 5 / 5.1 running to completion in unattended pipelines — no stopping on a statement of intent, no mid-run permission questions, no quiet…
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
effort-calibrator
kpab
Choose and tune the effort setting for Claude Fable 5 / 5.1 workloads.
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
grounded-progress
kpab
Make Claude Fable 5 / 5.1 progress reports verifiable against actual tool results during long autonomous runs.
SkillBFreshness: B★ 19Claude Code +9 - 0.603score
markdown-memory
kpab
A file-based lesson memory that Claude Fable 5 / 5.1 reads and maintains across sessions.
SkillBFreshness: B★ 19Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get skill-refactorer running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
skill-refactorer. Agent Mart. https://agentmart.dev/skills/kpab-skill-refactorer (last updated 2026-10-24)