refine

Transform unstructured text or file content into structured prompts for AI agents.

328|53|Updated Aug 1, 2025
One-click install
npx skills add https://github.com/automagik-dev/genie --skill refine-automagik-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refine
Source: https://github.com/automagik-dev/genie/tree/main/skills/refine
Command: npx skills add https://github.com/automagik-dev/genie --skill refine-automagik-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill transforms vague or incomplete prompts into clear, structured, and effective instructions for AI agents, ensuring better and more predictable results.

Core Features & Use Cases

  • Prompt Optimization: Refines user-provided text or file content into a production-ready prompt.
  • File or Text Mode: Can process prompts directly as text input or by referencing a file path.
  • Use Case: You have a rough idea for an email to a client, but it's not quite right. Use /refine to polish it into a professional and persuasive message.

Quick Start

Use the refine skill to optimize the prompt in the file 'my-prompt.md'.

Frequently Asked Questions about refine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize unstructured text into a structured prompt for an AI agent?

To optimize unstructured text into a structured prompt for an AI agent, this Skill transforms your rough ideas or file content into clear, production-ready instructions using a dedicated subagent.

Can I process prompt text directly from a file for AI optimization?

Yes, you can process prompt text directly from a file for AI optimization. This Skill supports file-based processing by referencing a file path, or you can provide text input directly.

What is the best way to refine a rough idea into a professional email prompt?

The best way to refine a rough idea into a professional email prompt is using this Skill, which polishes vague text into structured, persuasive messages that yield predictable AI results.

Where does the optimized AI prompt get saved after text refinement?

After text refinement, the optimized AI prompt is output to specified file locations or temporary directories, allowing you to easily retrieve and use the production-ready instructions.

Do I need to install any dependencies to generate production-ready prompts?

No, you do not need to install any dependencies to generate production-ready prompts. This Skill operates without external dependencies to refine your text or file content into optimized instructions.

Why does my AI agent produce unpredictable results from vague instructions?

AI agents produce unpredictable results from vague instructions because they lack clear structure. This Skill solves the problem by transforming incomplete prompts into effective, production-ready instructions.