Skip to content
Back to skills

Autoresearch

ASecurity

Run bounded research or measured experiments.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentsgoshellbashgitapisecuritydocumentation

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add TrebuchetDynamics/kit --skill autoresearch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Autoresearch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Autoresearch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/trebuchetdynamics-autoresearch-kit/badge)](https://www.skillsdirectory.com/skills/trebuchetdynamics-autoresearch-kit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: autoresearch
description: "Run bounded research or measured experiments."
version: 0.2.0
license: MIT
---

# Autoresearch

Apply the [shared Ponytail method](../shared/PONYTAIL.md) within this workflow's scope.

Use the [ASD-STE100 and project language rules](../shared/COMMUNICATION.md) for user-facing text.

Without an explicit subcommand, use the upstream router to select a protocol
from the user's goal. Explicit Autoresearch subcommands select their own protocol.

Run the pinned Udit Goenka autoresearch protocols with this host's tools and the existing
GitHub issue/PR handoff. Read this adapter first, then the
selected upstream protocol. For `plan`, also apply the
[planning adaptations](../shared/RESEARCH-PLAN.md) before following upstream phases.
These integration rules govern host/tool substitutions,
repository ownership and handoff; preserve upstream research methods and flags.

When called by an existing execution owner, investigate the named uncertainty and
return to the same issue and candidate. Do not assume coordination of the repository, reopen settled plans,
or start another worker/scheduler. Explicit subcommands retain their documented
behavior within the user's scope. An empty queue with an obvious repair needs no
research protocol.

## Default output: update the work queue

Every command saves in-scope actionable findings as GitHub Issues by
default, through the [GitHub handoff](../shared/PLAN-HANDOFF.md). No extra “save” instruction is needed.
Planning-only permits documentation/backlog writes, not product implementation;
explicit read-only, chat-only, no-write and --dry-run requests write nothing.
Report saved paths, issue URLs and the next executable action. Reuse existing plans
and issues; preserve user orders and never claim planning as delivery.

## Planning and protocol selection

Use the dedicated [Plan For Me skill](../plan-for-me/SKILL.md) through
`/plan-for-me` to investigate, choose an approach and publish the plan as GitHub
issues. A selected `plan` command (`/autoresearch plan`, Pi's `/autoresearch-plan`)
still loads this skill's pinned `plan` protocol with the same planning adaptations;
only a bare planning request goes to Plan For Me.
Other Autoresearch commands keep their existing behavior and names.

## Commands and dispatch

`/autoresearch` is the upstream router; name a command after it
(`/autoresearch NAME …`). Host spellings: `/kit:autoresearch NAME` in Claude Code,
`$kit:autoresearch NAME` in Codex and `/autoresearch-NAME` in Pi. All spellings load
this same skill, not separate research state.

Supported commands: `plan`, `debug`, `fix`, `security`, `ship`, `probe`, `scenario`,
`predict`, `reason`, `learn`, `improve`, `evals`, `regression`.

1. An injected `Selected subcommand: NAME` selects `upstream/NAME.md`. Otherwise
   accept `/autoresearch NAME ...` when the first token is a listed command.
   Preserve the remaining arguments, including `Goal:`, `Scope:`, `Metric:`,
   `Direction:`, `Verify:`, `Guard:`, `Iterations:`, and upstream flags.
   A repeated `plan` with no new arguments resumes the last unambiguous accepted
   goal from its saved handoff; do not restart setup, the interview, or add another
   status block, evidence entry or render merely because planning was invoked again.
2. Explicit bare `/autoresearch` loads [upstream router](upstream/ROUTER.md): explicit metric or
   verify uses [classic loop](upstream/autoresearch.md); a natural-language goal
   uses its orchestrator; no goal uses setup. Honor `--classic` and `--auto`.
3. Load only the selected protocol and references it requires. In upstream files,
   resolve `scripts/` and `references/` under this skill's **upstream/** directory.
   Use `bash "<skill-dir>/upstream/scripts/orchestrate.sh" ...` and the bundled
   `score-regression.sh`; shell paths must be quoted. Scripts classify/score state;
   they do not run an autonomous agent for you.
4. `--chain` targets reuse this adapter for each named command and preserve the
   current repository, authorized scope and remaining budget. Unknown targets are
   an error; never interpret them as arbitrary shell commands or skill paths.

`$autoresearch`, `/autoresearch:*` and upstream “invoke” instructions mean load
that protocol and perform it in the current host conversation. Map upstream
`request_user_input`/`AskUserQuestion` to the available clarification tool or a
direct chat question. Map execution, file operations and delegates to the host's
actual tools. No Claude hooks, Codex-only tools, plugin install or second harness is needed.
Personas are analytical viewpoints; call them independent agents only when separate
agents actually ran. Record unavailable tools/checks honestly.

## First: bind research to the repository

Inspect project rules, accepted intent, current docs, open and closed GitHub Issues,
linked PRs, accepted requirement IDs, actual ownership, dirty changes and existing
research receipts. GitHub Issues own the executable backlog through
[Plan Handoff](../shared/PLAN-HANDOFF.md). Reuse existing issues, PRs, requirement IDs
and coordinators. Treat historical `tasks/` records as read-only provenance, never a
writable queue. Preserve them without moving or deleting them; never reinstall the
removed task CLI. Use the [migration owner](../shared/PLAN-HANDOFF.md) to reconcile
still-required outcomes.
Research logs, TSV and upstream `handoff.json` remain evidence, not a second backlog
or proof of completion. Use a unique per-run output directory under the existing
research owner (avoid minute-timestamp collisions).

The selected Autoresearch protocol is normally sufficient. For a concrete method
gap or explicit protocol request, select one technique through
[engineering](../engineering/REFERENCE.md); consult
[engineering cycle](../shared/ENGINEERING-CYCLE.md) only if routing is unclear.
Do not add a phase
sequence or separate review/versioning workflow to an analysis-only command.
Record the decision/artifact/check each selected skill changed. `plan-with-me`
or `grill-me` handles genuinely missing owner intent; routine reversible choices
are autonomous. Existing accepted scope is enough: do not repeat upstream's generic
“confirm”/“run now?” questions when the user already authorized that action.
Before asking whether to implement, check standing execution authority and whether
an authorized coordinator or worker already advances the outcome; reuse that path.
Planning-only limits still forbid launching product work. Bound discovery to one
batched source closure, expand only for an uncertainty that changes the approach,
and stop once the plan has actionable outcomes, owners, dependency order and
discriminating checks; repeated audits and receipt-only cycles add nothing.

For a roadmap, present the ordered milestones in chat (user-visible outcome, exit
evidence, existing issue URLs), not merely that a draft exists. Task/goal counts are
queue signals, never completion percentages. Separate planning, implementation,
review, delivery and live qualification. When asked for more candidates, extend the
existing proposal owner, keep IDs and ordering, group variants under their existing
candidate, leave unselected ones Needs decision and recommend one gated prototype.

For a requested 1:1 port, the named reference product is the feature-admission
boundary: pin the inspected revision and map each candidate to reference source,
navigation and observable behavior. An available API, existing screen or third-party
list does not prove membership. Answer "does the reference include X?" with a
source-backed verdict first, distinguishing inspected checkout, latest upstream and
exercised parity. A scope restriction to reference features propagates through the
decision, roadmap and queue in one pass, turning non-reference work into retirement
tasks (reusing matching follow-ups) rather than fictitious parity.

When invoked for backlog recovery, follow
[recovery provenance](../shared/PLANNING-CRAFT.md#recovery-provenance-and-qualification):
accepted scope only, current evidence, same-issue/candidate recovery and a persisted
input-bound receipt. Do not launch a recurring research
loop or ask again for settled implementation choices.

## Document and order through docs-sync

Apply the [single-pass handoff](../shared/PLAN-HANDOFF.md#one-planning-pass-one-handoff).
Persist new actionable findings at a bounded checkpoint; unchanged checkpoints
reuse their existing receipt and do not trigger another documentation pass.
A new investigation result does not automatically require a docs edit: if the
existing task and docs already preserve its material reasoning/evidence and scope,
acceptance, sources and dependencies remain correct, return the decision/evidence to the same execution
owner without invoking Docs Sync. Keep any needed execution receipt as a comment on
the existing issue. When documentation actually needs a change, load
`kit:docs-sync` (or the verified sibling SKILL.md) in **narrow Maintain**
for affected owners; reconcile GitHub Issues; do not start a whole-repository bootstrap implicitly.

1. Supply a compact finding receipt: command/run path, accepted requirement/source,
   issue number if any, exact observed evidence, scope, baseline/target/units, Verify and
   Guard commands with actual results, recommendation, residual gap and dependencies.
   Failed/unrun checks stay failed/unverified; a prediction is not an observed bug.
2. Update existing spec/ADR/test-plan/runbook owners with supported findings. Reuse
   matching goals and issues before creating anything. Compare the existing next
   action with current HEAD and original runs first: an integrated candidate needs its
   successor, a reviewed one needs integration, an Orbi run or claimed `/orbi now`
   session needs preservation.
   Replace obsolete current-tense advice instead of appending a contradictory frontier;
   keep receipts as history. Preserve live Orbi and PR
   ownership, focus, completed history and unrelated edits. An in-progress cache
   benchmark remains that same task, not a second “research cache” task.
3. For accepted unmet work, publish complete GitHub issues under
   [Plan Handoff](../shared/PLAN-HANDOFF.md): scope, exclusions, acceptance, exact
   verification and immutable source evidence. Reuse existing issues and PRs.
   Build the complete batch and native dependencies under `ai-planning`; read
   back the graph before publishing `ai-ready` last. Proposals remain undispatched.
4. Report issue URLs, evidence and the first dependency-ready slice; do not claim
   implementation from publication. Repeated reconciliation preserves identities
   and existing ownership instead of duplicating work.
5. Scheduling here means backlog ordering, not timers or service activation.
   Retained authorized fix modes keep their own scope and PR/review gates and follow the
   [claim-first rule](../shared/PLAN-HANDOFF.md#fix-a-published-issue-only-after-claiming-it): in `fix` mode and `--fix`/`--chain fix` chains, do not publish as `ai-ready` the
   findings this session will fix. This handoff does not
   activate Orbi. Never start a competing worker or reinstall the removed executor.

`plan`, `probe`, `predict`, `reason`, `scenario`, `learn`, `improve`, `evals` and
`security` do not silently turn recommendations into product-code changes. Use the
selected protocol's analysis scope and persist accepted follow-ups through the
handoff. Explicit audit/read-only requests write nothing, even research logs or
task records; return proposed updates inline. `--dry-run` performs no mutations or dispatch
and must not run a mutating Verify command. “Do not implement” remains binding
despite `--chain fix`, upstream “execute immediately”, or an accepted backlog.

## Measured planning configs

Use observable acceptance, not a numeric config, for qualitative contract or
workflow planning; mark not-yet-written tests as planned work. When a metric is
meaningful, split independent failure boundaries into separate configs, dry-run each
claimed Verify and Guard against pinned source, and mark unmeasured siblings
unvalidated. Parse the gate's structured receipt, accept only documented exit
states, and report process exit separately from the metric (exit zero can carry a
nonzero failure count); a trailing successful command must not mask a failure. Fix
case identity and cardinality so removing a check cannot improve the score. Guards
need valid-path controls beside refusal tests, or disabling the capability yields a
false zero; an injected-effect sentinel exception is an attempted effect. Consumer
diagnostics, worker states and pending-decision counts measure handoff validity, not
product completion; keep owner-gated tasks intact while driving them down. Persist
self-contained harnesses/configs (hash, inputs, baseline, target, units, sanitized
command with its variables) under the durable research owner, never expiring scratch.

## Execution, experiments and completion

Only an actually authorized `fix` or bounded experiment may change product code.
Inherit all caller limits, including read-only/no-write/`--dry-run`, no-implementation
and no-commit; an explicit selector or `--chain fix` adds no authority.

Use upstream bounded iteration/cycle limits and stop on plateau/ceiling/blockers;
explicit unlimited work still checkpoints and stops on user interruption. No hidden
background loop. Pin the metric/predicate, record baseline and check the same signal
after each change; do not relax acceptance to obtain a win. Re-screen persisted
commands before resume per upstream. Screening is a coarse check, not a security
boundary or approval substitute; inspect commands and follow actual task authority.

Experiment commits/reverts belong in an isolated owned worktree/branch. Do not
stage all files or revert a shared HEAD. Record an experiment's exact SHA and only
revert that owned experiment there. Where worktree use is prohibited, use a private
snapshot for experiments and transplant only verified owned changes; record snapshot
identity rather than pretending an experiment commit exists. Preserve dirty user work.
Honor no-commit instructions. The repository's validation, ownership, PR and
independent review gates remain authoritative; upstream experiment commits do not
replace the accepted-task commit, review or canonical completion evidence.

`ship` follows the upstream readiness protocol within existing authority. Push,
deploy, publication and external messages need the actual user-authorized scope;
research success or command chaining alone provides none. Carry prior authorization
without reasking. Do not close canonical tasks just because an upstream handoff
says COMPLETE: use the repository's normal closure gates and evidence.

Finish with the user outcome first (what is fixed, what is only planned, the exact
next implementation action), then: result/stop reason; metric/check evidence; changed
document owners; issue URLs and native dependencies; readiness or blocker
for the exact issues; committed SHA when applicable; and whether execution/timed
scheduling actually occurred. Attribute other workers' code and checks to them; a
saved plan or zero pending decisions is not product completion. When challenged on
stalled progress, give the verified worker/candidate state and concrete blocker.

## Vendoring

[UPSTREAM.json](UPSTREAM.json) pins source revision, commands and file hashes.
[MIT license](upstream/LICENSE) preserves upstream attribution. `upstream/ROUTER.md`
is the upstream SKILL.md renamed to prevent duplicate native skill discovery;
all upstream contents are otherwise byte-identical. Update this pinned subtree
deliberately, review command/runtime changes, then rerun distribution/dispatch tests.
## Boundaries

- Plan/analysis does not implement; follow the
  [planning authority contract](../shared/RESEARCH-PLAN.md#planning-artifact-and-authority-contract).
  Publish accepted follow-ups through [Plan Handoff](../shared/PLAN-HANDOFF.md) and stop.
  An Orbi-owned substep returns to the same coordinator.
- Authorized `fix` and bounded experiments may implement within accepted scope and
  the execution limits above; they do not bypass ownership, PR or independent review gates.
- Not an interactive plan; use `/plan-with-me`.

**Done when:** the findings or bounded loop result have evidence and a stop reason, with saved links for published work or an inline result for read-only work.

Files in this skill

  • SKILL.md15.8 KB
  • UPSTREAM.json2.4 KB
  • upstream/LICENSE1 KB
  • upstream/ROUTER.md7.8 KB
  • upstream/autoresearch.md4.8 KB
  • upstream/debug.md4 KB
  • upstream/evals.md5 KB
  • upstream/fix.md4.3 KB
  • upstream/improve.md6 KB
  • upstream/learn.md7.9 KB
  • upstream/plan.md2.8 KB
  • upstream/predict.md3.7 KB
  • upstream/probe.md4.8 KB
  • upstream/reason.md4.7 KB
  • upstream/references/orchestrator-routing.md6.8 KB
  • upstream/references/predict-personas.md3.1 KB
  • upstream/references/reason-judge-protocol.md3.4 KB
  • upstream/references/security-checklist.md3.4 KB
  • upstream/regression.md9.3 KB
  • upstream/scenario.md4.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.