hmd-commands

hmd-commands is a skill for Claude Code from randomittin/heimdall. It costs 72 tokens per session (2,031 once invoked), scanned A, original, MIT.

A command dispatcher for Heimdall workflows, including Git automation, autonomy settings, benchmarks, maintenance, and feedback. It directs each request to the matching workflow instructions.

In plain words
What is it for?
It is for changing autonomy or automatic commits, running benchmarks, saving work, maintaining the system, switching AI tools, and using the other listed Heimdall commands.
Why use it?
It gives the various Heimdall commands a consistent entry point and records that autonomous agents must not merge or push without explicit human action.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the hmd plugin — 8 skills, 20 commands, 17 agents, 9 hooks, 1 MCP server shipped together

Good fit It is for changing autonomy or automatic commits, running benchmarks, saving work, maintaining the system, switching AI tools, and using the other listed Heimdall commands.

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

Any agent
npx skills add randomittin/heimdall --skill hmd-commands
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 8 skills, 20 commands, 17 agents, 9 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 hmd-commands

README.md
[![agentmods](https://agentmods.dev/badge/skills/randomittin/heimdall/hmd-commands/github.svg)](https://agentmods.dev/skills/randomittin/heimdall/hmd-commands)
Your own site
<a href="https://agentmods.dev/skills/randomittin/heimdall/hmd-commands"><img src="https://agentmods.dev/badge/skills/randomittin/heimdall/hmd-commands/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 hmd-commands

Your own site · 80×15
<a href="https://agentmods.dev/skills/randomittin/heimdall/hmd-commands"><img src="https://agentmods.dev/badge/skills/randomittin/heimdall/hmd-commands.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,031 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00072 $0.02031
Opus 5.5 $0.00029 $0.00812
Sonnet 5.5 $0.00014 $0.00406
Haiku 4.5 $0.00007 $0.00203

Measured today against content hash 80b4155acc2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hmd-commands scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `/hmd:invite` | `Print a ONE-COMMAND team join to recruit a teammate onto your Heimdall team. Use when a dev wants to add someone to their team's presence wall — the statusline "invite your team" tease points here. Res
skills/hmd-commands/SKILL.md · 37 lines

How it starts

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

Heimdall Command Workflows (hmd)

Read the matching file in commands/ relative to the Heimdall plugin root and follow its exact steps. Remember: autonomous agents NEVER merge or push without explicit human action.

Command Description Source
/hmd:autocommit Toggle auto git commits on/off for this project. Run without args to see status, or with "on"/"off" to set. commands/autocommit.md
/hmd:autonomy Set Heimdall autonomy (1=Guided, 2=Checkpoint, 3=Full Auto) — how much the agent does before asking. Use with a number, +/- to cycle, or no argument to show current. commands/autonomy.md
/hmd:bench Reproduce the public benchmark table on your own machine (spec S-5). Runs a fixed suite of coding tasks under two arms — raw Claude Code vs Heimdall — and PRODUCES real numbers (tokens, wall time, tests passing, cost) by actually running them. Never hardcodes results. Safe by default (dry mode: validates the suite + prints the capture plan, zero API spend). Use when someone asks "are your benchmark numbers real?" or wants to reproduce the table. commands/bench.md
/hmd:continue Deprecated alias for /hmd:save, which now also writes the continue handoff and prints the one /compact line. Still works; prints a one-line rename notice. commands/continue.md
/hmd:debloat Retroactive whole-repo bloat removal (spec H-2ii). Scores an existing repo on the deterministic bloat axes, writes BLOAT-REPORT.md, and — only behind a passing test-suite safety oracle — proposes gated refactor waves as a PR. The zero-risk adoption hook. commands/debloat.md
/hmd:demo The first-five-minutes wow. Scaffolds a fully-specified canned task (a real Todo REST API + single-page frontend + tests + README) into a fresh project dir and hands you the exact command to watch Heimdall build it end-to-end. Safe by default (dry mode) — never auto-executes without --run. Use when demoing Heimdall to someone new, or when you want a zero-thought way to see Heimdall build a real full-stack app. commands/demo.md
/hmd:designmatch Bootstrap the designmatch skill in a React Native project from a Claude Design link. Auto-imports the Visual QA stub helper (visual-qa.ts), writes default state.vqa.json, registers the canonical source, updates .gitignore, and prints the wiring snippet. Use when starting visual-parity work on a new RN screen or when the user pastes a Claude Design URL. commands/designmatch.md
/hmd:dream Overnight autoresearch + maintainer sweep that surfaces a MORNING REPORT — suggested changes, issues raised with fixes, and kept improvements. Shadow-first; never auto-pushes. Runs on-demand or scheduled for off-hours. commands/dream.md
/hmd:fallback Show or change hmd's OmniRoute fallback-routing gate — whether Heimdall may route work to a third-party model, through a locally-hosted OmniRoute gateway, using the operator's OWN API key, when Claude capacity runs out. Use when a dev asks why fallback isn't routing, wants to arm it (autofor near-exhaustion only,switchfor everything), or wants it back off. No key is required for a no-auth provider (e.g.duckduckgo-web); a keyed provider needs operator_key_envset to the NAME of the env var holding the key, never the key itself. This is a policy gate only — it decides whether routing is ALLOWED, it never performs the routing itself, and it never arms anything without an explicitheimdall-fallback set. commands/fallback.md
/hmd:feedback Submit team feedback as a GitHub issue on the repo, straight from an hmd session. Use when a team dev wants to flag friction, request a change, or report something about the team flow. Files the dev's words + minimal context (hmd version, optional command/phase) via the existing issue-loop GitHub connector — NO session content, code, or secrets. Labels it feedback/from-hmd so it's filterable, and returns "filed as issue #N" with the URL. commands/feedback.md
/hmd:invite `Print a ONE-COMMAND team join to recruit a teammate onto your Heimdall team. Use when a dev wants to add someone to their team's presence wall — the statusline "invite your team" tease points here. Resolves this repo's team secret from the dev's OWN /.heimdall/team.json and inlines it (plus the control-plane URL) into the canonical curl bash installer one-liner, so the teammate pastes a single command and auto-joins on first session. The team secret is a bearer capability printed to the terminal ONLY — never written to any file. Enrollment is open-bounded (tokenless) — the join carries only the team secret. Degrades cleanly (helpful setup message) when no team is configured.`
/hmd:level Deprecated alias for /hmd:autonomy. Sets Heimdall autonomy (1=Guided, 2=Checkpoint, 3=Full Auto). Still works; prints a one-line rename notice. commands/level.md
/hmd:maintain-check Run one durable maintainer autopilot cycle — budget-gated, stop-guarded, checkpointed. Use --dry-run to preview without executing. commands/maintain-check.md
/hmd:maintain Run automated maintenance — seeker finds bugs from pod logs and raises GitHub issues, fixer picks them up and creates PRs. Can run as a one-shot or scheduled via /schedule. commands/maintain.md
/hmd:reflect Force a reflection pass over the conflict log — re-evaluate all unresolved skill conflicts commands/reflect.md
/hmd:report-bug File a GitHub issue against the Heimdall plugin repo from inside a session. Use when the user reports a bug, requests a feature, or wants to flag a docs/help-text problem in Heimdall itself. Auto-fills environment (plugin SHA, OS, recent commits) and posts to randomittin/heimdall (or the plugin's origin remote). Returns the issue URL. commands/report-bug.md
/hmd:save Save work state, then compact automatically. Creates/updates .planning/ (CHECKPOINT.md, STATE.md, settings.json) and the continue handoff (CONTINUE.md), then arms Claude Code's own auto-compact (a temporary change to this repository's .claude/settings.local.jsonthat the person agrees to once per repository;--no-compactonly saves) so the next request compacts with the thread kept, and ends with ONE/compact line as the fallback. NOT a rewind. Run at a milestone, before closing a session or /compact, or when the context meter nags.continue alias is a deprecated alias. commands/save.md
/hmd:status Show current Heimdall state — project phase, active agents, quality gates, conflicts commands/status.md
/hmd:switch-ai Show or change which offline coding-AI CLI backend hmd prefers (Claude Code, Cursor CLI, ...). Use with a letter, backend id, or loose name, or no argument to show current + detected options. commands/switch-ai.md
/hmd:team Manage this repo's TEAM for multi-tenant Heimdall presence — mint, join, or inspect the per-repo team secret. Use when a dev wants to start a private team, switch teams, join a teammate's team, or check which team this repo is on. A team = a high-entropy secret scoped to a repo; presence (HAID + online + edits) is visible ONLY to holders of that secret. newmints a secret into <repo>/.heimdall/team.json (0600, gitignored) and prints the share-able join one-liner;join enrolls into a teammate's team;show prints the NON-SECRET team_id (never the secret). Zero-config still works — heimdall-presence auto-mints a solo team on first run. commands/team.md

Read the full file on GitHub · 37 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. today First seen · 37 lines · 72 tokens per session scan A 80b4155acc2b

Subscribe to this mod's changes

hmd-commands is a skill published in the GitHub repository randomittin/heimdall (5 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 2,031 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-01.

Related

hmd-commands compared with skills from other repositories

hmd-commands next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hmd-commandsrandomittin/heimdallSkill5yesterdayMITA72Claude Code
autofix-prQwenLM/qwen-codeSkill31ktodayApache-2.0A142Claude Code
work-unit-commitsGentleman-Programming/gentle-aiSkill9.7kyesterdayMITA31Claude Code, Codex
chinese-commit-conventionsjnMetaCode/superpowers-zhSkill8.6k15d agoMITA65Claude Code
git-workflowericrisco/rsc-harnessSkill6916d agoMITA127Claude Code, Codex
commit-prZaxbyHub/opencode-swarmSkill549todayMITA100Codex
memorix-git-memoryAVIDS2/memorixSkill9584d agoApache-2.0A31Claude Code