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/teamgit 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.00171 | $0.01076 |
| Opus 5 | $0.00086 | $0.00538 |
| Sonnet 5 | $0.00034 | $0.00215 |
| Haiku 4.5 | $0.00017 | $0.00108 |
Grade A, and why
team 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.
→ relay the printed team_id + the `curl … | … HEIMDALL_TEAM_SECRET='…' bash` join How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/hmd:team — Manage This Repo's Team (Multi-Tenant Presence)
Use when a dev wants to control which TEAM this repo's presence is scoped to. A
team = a secret scoped to a repo: a teammate's HAID, online state, and current
file/edits are visible ONLY to holders of that secret; cross-team and outsiders
see NOTHING. The secret's non-secret handle is
team_id = sha256("heimdall-team\0"+secret)[:32] — the partition the server keys
presence on.
Zero-config still holds: a dev does NOT have to run this. bin/heimdall-presence
auto-mints a private solo team on the first beat/roster, so a new dev starts in
their own team (sees only themselves) until they deliberately share or join.
Process
-
Mint a new team —
newwrites a fresh secret to<repo>/.heimdall/team.json(0600, gitignored) and prints the secret plus theheimdall-invitejoin one-liner to share:"${CLAUDE_PLUGIN_ROOT}/bin/heimdall-team" newIt REFUSES to overwrite an existing team without
--force(re-minting orphans you from the current team). Re-mint deliberately with:"${CLAUDE_PLUGIN_ROOT}/bin/heimdall-team" new --force -
Join a teammate's team — paste the secret they shared:
"${CLAUDE_PLUGIN_ROOT}/bin/heimdall-team" join '<team-secret>'A secret shorter than 32 chars is rejected (a weak secret could collide into another team). This switches THIS repo onto their team on the next beat/roster.
-
Inspect the team —
showprints the NON-SECRET team_id + whether configured; it NEVER prints the secret:"${CLAUDE_PLUGIN_ROOT}/bin/heimdall-team" show "${CLAUDE_PLUGIN_ROOT}/bin/heimdall-team" show --json -
Recruit teammates — once a team exists,
/hmd:invite(orbin/heimdall-invite) prints the one-command join carrying the team secret.
Constraints
- The team secret is a secret. It is written ONLY to
<repo>/.heimdall/team.json(mode 0600, gitignored) and never crosses another command's argv, a log, or a tracked file.newprints it to stdout ONCE (with a ⚠ caveat) so the owner can share it;shownever prints it. When relayingnew/inviteoutput, keep the caveat attached and only share the secret with intended teammates. - One active team per repo.
team.jsonholds one team;joinswitches teams by overwriting it. A dev on different repos may be on different teams. - The secret rides the wire ONCE, at enroll.
heimdall-presencesends it in theX-Heimdall-Team-Secretheader on/enroll; signed beats and roster reads thereafter carry NO secret (membership is server-side). - Don't hand-craft a secret. Use
new(mints 43-char base64url, 256-bit entropy). Never type a short or low-entropy secret.
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 · 83 lines · 171 tokens per session scan A e17ae19272ff
team is a command published in the GitHub repository randomittin/heimdall (5 stars, last pushed 11d ago), licensed MIT. It adds 171 tokens to every session and 1,076 once invoked, about $0.0009 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.