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.
npx agentmods add commands/randomittin/heimdall/invitegit clone --depth 1 https://github.com/randomittin/heimdallWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00159 | $0.01032 |
| Opus 5 | $0.00079 | $0.00516 |
| Sonnet 5 | $0.00032 | $0.00206 |
| Haiku 4.5 | $0.00016 | $0.00103 |
Grade A, and why
invite 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 2d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
description: 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 How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/hmd:invite — Recruit a Teammate with a One-Command Join
Use when a dev wants to add a teammate to their team — the growth loop behind the
statusline wall tease ("── watch ── invite your team · hmd invite"). It prints a
single curl … | … bash line carrying THIS team's control-plane URL + team
secret; the teammate pastes that one command and presence auto-enrolls them on
their first session (the wall recruits the team). Enrollment itself is
open-bounded (tokenless) — nothing for a user to pass or see.
Process
-
Run the CLI — it resolves everything and prints the shareable join:
"${CLAUDE_PLUGIN_ROOT}/bin/heimdall-invite"Add
--qrto also render a scannable QR of the join (only ifqrencodeis installed; it degrades silently when absent):"${CLAUDE_PLUGIN_ROOT}/bin/heimdall-invite" --qrThe CLI reads this repo's OWN
<repo>/.heimdall/team.json(the same filebin/heimdall-presenceandbin/heimdall-teamread) for the team secret, and the dev's global~/.heimdall/cp-endpoint.json(else the baked public default) for the control-planeurl, then mirrors the canonical README installer one-liner for the repo/ref. -
Relay the join verbatim. Pass the printed one-liner straight to the dev — do NOT paraphrase, wrap, or alter it. The teammate runs it as-is.
-
Honor the secret caveat. The CLI prints a
⚠ contains your team secret — share only with teammatescaveat above the command. Keep that warning attached when you relay it. -
On the "not configured" message, the dev has no team minted for this repo yet. The CLI prints how to mint one (
heimdall-team new, writes<repo>/.heimdall/team.json, 0600) and exits 0 — relay that guidance; there is nothing to invite to yet.
Constraints
- The team secret is a bearer capability. It is this team's own secret, deliberately shared with a teammate — the CLI prints it to the terminal ONLY and NEVER writes it to a tracked/committed file, a log, or anything in the repo. Do not echo it into any other command, copy it into a tracked file, or paste it anywhere but to the intended teammate.
- Tokenless enrollment. The join carries a team secret, never a bootstrap
enroll credential. Do not add any enroll credential to the one-liner — re-gating
enrollment is an operator-only concern (see
OPERATORS.md), never a user surface. - Don't fabricate a join. If no team is configured, relay the CLI's setup guidance — never hand-craft a one-liner with a guessed URL or secret.
- Files nothing. It reads local config and makes one lightweight, read-only origin
check (
git ls-remote+ a raw-URL HTTP probe) to guarantee the pinned ref actually resolves — if it does NOT, the CLI REFUSES to print a broken join, prints a loud error, and exits non-zero (the owner must push/tag/publish first).
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.
- 2d ago First seen · 76 lines · 159 tokens per session scan A ef45cd189067
invite is a command published in the GitHub repository randomittin/heimdall (5 stars, last pushed 11d ago), licensed MIT. It adds 159 tokens to every session and 1,032 once invoked, about $0.0008 per session on Opus 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-08-31.
Other commands, from other repositories
autocode
Fully autonomous development pipeline. Give it a feature description or PRD file and it will plan, write tests, implement code, run tests, and verify — all automatically with zero human intervention.
autocode-new
Scan current project and generate a project-specific autocode development pipeline (agents, commands, rules, hooks). Interactive setup wizard.
dispatcher
Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atomically, and route to the entry command.
standup
Show a daily standup summary with completed, in-progress, and blocked tasks across all active epics.
dev-planner
Generate or update DEV-PLAN.md with phased development plan from Product-Spec.md.
iterate
Iteration delivery — delivery check + archive + commit & tag + bump version.