Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add ai-sdlc-framework/ai-sdlc/plugin install ai-sdlcWrote 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.
[](https://agentmods.dev/commands/ai-sdlc-framework/ai-sdlc/hierarchy)<a href="https://agentmods.dev/commands/ai-sdlc-framework/ai-sdlc/hierarchy"><img src="https://agentmods.dev/badge/commands/ai-sdlc-framework/ai-sdlc/hierarchy/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.
<a href="https://agentmods.dev/commands/ai-sdlc-framework/ai-sdlc/hierarchy"><img src="https://agentmods.dev/badge/commands/ai-sdlc-framework/ai-sdlc/hierarchy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.00881 |
| Opus 5.5 | $0.00020 | $0.00352 |
| Sonnet 5.5 | $0.00010 | $0.00176 |
| Haiku 4.5 | $0.00005 | $0.00088 |
Grade A, and why
hierarchy 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 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.
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.
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.
Run cli-hierarchy $ARGUMENTS (reference:
docs/operations/cli-hierarchy.md) and
surface its output unchanged. All logic lives in
ai-sdlc-plugin/scripts/hierarchy-dispatch.mjs; this body only resolves the plugin
scripts directory and forwards the arguments.
Usage
/ai-sdlc hierarchy
/ai-sdlc hierarchy status
/ai-sdlc hierarchy up --executors 1
/ai-sdlc hierarchy down
up,status,terminals,brief,downrun as given.attach <name>andup --attachcannot switch your terminal from inside Claude Code: the script prints the exact shell command to run instead.clear,tick,restart,register,route-decision,check-sender,check-repo,executor-startare refused with a one-line explanation: they belong to the dispatch and executor loop bodies.- No arguments prints
cli-hierarchy --helpfollowed by a common-recipes block. - If the pipeline-cli bin cannot be found, the same install hint as
/ai-sdlc doctoris printed.
VS Code terminals
up keeps .vscode/tasks.json current (unless --no-vscode-tasks), as long as the file is
absent or carries the ai-sdlc.generated marker. To get one terminal per agent:
/ai-sdlc hierarchy up --executors 5(regenerates the tasks file).- In VS Code run Terminal > Run Task >
hierarchy: open all agents.
A hand-written tasks.json is never overwritten; merge by hand from
/ai-sdlc hierarchy terminals --vscode --print.
Implementation contract
Run from the repository root:
if [ -n "${CLAUDE_PLUGIN_DIR:-}" ]; then
PLUGIN_SCRIPTS_DIR="$CLAUDE_PLUGIN_DIR/scripts"
elif [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
PLUGIN_SCRIPTS_DIR="$CLAUDE_PLUGIN_ROOT/scripts"
else
PLUGIN_SCRIPTS_DIR="$(pwd)/ai-sdlc-plugin/scripts"
fi
cd "$(git rev-parse --show-toplevel)"
node "$PLUGIN_SCRIPTS_DIR/hierarchy-dispatch.mjs" $ARGUMENTS
Confirming down
down with no --role stops every session and returns inflight manifests to the
queue. The script exits 3 and prints a notice when it is run unconfirmed. When that
happens, ask the operator once whether to stop every session; only on a yes, run the
same command again with --confirmed appended:
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.
- today Changed · +2 lines a634c8c2c659
- 5d ago Changed · +9 lines e87b07bd50c7
- 7d ago Changed · +11 lines bea5856dd9d8
- 8d ago Changed 0044950704ff
- 10d ago First seen · 61 lines · 50 tokens per session scan A 815c57dd285a
hierarchy is a command published in the GitHub repository ai-sdlc-framework/ai-sdlc (415 stars, last pushed yesterday), licensed Apache-2.0. It adds 50 tokens to every session and 881 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-10-08.
Other commands, from other repositories
discover
Discover runtime AI components and static AI dependencies with AIR Blackbox.
evidence
Export a signed compliance evidence package as JSON or PDF for regulatory handoff.
replay
Replay recorded AI traces to detect behavioral drift between model versions.
comply
Run a full EU AI Act compliance scan on your Python AI project.
at-dsgvo
You are helping an enterprise architect generate an Austrian Data Protection Assessment — the Austrian-specific GDPR layer applied by the Datenschutzbehörde (DSB) under the Datenschutzgesetz (DSG 2018, BGBl. I Nr. 165/1999 as amended). Run this after /arckit:eu-rgpd to add Austrian obligations that go beyond the EU…
au-aescsf
You are an enterprise architect generating an Australian Energy Sector Cyber Security Framework (AESCSF) maturity assessment for an Australian energy-sector project, asset, market interface, OT environment, DER platform, or regulated energy business capability.