Skip to content
Skill Authoring
Skill

/prompt-leverage

Upgrade raw prompts into execution-ready instructions. Use when asked to improve a prompt, add context, tool, verification, or done rules, extract a template, or design an enhancement hook.

From plugin
skills
2277 skills2 MCP

Claude Code

$ npx -y skills add hoangnb24/skills --skill prompt-leverage --agent claude-code

SKILL.md

prompt-leverage.SKILL.md
name: prompt-leverage
description: Upgrade raw prompts into execution-ready instructions. Use when asked to improve a prompt, add context, tool, verification, or done rules, extract a template, or design an enhancement hook.

Prompt Leverage

Turn the user's current prompt into a stronger working prompt without changing the underlying intent. Preserve the task, fill in missing execution structure, and add only enough scaffolding to improve reliability.

Workflow

1. Read the raw prompt and identify the real job to be done. 2. Infer the task type: coding, research, writing, analysis, planning, or review. 3. Rebuild the prompt with the framework blocks in `references/framework.md`. 4. Keep the result proportional: do not over-specify a simple task. 5. Return both the improved prompt and a short explanation of what changed when useful.

Transformation Rules

  • Preserve the user's objective, constraints, and tone unless they conflict.
  • Prefer adding missing structure over rewriting everything stylistically.
  • Add context requirements only when they improve correctness.
  • Add tool rules only when tool use materially affects correctness.
  • Add verification and completion criteria for non-trivial tasks.
  • Keep prompts compact enough to be practical in repeated use.

Framework Blocks

Use these blocks selectively.

  • `Objective`: state the task and what success looks like.
  • `Context`: list sources, files, constraints, and unknowns.
  • `Work Style`: set depth, breadth, care, and first-principles expectations.
  • `Tool Rules`: state when tools, browsing, or file inspection are required.
  • `Output Contract`: define structure, formatting, and level of detail.
  • `Verification`: require checks for correctness, edge cases, and better alternatives.
  • `Done Criteria`: define when the agent should stop.

Output Modes

Choose one mode based on the user request.

  • `Inline upgrade`: provide the upgraded prompt only.
  • `Upgrade + rationale`: provide the prompt plus a brief list of improvements.
  • `Template extraction`: convert the prompt into a reusable fill-in-the-blank template.
  • `Hook spec`: explain how to apply the framework automatically before execution.

Hook Pattern

When the user asks for a hook, model it as a pre-processing layer:

1. Accept the current prompt. 2. Classify the task and risk level. 3. Expand the prompt using the framework blocks. 4. Return the upgraded prompt for execution. 5. Optionally keep a diff or summary of injected structure.

Use `scripts/augment_prompt.py` when a deterministic first-pass rewrite is helpful.

Quality Bar

Before finalizing, check the upgraded prompt:

  • still matches the original intent
  • does not add unnecessary ceremony
  • includes the right verification level for the task
  • gives the agent a clear definition of done

If the prompt is already strong, say so and make only minimal edits.

Read more
@hoangnb24
Ships withskills

Khuym is a focused Codex plugin containing five independent meta-skills and one tool-automation skill. It improves how an agent understands, researches, sequences, lands, and visualizes work without imposing a repository workflow.

2277 skills2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
227
Star history of hoangnb24/skills on GitHub, a chart by star-history.com

Other skills on skills.

goal-griller

goal-griller

Turn vague ideas into verifiable Codex goals. Use when the user mentions goal mode, /goal, create_goal, autonomous work, or asks…

@hoangnb24@hoangnb24Install Skill
pi-durable-multi-provider

pi-durable-multi-provi…

Agent playbook for building multi-provider applications with @earendil-works/pi-durable and @earendil-works/pi-ai where every job…

@hoangnb24@hoangnb24Install Skill
sequence-execution-plan

sequence-execution-pla…

Build dependency-aware plans from goals, incidents, backlogs, or priorities. Use when priority conflicts with execution order and…

@hoangnb24@hoangnb24Install Skill
smart-commits

smart-commits

Organize an existing Git tree into logical commits and push them. Use when asked to commit everything, smart commit, group…

@hoangnb24@hoangnb24Install Skill
tldraw-api

tldraw-api

Create, inspect, edit, persist, and verify tldraw canvases through the tldraw Desktop local Canvas API without mouse-driven…

@hoangnb24@hoangnb24Install Skill
xia

xia

Research unfamiliar implementation work before coding. Use when work is ambiguous, version-sensitive, or risky and requires repo…

@hoangnb24@hoangnb24Install Skill

More skills from other plugins.

gstack-openclaw-ceo-review

gstack-openclaw-ceo-re…

Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or…

gstack2w138k
@garrytan@garrytanInstall Skill
book-to-skill

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…

@virgiliojr94@virgiliojr94Install Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

@titanwings@titanwingsInstall Skill

Questions about prompt-leverage.

Which coding agents can use prompt-leverage?
prompt-leverage installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.