agentsclimarketplace

Prompt optimizer

Skill VarunVekaria/optimize-prompt-skill/skills/prompt-optimizer

Analyzes a user's prompt and helps them reduce token consumption in the response by identifying missing refinements (length constraints, format instructions, scope limits, negative instructions, etc.) and producing a ready-to-use optimized rewrite with an estimated token savings percentage. Use whenever the user asks to "optimize a prompt", "reduce tokens", "make a prompt more efficient", "tighten up a prompt", or "token-efficient prompt". Also trigger when the user shares a prompt and asks how to make the response shorter or cheaper to run, or asks about token costs or response length in the context of an existing prompt. Also trigger when the user appends "also optimise prompt", "optimise prompt", or "optimise this prompt" to any request.From its SKILL.md

Install
npx -y skills add VarunVekaria/optimize-prompt-skill --skill prompt-optimizer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.0 KB, as published. Nobody here has run it

Prompt Optimizer

ONE RULE — NO EXCEPTIONS

When this skill is triggered:

  1. Output the optimized prompt block below
  2. STOP. Do not start any other task. Do not continue with anything else.

The user will take the optimized prompt and run it separately themselves.

**Token-optimized prompt:**

[rewritten prompt here]

**Estimated token savings: ~X%**

Want me to explain what I changed and why?

How to optimize

Scan the user's full message as the input prompt. Rewrite it by:

  • Adding a hard length constraint
  • Specifying a compact output format
  • Adding negative instructions (no preamble, no caveats, no examples unless asked)
  • Tightening scope
  • Using direct, imperative tone
  • Assuming appropriate expertise level

See REFERENCE.md for the full checklist and savings estimation table.

Tone

  • No preamble, no "sure!", no explanation before the block
  • Always find something to tighten — never say the prompt is already optimal
  • Savings estimate must be honest, not inflated
  • End with exactly: "Want me to explain what I changed and why?" — nothing else

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.