kimchi:refine

Refine AI-generated plans through iterative evaluation and targeted fixes.

8|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/Tromml/kimchi --skill kimchi-refine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kimchi:refine
Source: https://github.com/Tromml/kimchi/tree/main/plugins/kimchi/skills/refine
Command: npx skills add https://github.com/Tromml/kimchi --skill kimchi-refine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of refining AI-generated plans to meet quality thresholds, ensuring they are complete, clear, testable, independent, and appropriately sized before execution.

Core Features & Use Cases

  • Automated Plan Evaluation: Scores plans based on five key criteria (Completeness, Clarity, Testability, Independence, Size).
  • Iterative Improvement: Automatically applies targeted fixes to the lowest-scoring criteria in a loop.
  • Exit Condition Management: Stops refinement when a quality threshold is met, diminishing returns are observed, a regression occurs, or maximum loops are reached.
  • Use Case: After an initial plan is generated, use this Skill to automatically polish it, ensuring it's robust and actionable for multi-agent execution.

Quick Start

Use the kimchi:refine skill to improve the plan, allowing up to 5 refinement loops.

Frequently Asked Questions about kimchi:refine

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

FAQPage Schema
How do I improve AI-generated plans to ensure they are testable and complete?

Refine AI-generated plans using iterative evaluation that scores completeness, clarity, testability, independence, and size. The process automatically applies targeted fixes to the lowest-scoring criteria in a loop until quality thresholds are met.

What is the best way to evaluate plans for multi-agent execution?

Evaluating plans for multi-agent execution involves scoring them against five key criteria: completeness, clarity, testability, independence, and size. This ensures tasks are appropriately sized and independent enough for distributed processing.

How do I stop an automated plan refinement loop?

Automated plan refinement stops based on predefined exit conditions: when a quality score threshold is met, diminishing returns are observed, a regression occurs, or the maximum number of refinement loops is reached.

When do I need iterative refinement for code generation plans?

Iterative refinement is needed after an initial AI plan is generated but before execution. It polishes the plan by identifying weaknesses and applying specific fixes, ensuring the output is robust and actionable for multi-agent execution.

Can I set a maximum number of loops for plan quality assurance?

Yes, you can allow up to a specified number of refinement loops, such as 5, to manage the plan quality assurance process. The refinement will automatically exit if this maximum is reached before other exit conditions trigger.

Does automated plan evaluation fix all criteria at once?

No, automated plan evaluation applies targeted fixes specifically to the lowest-scoring criteria during each iteration. This focused improvement strategy ensures efficient progression toward overall plan quality thresholds.