autoagent

Clones an external agent repository and scaffolds it for autonomous harness optimization.

Updated Jul 28, 2026
One-click install
npx skills add https://github.com/christian-byrne/comfy-skills --skill autoagent-christian-byrne
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: autoagent
Source: https://github.com/christian-byrne/comfy-skills/tree/main/skills/autoagent
Command: npx skills add https://github.com/christian-byrne/comfy-skills --skill autoagent-christian-byrne

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up an external agent repository for autonomous overnight optimization requires manual work: cloning the repo, identifying the editable harness boundary, creating evaluation tasks, and writing a program directive. This Skill automates that intake and scaffolding so the autoresearch loop can start immediately. ## Core Features & Use Cases - Repository Intake: Clones a target agent repo and inventories its harness file, eval setup, config, and dependencies. - Edit Boundary Detection: Finds or inserts EDITABLE/FIXED comment fences separating tunable prompts, tools, and orchestration from framework glue. - Task Scaffolding: Generates evaluation task structures with instruction files and scoring scripts (diff-based or LLM-as-judge) when none exist. - Program Generation: Produces a program.md directive defining what the meta-agent may modify, keep/discard rules, failure taxonomy, and overfitting guards, then hands off to the autoresearch agent-harness domain. - Use Case: Paste a GitHub URL of an agent repo and ask to optimize it overnight; the Skill prepares everything and hands off to the autonomous keep/revert loop. ## Quick Start Clone and optimize the agent repository at this GitHub URL by setting up the autoresearch loop for it.

Frequently Asked Questions about autoagent

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

FAQPage Schema
How do I optimize an agent repository overnight?▼

Provide the GitHub URL of the agent repo and ask to run autoagent on it. The Skill clones the repo, marks the editable harness boundary, scaffolds evaluation tasks, generates a program.md directive, and hands off to the autoresearch loop for continuous keep/revert optimization.

How do I create evaluation tasks for agent optimization?▼

Each task needs an instruction.md prompt and a test.sh that writes a 0.0-1.0 score to /logs/reward.txt. Scoring can be a diff against expected output or an LLM-as-judge rubric; the Skill recommends 3-10 tasks and helps generate them from example inputs and outputs.

What is the difference between autoagent and autoresearch?▼

Autoagent is intake-only: it clones the repo, marks the edit boundary, scaffolds tasks, and writes program.md. Autoresearch runs the actual optimization loop with keep/revert decisions, failure taxonomy, and trace logging via its agent-harness domain.

When should I use the original AutoAgent instead of this wrapper?▼

Use the original AutoAgent directly when you need Harbor container isolation, ATIF trajectory output, or the OpenAI Agents SDK specifically. Use this wrapper when you want the autoresearch loop's trace management, stuck detection, and domain routing.

What are the limitations of benchmark-based agent optimization?▼

Benchmark replay only supports a fast single-session keep/revert loop, which risks overfitting to the specific tasks. The Skill includes an overfitting guard, but optimizing for real-world success rates requires autoresearch's epoch-based loop instead.