<< All versions

Skill v1.0.1

Automated scan100/100
cameronbracken/waterology-research/autoresearch

+6 new

──Details
PublishedOctober 29, 2026 at 08:58 PM
Content Hashsha256:41c145d63f6d1653...
Git SHA2401d760a7bb
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 11.3 KB)
SKILL.md11.3 KBactive
SKILL.md · 210 lines · 11.3 KB

name: autoresearch description: > Bounded autonomous research and engineering loop through TORC that evaluates committed candidates against a saved objective and constraints. Use when the user asks to optimize a research metric, run an experiment loop, drive or resume a managed Waterology study, calibrate or tune a model against a benchmark, or iteratively improve model, retrieval, or forecast performance. metadata: version: "1.0.1" claude-command: name: autoresearch argument-hint: <idea>


Autoresearch

Use writing-style for summaries and research-software-quality for changes. Read token-discipline.md for long runs.

One process for every entry

The path below is the same whether this skill was reached through its command alias, by name, or by an ordinary request to optimize, calibrate, tune, sweep, iterate or run a study. Phrasing selects the skill; it never selects a shorter process. Work the gates in order and name the one you are on:

  1. __Managed project.__ waterology init when the project is uninitialized.
  2. __Registered workflow.__ waterology workflow register NAME so the evaluation

command, outputs and metrics are committed rather than improvised per run.

  1. __Saved contract.__ A YAML contract with objective, mode, acceptance

rule, budgets and workflow: NAME, then waterology study create.

  1. __Managed evaluation.__ study enqueue and study advance against the study's

pinned TORC profile, for local compute too.

  1. __Durable evidence.__ Archived runs, automatic RO-Crate exports, and

assessments, failures retained.

  1. __Verified deliverable.__ deliverable register then reproduce. _Strict

only._ In light mode, report the accepted run and its commit, and register a deliverable only when the user asks.

Run waterology config context autoresearch for the project's reproducibility mode as defined in project-conventions. Gates 1 through 5 apply in both modes because the study controller depends on them.

Skipping a gate is a reportable blocker, not a shortcut. If a gate cannot be satisfied, say which one and why, and stop there. Never substitute a shell loop, a direct invocation, or a hand-kept metric log for gates 2 through 5. A request that sounds small does not lower the path; it only makes the contract smaller.

Start and continue by default

Treat an explicit autoresearch invocation with an actionable objective as a request to start the bounded workflow, not as a request to explain it. Begin in the same turn. Inspect existing state, establish or resume the saved contract, configure the bounded driver when authorized, and run it without waiting for a second prompt.

When the host provides a durable goal or continuation mechanism, create or use it automatically for the study objective and stopping condition. Do not ask the user to issue a separate goal command. Keep advancing across ordinary turn boundaries, candidate failures, and successful iterations while the saved budgets allow useful work. Stop only at a recorded acceptance or budget boundary, an explicit stop request, or a material blocker that requires new information or authority.

Infer reversible setup details from project instructions, existing study state, and checked configuration when one reasonable choice is available. A missing detail is not a reason to pause if work within the current authority can resolve it. Durable continuation does not expand authority for compute, retries, deployment, publication, or destructive actions.

Enter the managed workflow

Use waterology init for an uninitialized Git project. It creates a small configuration without importing native tasks. Inspect available definitions with waterology config refresh --check. Register only the intended task with waterology workflow register NAME --task TASK, or register an explicit definition with waterology workflow register NAME --definition FILE when the native task is ambiguous or needs outputs, metrics or input identities. Use waterology config refresh only when importing every unambiguous discovery is appropriate. Commit the resulting execution configuration with the project code.

Put workflow: NAME in the saved study contract. waterology study create registers the contract reference and creates a baseline experiment when the contract omits baseline_experiment. The study driver carries the same workflow into candidate experiments. For manually created candidates, use waterology experiment create --workflow NAME. The CLI and MCP services own registration, execution and evidence collection; no skill is required to run them.

Use waterology workflow run NAME --profile PROFILE for an ordinary evaluation that does not need a bounded candidate loop. It waits for TORC and collects results. After interruption, use waterology workflow watch RUN_ID to resume collection. Sealing creates .waterology/ro-crates/RUN_ID/ with the unchanged archive under run/, Workflow Run Crate metadata when an executable TORC definition is archived, and a validator result or explicit skipped status. Named commands without an archived workflow receive Process Run metadata. Packaging errors are recorded separately from sealed execution results. Use waterology archive export-crate RUN_ID DEST for a shareable copy. Do not recreate run records or copy metrics into a parallel agent log.

After selecting the final result explicitly, use waterology deliverable register and waterology reproduce to verify the exported source and declared outputs in an isolated directory. See docs/workflow-execution.md in the Waterology source for complete CLI examples and waterology config schema for configuration fields.

Choose the objective

Use one managed loop with an explicit mode:

  • __Engineering:__ build to a specification, optimize performance or efficiency,

or solve a problem under constraints. Define acceptance tests, hard limits, regression criteria and a stopping target. Feasibility comes before speed.

  • __Research:__ answer a scientific question. Define the estimand, evaluation

design, uncertainty and evidence needed. A negative or inconclusive result is valid. A numeric improvement alone does not establish an explanation.

Use engineering-workflow and the waterology engineering commands for an explicit engineering entry point. Existing engineering studies remain available through the autoresearch skill and waterology study; both use the same records and controller. Do not force engineering work into a hypothesis narrative or require tree search for cumulative implementation. For tree search, read experiment-tree.md.

Establish authority once

Read the existing study record and relevant project instructions first. If the user asks to continue or resume an existing loop, resume it. Do not ask whether it should start fresh unless there is a real ambiguity about which study.

Resolve the objective, allowed paths, evaluation/input identities, seeds, units, acceptance rules, environment, TORC profile, concurrency, iteration/time budget, retry cap and drain/cancel stop behavior. Record authority already given by the user. Ask only for missing decisions or an action outside that authority. Do not request permission again for each iteration, an allowed retry, or an unchanged resume. Host trust and bounded study authorization are separate.

Write the contract as YAML (.yaml), then use the installed Waterology CLI or equivalent MCP study tools:

bash
waterology study create study-contract.yaml --profile local --authorized-by "user approved this contract"
waterology study show STUDY_ID
waterology study enqueue STUDY_ID EXPERIMENT_ID
waterology study advance STUDY_ID
waterology study watch STUDY_ID
waterology study driver STUDY_ID --runtime codex --max-proposals 10
waterology study run STUDY_ID
waterology study stop STUDY_ID

Replace the profile and identifiers with resolved values. The authorization text must accurately describe authority already given, not invent approval. study create queues the baseline experiment. study watch drives queued evaluations and waits for new candidates until a stopping condition. It does not generate code or scientific conclusions by itself. The active agent owns candidate proposals unless the user authorizes a bounded driver. driver records that choice and run resumes supervised candidate sessions plus the TORC controller. Choose the runtime and proposal cap from the existing authorization. Driver configuration does not grant runtime permissions. A failed or ambiguous submission remains blocked until its identity is resolved.

Human-facing managed commands emit YAML. Automation can request waterology --output-format json .... MCP responses remain JSON. Archived run records are typed YAML. Existing JSON and NestedText contracts remain readable.

If these commands are unavailable, report the missing Waterology capability. Do not replace managed execution with a shell loop or ad hoc remote commands.

Standard execution

Every candidate evaluation uses the study's pinned TORC profile, including local compute. Use the same committed project command and environment identity. Never fall back to direct execution, SSH scripts, another host or a different resource request when TORC fails. Retry within the saved policy or retain a blocked state with the exact recovery action.

Source isolation, dependency setup and scheduling are separate choices: use owned Git worktrees for candidates, the project's environment manager for software, and TORC for evaluation. Lightweight local checks must be named and bounded in the contract. They cannot substitute for the acceptance benchmark. Check runtime permissions and the exact unattended execution path before a long run. Do not bypass runtime safeguards to avoid prompts.

Iterate within the contract

  1. Read the current study and the latest archived evidence.
  2. Choose one scoped candidate change consistent with the objective mode.
  3. Create an owned experiment branch, edit only allowed paths, run declared

lightweight checks, and commit the candidate. Preserve unrelated changes.

  1. Queue it through study enqueue and advance the controller. Do not edit a

queued, running, unknown or collecting candidate.

  1. Read archived measurements and assessments. Keep failed and unfavorable

runs. Do not promote incomparable evidence or change acceptance criteria.

  1. Propose the next candidate while the saved budgets allow. Persist a concise

handoff with the study ID and next decision at meaningful milestones.

The controller owns TORC submissions, retries, collection and checkpoint state. Use its durable records as the execution authority. Existing autoresearch.md, autoresearch.jsonl and autoresearch.sh are legacy records, not a second live controller. Preserve them when resuming old work and explicitly migrate the contract before launching a managed study.

Stop new work when asked to stop. Apply the saved drain/cancel policy to active jobs. Stop also at the budget or acceptance boundary. Never extend limits, change test data, deploy a candidate, publish results or delete history without corresponding authority. Report the stopping reason and exact saved study ID.

Output: durable .waterology/studies/ records, sealed run archives, derived RO-Crate exports, and a concise project handoff. Use waterology compare-runs for measurements and waterology report for a portable Quarto bundle.

← v1.0.0All versionsv1.0.2 →