stack

stack is a command for Claude Code from ClawForgeAI/clawforge. It costs 0 tokens per session (305 once invoked), scanned A, original, MIT.

Manage the full ClawForge Docker stack (PostgreSQL + Server + Admin).

Command for Claude Code

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.

agentmods
npx agentmods add commands/clawforgeai/clawforge/stack
Clone the repo
git clone --depth 1 https://github.com/ClawForgeAI/clawforge

Made for: Claude Code.

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 stack

README.md
[![agentmods](https://agentmods.dev/badge/commands/clawforgeai/clawforge/stack.svg)](https://agentmods.dev/commands/clawforgeai/clawforge/stack)
Your own site
<a href="https://agentmods.dev/commands/clawforgeai/clawforge/stack"><img src="https://agentmods.dev/badge/commands/clawforgeai/clawforge/stack.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 305 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00000 $0.00305
Opus 5 $0.00000 $0.00152
Sonnet 5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00030

Measured today against content hash 9ae9324c9c30, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

stack 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.

2. Check health endpoint: `curl -sf http://localhost:4100/health/ready`
.claude/commands/stack.md · 48 lines

What it actually says

Docker Stack Management

Manage the full ClawForge Docker stack (PostgreSQL + Server + Admin).

Instructions

Parse the operation from: $ARGUMENTS

If no argument, default to status.

Operations

up:

  1. Check if .env exists at project root. If not, copy from .env.example
  2. Run docker compose up --build -d
  3. Wait for health checks to pass (check with docker compose ps)
  4. Report service status and URLs:

down:

  1. Run docker compose down
  2. Report stopped services

down-clean (removes volumes — destructive):

  1. Warn the user this will destroy all database data
  2. Only proceed if user confirms
  3. Run docker compose down -v

logs [service]:

  1. Run docker compose logs --tail=100 <service> or all services if none specified

seed:

  1. Run docker compose run --rm seed
  2. Report seed completion (default credentials: [email protected] / clawforge)

status:

  1. Run docker compose ps
  2. Check health endpoint: curl -sf http://localhost:4100/health/ready
  3. Report which services are running and healthy
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 · 48 lines · 0 tokens per session scan A 9ae9324c9c30

Subscribe to this mod's changes

stack is a command published in the GitHub repository ClawForgeAI/clawforge (17 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 305 tokens. 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-09-04.