autoresearch
AgentFreeClaude Autoresearch Skill — Autonomous goal-directed iteration for Claude Code. Inspired by Karpathy's autoresearch. Modify → Verify → Keep/Discard → Repeat forever.
Capabilities12 decomposed
constraint-driven autonomous iteration loop
Medium confidenceExecutes a repeating cycle of code modification → git commit → mechanical verification → decision logic → result logging that continues until user interruption or iteration limit. The system uses a constraint triangle (scope glob patterns, single mechanical metric, shell verify command) to enable autonomous operation without subjective judgment. Git serves as both memory and causality tracker, with automatic rollback on verification failure.
Uses constraint triangle (scope + metric + verify) to enable fully autonomous operation without human-in-the-loop judgment; implements 8-phase iteration protocol with explicit decision logic (Keep/Discard/Crash) and git-based causality tracking, enabling bold exploration with automatic rollback. This differs from typical agentic loops that require frequent human validation or rely on heuristic stopping criteria.
Enables 50+ autonomous iterations with full audit trail and automatic rollback, whereas most LLM agents require human validation between steps or lack deterministic failure recovery.
interactive goal-to-configuration wizard
Medium confidenceConverts plain-language goals into structured autoresearch configurations via a 7-phase guided workflow. The wizard validates scope constraints, suggests mechanical metrics from a database of domain-specific examples, and generates shell verify commands. Each phase includes validation gates that ensure the configuration is executable before iteration begins.
Implements a 7-phase wizard with validation gates that test metric extraction and scope coverage before iteration begins, preventing misconfigured loops. The metric suggestion database is domain-aware, offering ranked suggestions (e.g., test coverage for TypeScript projects, latency for Python services) rather than generic options.
Reduces configuration errors and iteration waste by validating the setup before autonomous iteration starts, whereas manual configuration often requires trial-and-error debugging.
scope constraint enforcement with glob patterns
Medium confidenceRestricts code modifications to files matching user-defined glob patterns (e.g., src/**/*.ts, test/**/*.test.ts). The system validates scope during setup, ensures Claude only modifies in-scope files, and logs scope violations as errors. Scope constraints enable the agent to load full context into memory without overwhelming token limits and prevent unintended modifications to configuration, documentation, or other sensitive files.
Enforces scope constraints via glob patterns, enabling the agent to load full context of in-scope files into memory without overwhelming token limits. Scope validation at setup prevents misconfigured iterations, and scope constraints are transparent (users see exactly which files can be modified).
Provides explicit scope constraints via glob patterns, enabling safe autonomous modification of large codebases, whereas most agentic systems either modify all files or require manual file selection.
crash recovery and error resilience
Medium confidenceImplements strategies for recovering from iteration failures (e.g., verify command timeout, git rollback failure, metric extraction error). The system logs errors with full context (iteration number, command output, stack trace), automatically rolls back failed iterations, and continues to the next iteration. For unrecoverable errors (e.g., git corruption), the system halts and logs detailed diagnostics to enable manual recovery.
Implements automatic rollback on failure with detailed error logging, enabling long-running iteration loops to recover from transient failures without halting. Error logs include full context (iteration number, command output, stack trace), enabling users to debug failures and adjust verification commands.
Provides automatic crash recovery with detailed diagnostics, whereas most agentic systems halt on failure or require manual intervention to recover.
adversarial security audit loop
Medium confidenceExecutes autonomous security testing via an adversarial iteration loop that applies STRIDE threat modeling and OWASP vulnerability patterns. Each iteration generates adversarial test cases, runs them against the codebase, and logs security findings. The loop uses a threat model as the constraint and vulnerability count as the mechanical metric, enabling autonomous security hardening.
Applies constraint-driven iteration to security hardening by using threat models as scope constraints and vulnerability count as the mechanical metric. The adversarial loop systematically explores STRIDE/OWASP categories rather than relying on passive scanning, enabling autonomous discovery of vulnerabilities that match the threat model.
Enables continuous autonomous security hardening with full iteration history, whereas traditional SAST/DAST tools are point-in-time and require manual remediation workflows.
git-based iteration memory and causality tracking
Medium confidenceUses Git commits as the primary memory mechanism, storing one commit per iteration with Claude's modification summary in the commit message. Each commit is tagged with iteration metadata (metric value, timestamp, decision status). On verification failure, the system automatically reverts to the previous commit, preserving causality and enabling crash recovery. The git log serves as a queryable audit trail of all attempted improvements.
Treats Git commits as first-class memory, with each iteration creating an immutable record that includes metric value, decision logic, and modification summary. Automatic rollback on failure preserves causality without requiring external state stores, and the git log becomes a queryable archive of the entire optimization trajectory.
Provides built-in crash recovery and audit trail without external databases, whereas most agentic systems require separate logging infrastructure and manual rollback on failure.
mechanical metric extraction and validation
Medium confidenceExecutes a user-provided shell command to extract a single numeric metric from test output, build logs, or custom scripts. The metric is parsed deterministically (e.g., grep for percentage, regex for latency value) and compared against the previous iteration to decide Keep/Discard. The system validates metric extraction during setup and caches baseline measurements to enable fast iteration-to-iteration comparisons.
Enforces mechanical (deterministic, numeric) metrics as the sole decision criterion, eliminating subjective judgment from the autonomous loop. Metric extraction is validated during setup and cached to enable fast comparisons, and the system explicitly rejects non-deterministic or multi-objective metrics that would require heuristic decision-making.
Enables fully autonomous decision-making without human judgment by requiring mechanical metrics, whereas most agentic systems rely on heuristic scoring or human feedback.
bounded and unbounded iteration modes
Medium confidenceSupports two iteration strategies: bounded mode (run exactly N iterations, then stop) and unbounded mode (run until user interruption). Bounded mode is useful for exploration with a fixed budget; unbounded mode enables continuous improvement until diminishing returns. The system tracks iteration count, elapsed time, and metric trajectory to inform stopping decisions.
Provides explicit bounded and unbounded modes rather than heuristic stopping criteria, giving users control over iteration budget. Bounded mode enables reproducible experiments with fixed iteration counts; unbounded mode enables continuous improvement without predetermined limits.
Offers explicit control over iteration budget, whereas most agentic systems use heuristic stopping criteria (e.g., no improvement for N steps) that are difficult to tune and reproduce.
decision logic with keep/discard/crash handling
Medium confidenceImplements explicit decision logic that compares the current iteration's metric against the previous best metric and decides to Keep (commit and continue), Discard (rollback and continue), or Crash (halt on unrecoverable error). Keep decisions are based on metric improvement; Discard decisions trigger automatic git rollback; Crash decisions log the error and stop iteration. The decision logic is deterministic and transparent, enabling users to understand why each iteration was accepted or rejected.
Implements explicit, deterministic decision logic (Keep/Discard/Crash) based solely on metric comparison, eliminating heuristic judgment. Decisions are logged with rationale, enabling users to audit why each iteration was accepted or rejected and understand the optimization trajectory.
Provides transparent, auditable decision-making based on mechanical metrics, whereas most agentic systems use opaque heuristics or require human judgment for acceptance decisions.
results logging and iteration history analysis
Medium confidenceLogs all iteration results to autoresearch-results.tsv in a tab-separated format with columns for iteration number, timestamp, metric value, git commit hash, decision status, and error message. The TSV format enables easy parsing and analysis; users can query iteration history to identify patterns (e.g., which types of changes improved the metric). Summary reports aggregate results across iterations and compute statistics (total improvement, iterations to convergence, etc.).
Uses TSV format for iteration logging, enabling easy parsing and analysis without custom log parsing logic. The format includes git commit hashes, enabling bidirectional linking between iteration results and code changes, and decision status enables filtering for successful vs failed iterations.
Provides structured, parseable iteration logs in standard TSV format, whereas most agentic systems use unstructured logs or proprietary formats that require custom parsing.
mcp server integration for external tool orchestration
Medium confidenceIntegrates with Model Context Protocol (MCP) servers to enable Claude to call external tools and services during iteration. The system can invoke MCP-exposed functions (e.g., custom linters, external APIs, specialized test runners) as part of the verify command or modification process. MCP integration enables autoresearch to work with heterogeneous toolchains without embedding tool-specific logic.
Enables autoresearch to integrate with external tools via MCP without embedding tool-specific logic, allowing users to extend autoresearch with custom linters, test runners, or APIs. MCP integration decouples autoresearch from specific tools, enabling reuse across projects with different toolchains.
Provides standardized tool integration via MCP, whereas most agentic systems require custom code to integrate external tools or are limited to built-in tool sets.
custom verification command execution with error handling
Medium confidenceExecutes user-provided shell commands to verify improvements and extract metrics. The system handles command failures gracefully (logs error, triggers Discard decision), captures stdout/stderr, and parses metric values using regex or custom extraction logic. Verification commands can be arbitrarily complex (e.g., multi-step build + test + benchmark pipelines) as long as they output a parseable metric.
Allows arbitrary shell commands as verification logic, enabling integration with complex pipelines (multi-step builds, distributed tests, custom benchmarks) without requiring Python/JavaScript SDKs. Error handling is explicit (logs failure, triggers Discard), and metric extraction is flexible (regex, custom parsing).
Supports complex verification pipelines via shell commands, whereas most agentic systems are limited to built-in verification methods or require custom SDK integration.
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with autoresearch, ranked by overlap. Discovered automatically through the match graph.
Outlines
Structured text generation — guarantees LLM outputs match JSON schemas or grammars.
Coglayer
Designed to amplify your thinking process by acting as an extension of your...
Blobr
AI business assistant connected to all your tools
xAI: Grok 3
Grok 3 is the latest model from xAI. It's their flagship model that excels at enterprise use cases like data extraction, coding, and text summarization. Possesses deep domain knowledge in...
Nex AGI: DeepSeek V3.1 Nex N1
DeepSeek V3.1 Nex-N1 is the flagship release of the Nex-N1 series — a post-trained model designed to highlight agent autonomy, tool use, and real-world productivity. Nex-N1 demonstrates competitive performance across...
everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Best For
- ✓ML researchers and data scientists optimizing metrics (test coverage, accuracy, latency)
- ✓teams automating code quality improvements with measurable success criteria
- ✓developers exploring solution spaces where manual iteration is prohibitively slow
- ✓non-expert users new to constraint-driven iteration
- ✓teams standardizing on autoresearch across multiple projects
- ✓developers prototyping new autoresearch use cases
- ✓teams with large codebases where full-codebase context is infeasible
- ✓projects with strict separation of concerns (source vs tests vs config)
Known Limitations
- ⚠Requires well-defined mechanical metric — subjective goals (code readability, maintainability) cannot be automated
- ⚠Git-based rollback assumes clean working directory; uncommitted changes are lost on failure
- ⚠Metric extraction via shell command must be deterministic and fast (>5s per iteration adds significant overhead)
- ⚠No built-in handling for metrics that plateau or oscillate — requires manual intervention or custom decision logic
- ⚠Scope constraints must be precise; overly broad globs risk unintended file modifications
- ⚠Metric suggestion database is domain-specific; novel domains may require manual metric definition
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Repository Details
Last commit: Apr 15, 2026
About
Claude Autoresearch Skill — Autonomous goal-directed iteration for Claude Code. Inspired by Karpathy's autoresearch. Modify → Verify → Keep/Discard → Repeat forever.
Categories
Alternatives to autoresearch
Are you the builder of autoresearch?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →