demo

demo is a command for Claude Code from randomittin/heimdall. It costs 104 tokens per session (1,565 once invoked), scanned A, original, MIT.

A command that creates a small, fully specified Todo REST API, a web interface, tests, and a README in a new project folder. A REST API is a way for software to exchange data over standard web requests.

In plain words
What is it for?
Use it for a quick Heimdall demonstration. Run it with an optional target directory and then give Heimdall the printed command to build the example application.
Why use it?
It gives someone evaluating Heimdall a ready-made task to run, so they do not need to design a prompt first. It is safe by default because it prepares the files without starting the build unless --run is used.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it for a quick Heimdall demonstration. Run it with an optional target directory and then give Heimdall the printed command to build the example application.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/randomittin/heimdall/demo"><img src="https://agentmods.dev/badge/commands/randomittin/heimdall/demo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,565 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.00104 $0.01565
Opus 5.5 $0.00042 $0.00626
Sonnet 5.5 $0.00021 $0.00313
Haiku 4.5 $0.00010 $0.00156

Measured 12d ago against content hash a17663ee4567, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

demo 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 12d 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.

6. `curl -s localhost:8000/api/todos` returns valid JSON.
commands/demo.md · 125 lines

How it starts

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

/hmd:demo — watch Heimdall build a real app in one command

What this command does

Runs bin/heimdall-demo — a standalone, zero-model-cost shell script that gives a stranger evaluating Heimdall the first-five-minutes wow: ONE command, then they watch Heimdall build a small but real full-stack app, without having to invent a good prompt themselves.

It does NOT touch bin/heimdall, the dashboard, hooks, or skills — it is a thin on-ramp that:

  1. Prints a tight branded banner (truecolor with plain fallback, matching install.sh color detection — rendered in shell, no model tokens).
  2. Scaffolds a fresh project dir (default ./heimdall-demo-app, or the first positional arg).
  3. Writes a fully-specified canned task to <dir>/.heimdall-demo-task.md and a ready-to-run plan seed to <dir>/.planning/PLAN.md.
  4. Prints the exact paste-ready command to hand Heimdall so the magic starts.

How to invoke

From a terminal (this is a shell tool, not a model loop):

heimdall-demo [dir] [--dry|--run] [--force]

Examples:

heimdall-demo                     # scaffold ./heimdall-demo-app (safe, dry)
heimdall-demo /tmp/demo           # custom target dir
heimdall-demo --run               # scaffold AND launch heimdall on the task
heimdall-demo ./demo --force      # overwrite an existing scaffold

Flags

  • [dir] — target project directory (default: ./heimdall-demo-app).
  • --dry — (default) scaffold the dir + print the exact prompt and the paste-ready command. Executes nothing — safe to run blind.
  • --run — scaffold AND launch heimdall on the task via the documented entrypoint (heimdall "<prompt>"). Requires heimdall on PATH; if absent, it warns and falls back to dry output.
  • --force — overwrite the target dir if it already exists (idempotency guard: without it, an existing dir warns instead of clobbering).
  • -h, --help — print usage.

Safe by default

Dry mode is the default and never runs destructive or expensive work — it only writes files and prints the command you should paste. Auto-execution requires the explicit --run flag. This keeps heimdall-demo safe to run sight-unseen during a demo.

Read the full file on GitHub · 125 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. 12d ago Changed · +13 lines a17663ee4567
  2. 3mo ago First seen · 112 lines · 104 tokens per session scan A fa8d7629cd2c

Subscribe to this mod's changes

demo is a command published in the GitHub repository randomittin/heimdall (5 stars, last pushed today), licensed MIT. It adds 104 tokens to every session and 1,565 once invoked, about $0.0004 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-08-31.

Related

demo compared with commands from other repositories

demo next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
demorandomittin/heimdallCommand5todayMITA104Claude Code
review-branchdamusix/atomic-claudeCommand118todayMITA35Claude Code
address-pr-feedbackaxiomantic/spellbookCommand133d agoMITA43Claude Code
create-praxiomantic/spellbookCommand133d agoMITA10Claude Code
advanced-code-review-planaxiomantic/spellbookCommand133d agoMITA19Claude Code
reviewChappygo-OS/Atomic-SpecCommand10todayMITA53Claude Code
sharpen-auditaxiomantic/spellbookCommand133d agoMITA41Claude Code