prompt-optimize

Optimize task prompts for curdx-flow routing without executing the work.

4|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/curdx/curdx-flow --skill prompt-optimize-curdx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-optimize
Source: https://github.com/curdx/curdx-flow/tree/main/plugins/curdx-flow/skills/prompt-optimize
Command: npx skills add https://github.com/curdx/curdx-flow --skill prompt-optimize-curdx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Read Bash.

What problem does it solve?

It helps you craft a better task prompt so curdx-flow routes work correctly, reducing the chance of executing the wrong level of specification or missing key verification steps.

Core Features & Use Cases

  • Advisory prompt optimization: Improves a draft prompt and recommends the most appropriate curdx-flow routing without performing the task.
  • Read-only routing facts: Uses curdx-flow routing in read-only mode (and compile mode when available) to anchor recommendations in the tool’s route/quality-gate outputs.
  • Verification-first guidance: Identifies risks and proposes quality gates and a target skill to ensure the eventual work is verifiable rather than “silent completion.”

Quick Start

Provide a draft task goal to curdx-flow prompt-optimize and ask it to return a recommended route, quality gates, and an optimized prompt for the right curdx-flow skill.

Frequently Asked Questions about prompt-optimize

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

FAQPage Schema
How do I optimize a task prompt for correct workflow routing?

To optimize a task prompt for correct workflow routing, submit a draft goal and the tool evaluates it in advisory-only mode, returning a recommended route, quality gates, and an optimized prompt without executing the underlying work.

What is prompt optimization for safer routing in Claude Code?

Prompt optimization for safer routing in Claude Code refines a rough goal into an actionable request by using deterministic read-only routing facts to recommend the right specification level and verification steps.

How do I add quality gates to a task specification before execution?

You add quality gates to a task specification by analyzing a draft prompt, which identifies execution risks and proposes verification-first guidance to ensure the eventual work is verifiable rather than silently completed.

Can I use read-only routing to classify a prompt without running it?

Yes, you can use read-only routing to classify a prompt without running it, anchoring recommendations in route and quality-gate outputs while operating strictly in advisory mode to prevent premature execution.

When do I need prompt optimization for triage and resumption?

You need prompt optimization for triage and resumption when turning a rough goal into an actionable request spanning direct edits, light specs, full specs, resumption, or triage to avoid missing key verification steps.

Does prompt optimization execute the underlying workflow tasks?

No, prompt optimization does not execute the underlying workflow tasks; it operates in advisory-only mode to produce route recommendations, intent analysis, context-budget limits, and quality gates.