reprompter-reverse

reprompter-reverse is a skill for Cursor from AytuncYildizli/reprompter. It costs 157 tokens per session (2,524 once invoked), scanned A, original, MIT.

A prompt-analysis workflow that studies a good result and produces a prompt intended to recreate its structure and quality.

In plain words
What is it for?
It is for reverse-engineering prompts from examples, identifying the task and quality requirements, and generating a reusable XML-formatted prompt.
Why use it?
It helps when the desired output exists but the instructions that produced it are missing. It extracts success criteria and the underlying prompt structure instead of starting from scratch.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin. Also seen: names the AskUserQuestion tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Mode skill of the `reprompter` plugin. Entry/routing: `../reprompter/SKILL.md`. Content below is verbatim from root SKILL.md lines 1314-1479; the reverse templa.

Part of the reprompter plugin — 5 skills shipped together

Good fit It is for reverse-engineering prompts from examples, identifying the task and quality requirements, and generating a reusable XML-formatted prompt.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/AytuncYildizli/reprompter
agentmods
npx agentmods add skills/aytuncyildizli/reprompter/reprompter-reverse

Made for: Cursor.

Or install reprompter, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reprompter-reverse

README.md
[![agentmods](https://agentmods.dev/badge/skills/aytuncyildizli/reprompter/reprompter-reverse/github.svg)](https://agentmods.dev/skills/aytuncyildizli/reprompter/reprompter-reverse)
Your own site
<a href="https://agentmods.dev/skills/aytuncyildizli/reprompter/reprompter-reverse"><img src="https://agentmods.dev/badge/skills/aytuncyildizli/reprompter/reprompter-reverse/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for reprompter-reverse

Your own site · 80×15
<a href="https://agentmods.dev/skills/aytuncyildizli/reprompter/reprompter-reverse"><img src="https://agentmods.dev/badge/skills/aytuncyildizli/reprompter/reprompter-reverse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00157 $0.02524
Opus 5.5 $0.00063 $0.01010
Sonnet 5.5 $0.00031 $0.00505
Haiku 4.5 $0.00016 $0.00252

Measured yesterday against content hash a8176bdcbee3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

reprompter-reverse scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

grokbot-plugin/skills/reprompter-reverse/SKILL.md · 183 lines

How it starts

The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RePrompter — Reverse (prompt DNA extraction)

Mode skill of the reprompter plugin. Entry/routing: ../reprompter/SKILL.md. Content below is verbatim from root SKILL.md lines 1314-1479; the reverse template is references/reverse-template.md. Task templates, scoring and outcome-schema.md live in ../reprompter-improve/; headless-relay delivery of a finished Reverse prompt is in ../reprompter-goal-workflow/references/headless-relay.md; the Prompt Flywheel is in ../reprompter/references/advanced-features.md. scripts/<name> paths resolve to the bundled ../reprompter/scripts/<name> (e.g. ../reprompter/scripts/reverse-engineer.js).

Required reading: ../reprompter/references/advanced-features.md. The always-on rules in ../reprompter/SKILL.md → "Core shared rules" (context check, uncertainty permission, WHAT not HOW) apply to every extracted prompt.

Advanced: Reverse Reprompter

TL;DR

Great output in → optimal prompt out. Extract the DNA that produced excellence.

Phase 1: EXTRACT — structural analysis of the exemplar (~5s)
Phase 2: ANALYZE — classify task type, domain, tone, quality (~5s)
Phase 3: SYNTHESIZE — generate full XML prompt matching the exemplar's pattern (~10s)
Phase 4: INJECT — seed flywheel with pre-graded exemplar outcome (optional, ~2s)

Key insight: Users encounter great outputs constantly but can't reproduce the quality. Reverse Reprompter closes that gap by extracting the prompt that would have produced it.

Trigger words

  • "reverse reprompt", "reverse reprompter"
  • "reprompt from example", "reprompt from this"
  • "learn from this"
  • "extract prompt from"
  • "reverse engineer prompt"
  • "prompt from output", "prompt dna", "prompt genome"

Process

  1. Receive exemplar — user provides text (paste, file path, or points to an existing output)
  2. Input guard — must be substantial output (>50 chars, has structure). Reject raw prompts (use Single mode instead), empty text, or single-word inputs
  3. Quick interview (max 2 questions via AskUserQuestion):
    • "What do you love about this output?" (with options: Structure / Depth / Tone / Coverage / Everything)
    • "What context produced it?" (with options: Code review / Architecture / API work / Research / Other) — skip if task type is detectable with high confidence
  4. Analyze — extract structure, classify type, detect domain and tone
  5. Extract criteria — derive a v1 <success_criteria schema_version="1"> block from the exemplar's observable features (see "Criteria extraction from exemplars" below). The exemplar is the target, so the criteria encode "future outputs should match this exemplar's distinguishing properties."
  6. Generate — produce full XML prompt using reverse template + best-fit task template; embed the extracted <success_criteria> block.
  7. Score — show quality dimensions of the generated prompt
  8. Flywheel injection — offer to save as pre-graded exemplar outcome

Read the full file on GitHub · 183 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 183 lines · 157 tokens per session scan A a8176bdcbee3

Subscribe to this mod's changes

reprompter-reverse is a skill published in the GitHub repository AytuncYildizli/reprompter (118 stars, last pushed yesterday), licensed MIT. It adds 157 tokens to every session and 2,524 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens