autonomy

autonomy is a command for Claude Code from randomittin/heimdall. It costs 50 tokens per session (615 once invoked), scanned A, original, MIT.

Ein Befehl zum Festlegen, wie selbstständig Heimdall arbeiten darf. Es gibt drei Stufen: einzelne Freigaben, Pausen an wichtigen Punkten oder vollständiges selbstständiges Ausführen.

In plain words
What is it for?
Für das Anzeigen, Erhöhen, Verringern oder direkte Setzen der Autonomiestufe von Heimdall.
Why use it?
Du kannst bestimmen, wie oft der Agent dich vor weiteren Aktionen einbezieht. Das passt den Ablauf an deinen gewünschten Grad an Kontrolle an.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code.

Part of the hmd plugin — 7 skills, 19 commands, 16 agents, 8 hooks, 1 MCP server shipped together

Good fit Für das Anzeigen, Erhöhen, Verringern oder direkte Setzen der Autonomiestufe von Heimdall.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/randomittin/heimdall/autonomy
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.

Clone the repo
git clone --depth 1 https://github.com/randomittin/heimdall

Made for: Claude Code.

Or install hmd, the plugin that ships this one along with the rest of its 7 skills, 19 commands, 16 agents, 8 hooks, 1 MCP server.

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 autonomy

README.md
[![agentmods](https://agentmods.dev/badge/commands/randomittin/heimdall/autonomy/github.svg)](https://agentmods.dev/commands/randomittin/heimdall/autonomy)
Your own site
<a href="https://agentmods.dev/commands/randomittin/heimdall/autonomy"><img src="https://agentmods.dev/badge/commands/randomittin/heimdall/autonomy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for autonomy

Your own site · 80×15
<a href="https://agentmods.dev/commands/randomittin/heimdall/autonomy"><img src="https://agentmods.dev/badge/commands/randomittin/heimdall/autonomy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 615 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 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.00050 $0.00615
Opus 5.5 $0.00020 $0.00246
Sonnet 5.5 $0.00010 $0.00123
Haiku 4.5 $0.00005 $0.00061

Measured 1mo ago against content hash 02764302e205, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

autonomy 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 1mo 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.

commands/autonomy.md · 48 lines

What it actually says

Set Autonomy

Set how much Heimdall does on its own before pausing for you.

Valid settings:

  • 1 (Guided): Asks before every action. You approve each step. Nothing runs unreviewed.
  • 2 (Checkpoint): Runs on its own, pausing at major milestones for a look before continuing.
  • 3 (Full Auto): Runs until the work is complete; only stops if blocked or a gate fails.

Instructions:

  1. Parse $ARGUMENTS:

    • If empty or missing: Show current setting from heimdall-state get '.project.autonomy_level' and the descriptions above. Done.
    • If +: Read current setting, increment by 1 (wrap 3→1). Use the result as the new setting.
    • If -: Read current setting, decrement by 1 (wrap 1→3). Use the result as the new setting.
    • If 1, 2, or 3: Use directly as the new setting.
    • If anything else: Show valid options and ask the user to choose.
  2. Update the state file (the on-disk key stays .project.autonomy_level — do not rename it):

heimdall-state set '.project.autonomy_level' '<new_level>'
  1. Confirm with a compact status line:

    • ◀ 1 Guided / ◀ 2 Checkpoint ▶ / 3 Full Auto ▶
    • Show the active setting highlighted, with arrows indicating cycle direction
  2. If changing from a lower to higher setting, add: "More autonomous now. /hmd:autonomy - to step back."

  3. If changing from a higher to lower setting, add: "More checkpoints now. /hmd:autonomy + to step up."

Quick cycling

Since Claude Code keybindings only support built-in actions (no custom action registration), the fastest way to cycle is:

  • /hmd:autonomy + — next setting (1→2→3→1)
  • /hmd:autonomy - — previous setting (3→2→1→3)

This is the Heimdall equivalent of the effort slider. Users can type /a + tab-complete to /hmd:autonomy and then + or -.

/hmd:level still works as a deprecated alias for one release, but /hmd:autonomy is the name going forward.

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. 1mo ago First seen · 48 lines · 50 tokens per session scan A 02764302e205

Subscribe to this mod's changes

autonomy is a command published in the GitHub repository randomittin/heimdall (5 stars, last pushed 4d ago), licensed MIT. It adds 50 tokens to every session and 615 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

Other commands, from other repositories

atomic-help

Route a lost user to the right atomic verb, skill, agent, or binary subcommand. Bare invocation reads git state and recommends one next step. Topic keyword or freeform intent → focused pointer. tour → guided walkthrough of the system. Help router, not duplicated docs.

damusix/atomic-claude · 57 tokens

atomic-plan

Write a design doc (concepts, business rules, approaches) and a checkpoint-table spec (contract) for non-trivial work; inline spec only for trivial. Gauges triviality; loops spec authoring with subagents. Human-facing artifact, Mermaid diagrams allowed.

damusix/atomic-claude · 54 tokens

follow-up

Review and act on pending reminders. Bare invocation shows all reminders as an indexed list; cron-fired invocation (/follow-up due ) surfaces the specific reminder and waits for a response; /follow-up review lists stale project follow-up entries for per-item disposition (extend/close/promote/skip). Transport-aware…

damusix/atomic-claude · 0 tokens

documentation

Bootstrap and maintain project documentation surfaces. Two modes: bootstrap (discover doc files, index them in CLAUDE.md) and authoring (scan for unindexed docs, match diff against indexed surfaces, walk stale/incomplete/missing items with Yes/Later/Remind/Skip).

damusix/atomic-claude · 0 tokens

watch-ci

Spawn a background Haiku-backed subagent to watch CI for the current branch (or specified target). Provider-agnostic — the subagent inspects project signals to identify the CI system (GitHub Actions, GitLab CI, CircleCI, etc.) and picks the right CLI. Returns immediately; reports back when CI reaches a terminal state.

damusix/atomic-claude · 69 tokens

review-branch

Review the current branch's diff against base by dispatching atomic-reviewer. No orchestration loop, no spec required — pre-flight before /commit pr or /commit merge.

damusix/atomic-claude · 35 tokens