hep-build

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

A command for building Agentlas agents and teams. Agentlas is a system for packaging reusable AI agents, including workspaces from Claude, Codex, or Gemini.

In plain words
What is it for?
Use it to create one agent or a multi-agent team, turn an existing workspace or session into an Agentlas project, compile sessions for terminal or headless use, and repair generated command files.
Why use it?
It provides one build command for creating, packaging, compiling, or repairing Agentlas projects instead of handling those tasks through separate internal commands.

Command for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, 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.

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,103 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

README.md
[![agentmods](https://agentmods.dev/badge/commands/agentlas-ai/agentlas-os/hep-build.svg)](https://agentmods.dev/commands/agentlas-ai/agentlas-os/hep-build)
Your own site
<a href="https://agentmods.dev/commands/agentlas-ai/agentlas-os/hep-build"><img src="https://agentmods.dev/badge/commands/agentlas-ai/agentlas-os/hep-build.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 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,198 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. 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.1 $0.00017 $0.06198
Opus 5 $0.00009 $0.03099
Sonnet 5 $0.00003 $0.01240
Haiku 4.5 $0.00002 $0.00620

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

Security

Grade C, and why

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

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/hep-build.md · 397 lines

How it starts

The opening of the file, as written. The whole thing — 397 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: $ARGUMENTS

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 · 397 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 · 397 lines · 17 tokens per session scan C 9cc64915297a

Subscribe to this mod's changes

hep-build is a command published in the GitHub repository agentlas-ai/Agentlas-OS (1,103 stars, last pushed today), licensed Apache-2.0. It adds 17 tokens to every session and 6,198 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.