infrastructure-autoresearch

infrastructure-autoresearch is a skill for Claude Code, Codex from docxology/template. It costs 55 tokens per session (551 once invoked), scanned A, original, Apache-2.0.

A planning and checking workflow for optional AutoResearch settings, where AutoResearch means structured, repeatable experiments guided by measured results.

In plain words
What is it for?
Validating `autoresearch.yaml`, building readiness plans, parsing metric results, checking confidence and measurement units, and writing readiness reports.
Why use it?
It helps verify that experiment controls, metrics, evidence, and review status are documented without assuming an autonomous system will change code or run unattended.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/docxology/template/autoresearch
Any agent
npx skills add docxology/template --skill autoresearch
Clone the repo
git clone --depth 1 https://github.com/docxology/template

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for infrastructure-autoresearch

README.md
[![agentmods](https://agentmods.dev/badge/skills/docxology/template/autoresearch.svg)](https://agentmods.dev/skills/docxology/template/autoresearch)
Your own site
<a href="https://agentmods.dev/skills/docxology/template/autoresearch"><img src="https://agentmods.dev/badge/skills/docxology/template/autoresearch.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 551 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00551
Opus 5 $0.00028 $0.00275
Sonnet 5 $0.00011 $0.00110
Haiku 4.5 $0.00006 $0.00055

Measured 5d ago against content hash be0975236731, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

infrastructure-autoresearch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 11 executable files (__init__.py, __main__.py, cli.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

infrastructure/autoresearch/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AutoResearch Readiness

Use this module for deterministic planning and readiness validation. It adapts reviewed AutoResearchClaw design ideas as file-backed template controls, not as an autonomous research agent.

AutoResearch CLI-style measurement ideas are treated the same way: adopt exact metric extraction, review-status vocabulary, baseline/noise/confidence disclosure, and append-only evidence discipline; do not add lifecycle hooks, git commit/revert ownership, or no-human autonomous loops by default.

Commands

uv run python -m infrastructure.autoresearch.cli validate --project templates/template_code_project --fail-on-issues

Public API

from infrastructure.autoresearch import (
    AutoResearchConfig,
    AutoResearchIssue,
    AutoResearchPlan,
    AutoResearchReport,
    mad_confidence,
    metric_unit_from_name,
    build_autoresearch_plan,
    load_autoresearch_config,
    parse_metric_lines,
    parse_string_sequence,
    validate_autoresearch_plan,
    write_autoresearch_report,
)

validate_autoresearch_plan(..., phase="intrinsic"|"extrinsic"|"all") splits pre-write structure checks from post-write artifact checks.

Configuration

Project-local autoresearch.yaml supports:

  • enabled
  • strict
  • topic
  • quality_checks
  • stage_gates
  • required_artifacts
  • security_profile (mapping: enabled, mode, integrity_algorithm, network_policy, external_signing, threat_model_frameworks)
  • source_manifests (list of source-manifest artifact paths)

stage_gates must use exact stage names from pipeline.yaml. The full accepted key set is defined by _CONFIG_KEYS in infrastructure/autoresearch/config.py.

Guardrails

Keep v1 deterministic: do not add network calls, LLM calls, generated-code execution, or autonomous loops here. Delegate execution and validation to the existing pipeline, project, validation, and reporting modules.

Use parse_metric_lines() only for output already produced by a trusted local command. It accepts exact METRIC name=value lines and rejects ambiguous or invalid metric evidence. Use mad_confidence() as a disclosure helper for baseline/best/noise comparisons, not as an automatic publication decision.

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 73 lines · 55 tokens per session scan A be0975236731

Subscribe to this mod's changes

infrastructure-autoresearch is a skill published in the GitHub repository docxology/template (19 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 551 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

aerospace-engineering-technician

Use when a task needs the judgment of an Aerospace Engineering and Operations Technologist/Technician — verifying an installed fastener's preload against a drawing's torque callout via the T=K·D·F relationship, reducing strain-gauge data from a structural proof-load test into stress and checking it against an…

wonsukchoi/domain-experts · 169 tokens

automotive-engineering-technician

Use when a task needs the judgment of an Automotive Engineering Technician — setting up and instrumenting test equipment (strain-gauge bridges, thermocouples, load/torque sensors) to an engineer's written test plan, selecting DAQ sample rate and an SAE J211 CFC filter class for a vehicle test channel, verifying…

wonsukchoi/domain-experts · 207 tokens

calibration-technician

Use when a task needs the judgment of a Calibration Technologist/Technician — computing a Test Uncertainty Ratio (TUR) and deciding whether it meets the 4:1 target, building a measurement uncertainty budget (Type A/Type B, GUM-style) for a calibration, tracing a reference standard's chain of custody to NIST/SI…

wonsukchoi/domain-experts · 112 tokens

acoustical-engineer

Use when a task needs the judgment of an Acoustical Engineer — calculating room reverberation time (RT60) and specifying absorption/reflection treatment for a space, evaluating a wall or floor assembly's STC/IIC rating against a code or design target, diagnosing why a completed space fails its acoustic design intent…

wonsukchoi/domain-experts · 102 tokens

agricultural-engineer

Use when a task needs the judgment of an agricultural engineer — sizing a center-pivot or drip irrigation system's peak capacity against crop water demand, computing lateral grain-bin wall pressure with Janssen's equation, sizing a waterway or tile-drainage system with Manning's equation and an NRCS design-storm…

wonsukchoi/domain-experts · 90 tokens

agricultural-inspector

Use when a task needs the judgment of an Agricultural Inspector — grading a lot of produce against a USDA grade standard's defect tolerances, evaluating agricultural water test results against FSMA microbial thresholds, checking a pesticide residue result against the commodity-specific EPA tolerance, deciding whether…

wonsukchoi/domain-experts · 84 tokens