hep-build.body

hep-build.body is a command for Claude Code, Codex from agentlas-ai/Agentlas-OS. It costs 0 tokens per session (6,146 once invoked), scanned C, a copy of hep-build, Apache-2.0.

An agent-building command for creating single agents or teams, packaging existing agent workspaces, and repairing generated Agentlas command files.

In plain words
What is it for?
Use it to build or package agents, compile sessions for terminal or headless replay, and open the Knowledge/Memory panel.
Why use it?
It gives you one place to turn agent work into reusable Agentlas components without exposing internal support commands.

Command for Claude CodeCodex

Written for Claude Code and Codex: ${CLAUDE_PLUGIN_ROOT variable, but also reads ~/.codex or $CODEX_HOME. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Good fit Use it to build or package agents, compile sessions for terminal or headless replay, and open the Knowledge/Memory panel.

Compare 6 commands from other repositories ↓
About the project

Agentlas OS is a local-first system for creating, storing, borrowing, and running specialist AI agents and temporary agent teams through supported hosts and models. It serves people who want reusable agents that remain available across computers and model workspaces, and the catalogue contains its skills, commands, hooks, agents, instructions, plugin, and rule.

agentlas-ai/Agentlas-OS · 1,105 stars · on GitHub · agentlas.cloud

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

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 hep-build.body

README.md
[![agentmods](https://agentmods.dev/badge/commands/agentlas-ai/agentlas-os/hep-build.body/github.svg)](https://agentmods.dev/commands/agentlas-ai/agentlas-os/hep-build.body)
Your own site
<a href="https://agentmods.dev/commands/agentlas-ai/agentlas-os/hep-build.body"><img src="https://agentmods.dev/badge/commands/agentlas-ai/agentlas-os/hep-build.body/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 hep-build.body

Your own site · 80×15
<a href="https://agentmods.dev/commands/agentlas-ai/agentlas-os/hep-build.body"><img src="https://agentmods.dev/badge/commands/agentlas-ai/agentlas-os/hep-build.body.svg" alt="Reviewed on agentmods" width="80" 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 6,146 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod 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.00000 $0.06146
Opus 5 $0.00000 $0.03073
Sonnet 5 $0.00000 $0.01229
Haiku 4.5 $0.00000 $0.00615

Measured 6d ago against content hash 1f91e11ef78a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

hep-build.body scanned grade C with 2 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 6d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- ```bash curl -fsSL https://raw.githubusercontent.com/agentlas-ai/Agentlas-OS/main/scripts/install-all-runtimes.sh | bash ```

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- ```bash curl -fsSL https://raw.githubusercontent.com/agentlas-ai/Agentlas-OS/main/scripts/install-all-runtimes.sh | bash ```
Origin

This is a copy

97% identical to hep-build — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

contracts/commands/hep-build.body.md · 392 lines

How it starts

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

Update fallback: 자동 업데이트가 안 되면 hephaestus update를 한 번 실행하세요. 업데이트하지 않아도 현재 버전 명령은 그대로 동작합니다.

/hep-build

Raw arguments: {{ARGS}}

Use Hephaestus as the Agentlas builder surface:

  • create a new single agent
  • create a multi-agent team
  • package an existing Claude/Codex/Gemini workspace into Agentlas architecture
  • analyze the current interactive session and build its reusable agent
  • compile an explicitly exported session for terminal or headless replay
  • repair generated Agentlas command files
  • open ontology as the Knowledge/Memory panel

Expose this as the only public build command, next to /hep-network and /hep-cloud. Do not advertise internal support skills as commands.

Step 0 — Resolve the engine root

Every path in steps 1, 2 and 4 belongs to Hephaestus, not to the user's project. Read relatively and in someone else's repository you find nothing — or worse, you find their AGENTS.md and follow it. Measured 2026-08-07: three packages built outside this engine's own repository shipped 5 of 18 required artifacts, because these reads silently returned nothing and the model improvised the rest.

The marker is AGENTS.md and package-contract.json together. The installed runtime root carries the contract and the code but not the instructions — those travel in its host_adapters/ bundle — so testing for the contract alone selects a root where every read in steps 1, 2 and 4 comes back empty.

ENGINE=""
for candidate in \
  "${CLAUDE_PLUGIN_ROOT:-}" \
  "${CODEX_PLUGIN_ROOT:-}" \
  "${PLUGIN_ROOT:-}" \
  "${GEMINI_EXTENSION_ROOT:-}" \
  "$HOME/.agentlas/runtime/current/host_adapters/claude/plugins/agentlas-core-engine-meta-agent" \
  "$HOME/.agentlas/runtime/current/host_adapters/codex/plugins/agentlas-core-engine-meta-agent" \
  "$HOME/.agentlas/runtime/current" \
  "."
do
  if [ -n "$candidate" ] && [ -f "$candidate/AGENTS.md" ] && [ -f "$candidate/package-contract.json" ] && [ -f "$candidate/contracts/builder-interview-research-gate.md" ]; then
    ENGINE="$candidate"; break
  fi
done
[ -z "$ENGINE" ] && { echo "Hephaestus engine not found. Run the installer first." >&2; exit 1; }
RUNNER=""
for candidate in "$HOME/.agentlas/runtime/current/bin/hephaestus" "$ENGINE/bin/hephaestus"; do
  if [ -x "$candidate" ]; then RUNNER="$candidate"; break; fi
done
[ -n "$RUNNER" ] || { echo "Hephaestus runner not found." >&2; exit 1; }
echo "ENGINE=$ENGINE"

Read the full file on GitHub · 392 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. 6d ago First seen · 392 lines · 0 tokens per session scan C 1f91e11ef78a

Subscribe to this mod's changes

hep-build.body is a command published in the GitHub repository agentlas-ai/Agentlas-OS (1,105 stars, last pushed 3d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 6,146 tokens. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). It is 97% identical to hep-build, differing in 11 lines, and is treated as a copy.