autopilot

autopilot is a skill for Claude Code, Codex from Rockielab/rockie-codex. It costs 93 tokens per session (1,160 once invoked), scanned A, a copy of autopilot, Apache-2.0.

An autonomous daemon for keeping a machine-learning experiment queue running for days. It starts queued training jobs, monitors them without ongoing language-model use, and contacts a person when a decision or problem needs attention.

In plain words
What is it for?
Use it to run queued experiments on configured hardware, pause or cool down after failures, and notify you about anomalies, budget limits, or other decisions.
Why use it?
It removes the need to watch long-running research manually while applying budgets, cooldowns after failures, and checks before launching work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions AGENTS.md; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is nohup bash .codex/scripts/autopilot_loop.sh > .codex/memory/autopilot.log 2>&1 &.

Good fit Use it to run queued experiments on configured hardware, pause or cool down after failures, and notify you about anomalies, budget limits, or other decisions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Rockielab/rockie-codex
agentmods
npx agentmods add skills/rockielab/rockie-codex/autopilot

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 autopilot

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockielab/rockie-codex/autopilot.svg)](https://agentmods.dev/skills/rockielab/rockie-codex/autopilot)
Your own site
<a href="https://agentmods.dev/skills/rockielab/rockie-codex/autopilot"><img src="https://agentmods.dev/badge/skills/rockielab/rockie-codex/autopilot.svg" alt="Measured on agentmods" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,160 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod 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.00093 $0.01160
Opus 5 $0.00046 $0.00580
Sonnet 5 $0.00019 $0.00232
Haiku 4.5 $0.00009 $0.00116

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

Security

Grade A, and why

autopilot 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 8d ago.

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.

Origin

This is a copy

92% identical to autopilot — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

project-extension/agents/skills/autopilot/SKILL.md · 96 lines

How it starts

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

/autopilot — days-long autonomous operation

This is the "just keep going while I sleep" mode. It composes the pieces you already have (queue, ZCM, journal, calibration, budget, dead-ends, [LEARN]) into a single daemon that can drive an 8×H100 project for a week without human input.

Pre-flight checklist — DO NOT skip

Before starting autopilot, you MUST:

  • Populate the queue. queue.py status shows ≥ target pending items.
  • Set a budget. .codex/budget.toml exists with project + session ceilings.
  • Have a launcher. autopilot.conf points at a LAUNCHER_CMD that takes a queue-item JSON on stdin, starts training in the background (nohup + &), and writes its PID + log paths.
  • Configure ntfy. NTFY_TOPIC is set; you've subscribed in the app. Autopilot will wake you via ntfy on anomalies, ceiling-cross, and cooldown.
  • A working dry-run gate. dry_run_gate.sh list shows sentinels for every training script the queue might reference.
  • [DEAD-END] registry is current. Any director you've already killed is in the registry — autopilot queue-refill won't re-propose it.

The daemon

nohup bash .codex/scripts/autopilot_loop.sh > .codex/memory/autopilot.log 2>&1 &

Stop:

bash .codex/scripts/autopilot_loop.sh --stop

What the loop does

loop forever:
    item = queue.py next --json        # atomic claim, $0 LLM cost
    if item is None:
        if queue_under_target: ntfy(tier=2, "queue empty")
        sleep 300
        continue
    pid = LAUNCHER_CMD < item           # launcher backgrounds the job
    zcm.sh --pid $pid --log $log        # poll, $0 LLM cost, wake on anomaly
    match zcm_exit:
        0 (clean):       leave claimed — agent will close via post-run-review
        1 (crash):       kill process, increment failures
        2 (anomaly):     kill process, increment failures
        3 (timeout):     kill process, increment failures
    if consecutive_failures >= max:
        ntfy(tier=1, "cooldown, $seconds sleep")
        sleep $seconds                   # anti-burn
        seconds = min(seconds*2, max)

Read the full file on GitHub · 96 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. 8d ago First seen · 96 lines · 93 tokens per session scan A 087890959890

Subscribe to this mod's changes

autopilot is a skill published in the GitHub repository Rockielab/rockie-codex (20 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 93 tokens to every session and 1,160 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to autopilot, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens