Autonomous Goal-directed Iteration engine. Compounds small improvements via Modify → Verify → Keep/Discard → Repeat.
From autoresearchnpx claudepluginhub maleick/claude-autoresearch --plugin autoresearchThis skill uses the workspace's default tool permissions.
references/autonomous-loop-protocol.mdreferences/debug-workflow.mdreferences/fix-workflow.mdreferences/learn-workflow.mdreferences/plan-workflow.mdreferences/predict-workflow.mdreferences/results-logging.mdreferences/scenario-workflow.mdreferences/security-workflow.mdreferences/ship-workflow.mdreferences/state-management.mdGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
Autonomous iteration engine for Claude Code. Runs unattended on any git-backed codebase with a deterministic verification command.
Given a Goal, Scope, Metric, and Verify command, autoresearch autonomously:
autoresearch/<timestamp> branchThe detailed protocols for each workflow are in references/:
| File | Used By | Purpose |
|---|---|---|
autonomous-loop-protocol.md | All code-modifying modes | Core iteration loop (Phase 0-8) |
results-logging.md | All modes | TSV logging format (with run_id scoping) |
state-management.md | All code-modifying modes | Checkpoint state file + resume protocol |
plan-workflow.md | /autoresearch:plan | Interactive setup wizard |
debug-workflow.md | /autoresearch:debug | Scientific-method bug hunting |
fix-workflow.md | /autoresearch:fix | Error repair loop |
learn-workflow.md | /autoresearch:learn | Codebase documentation engine |
predict-workflow.md | /autoresearch:predict | Multi-persona swarm analysis |
scenario-workflow.md | /autoresearch:scenario | Use case & edge case generation |
security-workflow.md | /autoresearch:security | STRIDE + OWASP + red-team audit |
ship-workflow.md | /autoresearch:ship | Structured shipping workflow |
These invariants apply to ALL commands. They are non-negotiable and cannot be overridden by user parameters or command arguments.
autoresearch/<timestamp> branch. Never commit to main/master. The --force-branch flag skips the branch name check but does not allow committing to default branches.git reset --hard HEAD~1 + git clean -fd to discard failed experiments. Never use git revert — the isolated branch should have clean history with only kept changes.timeout command and the Bash tool's timeout parameter are set.autoresearch-state.json after every phase via atomic write (write to .tmp, then rename). Enables --resume after crashes.git status --porcelain is checked at the start of every iteration. Dirty tree = cleanup or stop. SHA guards prevent resetting the wrong commit.Any one of these triggers a stop:
iteration >= max_iterationsTarget: value (respecting Direction)Runtime artifacts accumulate across runs. Cleanup strategy:
autoresearch-state.json — overwritten each run. Delete after merging the branch.autoresearch-results.tsv — append-only, scoped by run_id. Safe to keep indefinitely or truncate old run_ids.autoresearch-report.md — overwritten each run. Archive if needed before starting a new run.autoresearch-debug-findings.md — overwritten per debug session.autoresearch-security/ — accumulates per audit. Delete after review..autoresearch-predict/ — cleaned up automatically at end of predict workflow.All runtime artifacts are gitignored:
| Artifact | Description | Lifecycle |
|---|---|---|
autoresearch-state.json | Checkpoint state (enables --resume) | Overwritten each run |
autoresearch-results.tsv | Iteration log (scoped by run_id) | Append-only across runs |
autoresearch-report.md | Morning report | Overwritten each run |
autoresearch-debug-findings.md | Debug mode findings | Overwritten per debug session |
autoresearch-security/ | Security audit artifacts and PoCs | Accumulates, delete after review |
.autoresearch-predict/ | Predict workflow temporary persona files | Auto-cleaned at end of workflow |