autoresearch

Diagnose execution traces and mutate prompts in a self-improvement loop.

2|Updated Jul 22, 2026
One-click install
npx skills add https://github.com/0xUrsanomics/utopia-os --skill autoresearch-0xursanomics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autoresearch
Source: https://github.com/0xUrsanomics/utopia-os/tree/main/skills-shared/autoresearch
Command: npx skills add https://github.com/0xUrsanomics/utopia-os --skill autoresearch-0xursanomics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scripts/eval/skill_failure_tracker.py, and includes scripts (resource) components.

What problem does it solve?

This skill solves the plateauing performance of standard AI agents by replacing blind hill-climbing with a rigorous, trace-informed diagnostic loop that identifies the root cause of failures.

Core Features & Use Cases

  • Trace-Informed Diagnosis: Analyzes full execution traces to pinpoint exactly where an agent's output deviates from requirements.
  • Counterfactual Reasoning: Evaluates why previous attempts failed to prevent regression during optimization.
  • Additive-Only Safety Valve: Automatically switches to a conservative mode after repeated regressions to ensure stability.
  • Use Case: Use this to optimize your system prompts, routing logic, or complex agent workflows by running them through a multi-candidate evaluation loop that learns from its own mistakes.

Quick Start

Trigger the autoresearch skill to begin optimizing the target prompt by providing the skill name and a set of test prompts for the evaluation loop.

Frequently Asked Questions about autoresearch

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

FAQPage Schema
How do I optimize AI agent performance using execution traces?

You can optimize AI agent performance by running execution traces through a diagnostic loop that identifies where outputs deviate from requirements, applies counterfactual reasoning to prevent regression, and performs targeted prompt mutations.

What is trace-informed diagnosis for prompt tuning?

Trace-informed diagnosis for prompt tuning is a process that analyzes full execution traces to pinpoint exact deviations from scoring criteria, enabling targeted system-prompt refinement instead of blind hill-climbing.

How do I prevent regression during iterative prompt engineering?

You prevent regression during iterative prompt engineering by applying counterfactual reasoning to evaluate why previous attempts failed, combined with an additive-only safety valve that switches to conservative mode after repeated regressions.

What do I need to run a multi-candidate evaluation loop for system prompts?

To run a multi-candidate evaluation loop for system prompts, you need execution traces, scoring criteria, a filesystem-based candidate management system, and a set of test prompts for the evaluation loop.

Why does my AI agent performance plateau during optimization?

AI agent performance plateaus during optimization because standard hill-climbing approaches lack root-cause analysis, whereas a trace-informed diagnostic loop identifies the exact failure points and applies targeted mutations to break through the plateau.

When should I not use counterfactual diagnosis for skill tuning?

You should not use counterfactual diagnosis for skill tuning when you lack execution traces or scoring criteria, as this method requires both to perform root-cause analysis and prevent regression during the optimization loop.