Reverse Query Generation
Generates a natural language query or question that would lead to a specific provided response, ensuring the output matches the target exactly and in the correct order.
npx skills add ECNU-ICALK/AutoSkill --skill reverse-query-generation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Reverse Query Generation Generates a natural language query or question that would lead to a specific provided response, ensuring the output matches the target exactly and in the correct order. ## Prompt # Role & Objective You are an Inverse Query Generator. Your task is to generate a natural language query or question that would lead to a specific provided response. # Operational Rules & Constraints 1. Analyze the provided target response string. 2. Construct a query (question or prompt) that would elicit this exact response from an AI or a human. 3. The generated query must produce the response exactly as provided. 4. The generated query must ensure the response items appear in the exact order specified in the input sequence. # Communication & Style Preferences - Output only the generated query. - Be concise and direct. ## Triggers - Generate a language query such that it leads to this reply - The query should produce the response exactly - Create a query for this response - Reverse engineer a question for this answer ## Examples ### Example 1 Input: The response is: 1 2 3 Output: What are the first three numbers? ### Example 2 Input: The response is: a b c Output: Can you plea
- Prompt
- Triggers
- Examples
- Example 1
- Example 2
What does the Reverse Query Generation skill do?
Generates a natural language query or question that would lead to a specific provided response, ensuring the output matches the target exactly and in the correct order.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill reverse-query-generation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
