Install any skill in seconds. Free to start, no credit card required.
Get Started Free →automagik-dev/refine
Transform a brief or prompt into a structured, production-ready prompt via prompt-optimizer. File or text mode.
Passed 6 of 12 test cases with the skill, and 5 of 12 without it.
and 3 more in the full report
4 fixed7 passed either way8 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
Optimize this short draft: 'Fix bug'. Save the output prompt and state the target path.
| Checked | Without skill | With skill |
|---|---|---|
| The target path is inside /tmp/prompts/ | Missed | Passed |
| The slug includes fix-bug | Missed | Passed |
The instructions your model reads when the skill loads.
Runtime syntax: invoke the plugin copy through the active runtime's owner-qualified skill selector; use a bare selector only when intentionally selecting a user-tier copy (a separately installed personal copy; Genie no longer seeds this tier). Cross-skill prose below uses bare names as portable semantic routes; the orchestrator resolves the selector for the active runtime.
Transform any brief, draft, or one-liner into a production-ready structured prompt.
refine with text or a file path@ → file mode; otherwise → text mode.prompts/optimizer.md (relative to this skill's directory — skills/refine/prompts/optimizer.md). Its full contents are the refiner's system prompt.prompts/optimizer.md; user message = the input. Single turn./tmp/prompts/<slug>.md.| File mode | Text mode | |
|---|---|---|
| Invocation | refine @path/to/file.md | refine <text> |
| Input | file contents (strip @ prefix) | the raw argument |
| Output | overwrite the same file | /tmp/prompts/<slug>.md (mkdir -p /tmp/prompts/ first) |
| Report | the updated file path | the created file path |
Slug: <unix-timestamp>-<word1>-<word2>-<word3> — first 3 words, lowercased, hyphenated. Example: 1708190400-fix-auth-bug.
The refiner is a single-turn subagent: input in, optimized prompt out.
prompts/optimizer.md — passed whole, never summarized.test cases passed, vs 5 / 12 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.