Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Claude5 Prompt Rewrite

ASecurity

Rewrite pre-Claude-5 prompts and skills for Fable 5 / Opus 5 (plus GPT-6 Astra appendix): goal-over-steps, why plus definition of done, answer-vs-action boundaries, strip over-triggers and rituals, global managed-prose line, diff-for-approval rewrite with regex anti-pattern scanner. Use when modernizing prompts, auditing CLAUDE.md or skills, fixing over-verbose or over-acting model behavior. Gatilhos PT: reescrever prompts, modernizar skills, modelo verboso demais, age sem pedir, rituais thin...

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsgo

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add majinmagros/magros.ai-skills --skill claude5-prompt-rewrite --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claude5 Prompt Rewrite?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Claude5 Prompt Rewrite
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majinmagros-claude5-prompt-rewrite/badge)](https://www.skillsdirectory.com/skills/majinmagros-claude5-prompt-rewrite)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: claude5-prompt-rewrite
description: Rewrite pre-Claude-5 prompts and skills for Fable 5 / Opus 5 (plus GPT-6 Astra appendix): goal-over-steps, why plus definition of done, answer-vs-action boundaries, strip over-triggers and rituals, global managed-prose line, diff-for-approval rewrite with regex anti-pattern scanner. Use when modernizing prompts, auditing CLAUDE.md or skills, fixing over-verbose or over-acting model behavior. Gatilhos PT: reescrever prompts, modernizar skills, modelo verboso demais, age sem pedir, rituais think carefully. Gatilhos EN: rewrite prompts, Fable 5 prompting, Opus 5 guide, definition of done, strip never always must.
---

# Claude 5 Prompt Rewrite

Prompts written before Fable 5 / Opus 5 actively degrade output: prescriptive steps narrow a model trained to run end-to-end, and old emphatics now over-trigger. Rewrite to goal + why + done — then show a diff for approval.

## Quando usar

Auditing `CLAUDE.md`, project instructions, skills, or saved prompts that predate Claude 5; model is verbose, over-acts (edits/sends/creates unasked), ignores intent on edge calls, or costs more than it should. Run on `CLAUDE.md` + top-3 most-used skills first.

## The 7 rules

1. **Goal, not steps** — replace step lists with the complete task spec and let the model run. Steps narrow it to your (worse) version of the job. For genuinely small tasks, drop effort to low/medium instead of adding instructions.
2. **Why + definition of done** — add the reason, not just the request: `I'm working on [larger task] for [who]. This enables [outcome]. With that in mind: [task + exact done criteria]`. Intent resolves the ~50 unspecified micro-decisions the way you'd brief a colleague.
3. **State done + length; interview for big builds** — Opus 5 expands scope (dashboards, backups, extra research). Constrain explicitly: deliverable, shape, max length. When done is unknowable upfront, don't write a longer prompt — have the model interview you (goal, who for, done, edge cases, trade-offs) and emit the brief itself.
4. **Remove over-triggers** — delete `never / always / must / critical / IMPORTANT` and negative rules; they over-fire on Claude 5 and fight the system prompt. Rewrite as positive behavior + reason: `Use this tool when [case], because [reason]`.
5. **Remove rituals** — `think carefully / walk me through your reasoning` duplicates built-in thinking (control cost via effort setting; reasoning-extraction phrasing can trigger Fable 5 refusal safeguards). `double-check every number / verify via subagent` re-buys a pass Opus 5 already does. Delete; keep only checks the model cannot do itself.
6. **Boundaries: answer × action** — Fable 5 acts unasked (edits sheets, drafts emails, creates backups). Add once to global instructions: `When the user asks, questions, or thinks aloud, the deliverable is your assessment — report findings and stop. Before any state-changing command, check the evidence supports that specific action.` Exception: scheduled/autonomous tasks get the inverse (proceed on reversible actions).
7. **Managed prose goes global** — Fable 5.1 writes dense (long sentences, few breaks); Opus 5 writes long. Fix once in `CLAUDE.md` / project instructions (`Remove managed prose: short sentences, one idea each, cut stock phrases`), then delete per-prompt voice paragraphs.

## Steps

1. **Scan** — run the anti-pattern regexes below over `CLAUDE.md`, skills, and saved prompts; list every hit with file:line.
2. **Rewrite** — apply rules 1–7: steps → goal, add why + done, positives + reasons, delete rituals, move voice/boundaries to global instructions.
3. **Diff for approval** — show before/after per file; change nothing without approval. Keep goal, audience, and done criteria; strip only dead constraints.
4. **Colleague test** — show the new prompt to a colleague with zero context: if they'd be confused, the model will be too. Fix, then adopt.

## Anti-pattern scanner (regex)

```text
\b(never|always|must|critical|IMPORTANT)\b        → rule 4: positive + reason
\bthink (carefully|step by step)\b               → rule 5: delete, use effort
\bwalk me through your reasoning\b               → rule 5: delete (refusal risk)
\bdouble-?check\b|\bverify (with|via|using) a sub-?agent\b → rule 5: delete
^Step \d+|^\d+\.\s+[A-Z].*(then|next)\b          → rule 1: steps → goal
\bdon't use (bullets|bold|tables|jargon)\b       → rule 7: move global / delete
```

## Appendix: GPT-6 Astra (agrees / differs)

- **Agrees**: goal + why over steps; redundant re-checks waste tokens — same cleanup applies.
- **Differs**: no action bias — add explicit `bias toward action` when autonomy is wanted; ships a word blocklist (`delve`, `leverage`, …) in its system prompt, so humanizer-style word bans are redundant there too.

## Rules

- NEVER add a constraint the system prompt already enforces — it fights the model and wastes tokens.
- NEVER extract reasoning (`show your thinking`) on Fable 5 — refusal risk.
- NEVER rewrite silently — diff + approval every file; intent and done criteria are preserved verbatim unless the owner agrees.
- Colleague-confused = model-confused: fail the rewrite, don't ship it.

## Related skills

- `prompt-optimizer` — general prompt improvement; this skill is the Claude-5-specific rule set.
- `prompt-builder` — constructing new prompts; apply these 7 rules during construction.
- `claude-md-auditor` — auditing `CLAUDE.md`; pair it with this rewrite pass.

Attribution

majinmagrosmajinmagros
View sourceMore from majinmagros →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →