autoresearch-prompt

Optimize LLM prompts via iterative evaluation against labeled datasets.

16|2|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/maroffo/claude-forge --skill autoresearch-prompt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autoresearch-prompt
Source: https://github.com/maroffo/claude-forge/tree/main/skills/autoresearch-prompt
Command: npx skills add https://github.com/maroffo/claude-forge --skill autoresearch-prompt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires anthropic, pydantic, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the process of improving AI prompts by creating an iterative evaluation and refinement loop, ensuring prompts are highly effective for specific tasks.

Core Features & Use Cases

  • Autonomous Prompt Optimization: Uses a Karpathy-style autoresearch pattern to continuously improve prompts based on evaluation results.
  • Eval-Driven Experimentation: Runs prompts against labeled examples, analyzes failures, and makes targeted edits to prompt.md.
  • Use Case: You have a prompt that isn't reliably classifying newsletter content. This Skill will automatically test variations of your prompt against a dataset of newsletters, identify why it fails, and iteratively refine it until it achieves high accuracy.

Quick Start

Run the autoresearch-prompt skill to evaluate the current prompt against the default evaluation set.

Frequently Asked Questions about autoresearch-prompt

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

FAQPage Schema
How do I optimize LLM prompts automatically using evaluation datasets?

You can optimize LLM prompts automatically by running an autonomous, evaluation-driven experiment loop that tests prompt variations against labeled datasets, analyzes failures, and iteratively refines the prompt to improve task accuracy.

How does evaluation-driven prompt optimization work for classification tasks?

Evaluation-driven prompt optimization works by executing your current prompt against a labeled dataset, analyzing the misclassified or failed extractions, and autonomously applying targeted edits to the prompt to improve its performance on subsequent iterations.

Do I need an Anthropic API key and Python environment to run autonomous prompt refinement?

Yes, autonomous prompt refinement requires a Python environment configured with Anthropic API access to execute the iterative prompt edits, run evaluations, and compute scoring against predefined metrics.

Can I use automated prompt optimization for information extraction tasks?

Yes, automated prompt optimization supports both classification and extraction tasks by continuously testing your prompt against labeled examples and refining it until it achieves high accuracy on the target dataset.

What is the best way to fix an LLM prompt that fails to reliably classify content?

The best way to fix an unreliable classification prompt is to use an autonomous research loop that repeatedly evaluates the prompt against your data, identifies failure patterns, and makes targeted edits to improve accuracy.

Are there limitations to using automated prompt evaluation loops for AI agents?

Automated prompt evaluation loops require predefined labeled datasets and structured metrics to function effectively, meaning they are limited to refining prompts for tasks where ground-truth examples and clear scoring criteria are available.