Agentlas-OS: Command for Claude Code

.claude/commands/agentlas-build.md

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

A command for building, repairing, or packaging Agentlas agents and teams, following instructions in a separate build file.

In plain words
What is it for?
Use it when you need to build, fix, or package an Agentlas agent or team.
Why use it?
It gives these tasks one defined procedure instead of requiring a new workflow each time.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is agentlas-ai/Agentlas-OS's own configuration. It tells Claude Code how to work on Agentlas-OS itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Agentlas-OS configures →

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,413 stars · on GitHub · agentlas.cloud

Reuse

Borrowing it

Nothing to install: this file belongs to agentlas-ai/Agentlas-OS. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/agentlas-ai/Agentlas-OS/main/.claude/commands/agentlas-build.md
Clone the repo
git clone --depth 1 https://github.com/agentlas-ai/Agentlas-OS

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/agentlas-ai/agentlas-os/agentlas-build"><img src="https://agentmods.dev/badge/commands/agentlas-ai/agentlas-os/agentlas-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 844 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 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.00012 $0.00844
Opus 5.5 $0.00005 $0.00338
Sonnet 5.5 $0.00002 $0.00169
Haiku 4.5 $0.00001 $0.00084

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

Security

Grade C, and why

agentlas-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 yesterday.

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.

No runner: tell the user to install (`curl -fsSL https://raw.githubusercontent.com/agentlas-ai/Agentlas-OS/main/scripts/install-all-runtimes.sh | bash`) and stop.

Makes network callslowCapability

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

No runner: tell the user to install (`curl -fsSL https://raw.githubusercontent.com/agentlas-ai/Agentlas-OS/main/scripts/install-all-runtimes.sh | bash`) and stop.
.claude/commands/agentlas-build.md · 39 lines

What it actually says

/agentlas-build

Build an agent or team, package or repair one, or turn this session into one. The engine checks; you write.

RUNNER=""; ENGINE=""
for c in "$HOME/.agentlas/runtime/current/bin/hephaestus" "${CLAUDE_PLUGIN_ROOT:-}/bin/hephaestus" "${PLUGIN_ROOT:-}/bin/hephaestus"; do [ -x "$c" ] && { RUNNER="$c"; break; }; done
for c in "$HOME/.agentlas/runtime/current/host_adapters/claude/plugins/agentlas-core-engine-meta-agent" "${CLAUDE_PLUGIN_ROOT:-}" "${PLUGIN_ROOT:-}"; do [ -f "$c/package-contract.json" ] && { ENGINE="$c"; break; }; done

No runner: tell the user to install (curl -fsSL https://raw.githubusercontent.com/agentlas-ai/Agentlas-OS/main/scripts/install-all-runtimes.sh | bash) and stop.

ontology: run "$RUNNER" ontology --gui . and report its gui_url.

session (this conversation is the input): ask first, exactly:

이 세션에서 만든 에이전트를 기본 전역 Agentlas 에이전트 폴더에 만들까요? 다른 위치를 원하면 경로를 알려주세요. 별도 위치를 지정하지 않으면 전역 폴더에 만듭니다.

Show a Generalized Session Report (reusable methods and IF/THEN/BECAUSE/AVOID/INSTEAD rules, no chronology, no transcript, secrets, private paths or tool output), offer Build Agent or Edit, then continue below.

  1. Read $ENGINE/contracts/builder-interview-research-gate.md and follow it: ask only real gaps; never invent answers or scores.
  2. Single agent = one role owns the work; team = two or more roles plus a final synthesis; package = repair or convert existing material. If unclear ask: "이 일을 한 명의 전문가가 처음부터 끝까지 맡으면 되나요, 아니면 조사/분석/검토처럼 여러 전문가가 나눠 맡고 마지막에 합쳐야 하나요?"
  3. "$RUNNER" contract resolve-target "<folder the user named>" --base "$PWD"; use only the package_root of an ok answer (never . or $ENGINE).
  4. "$RUNNER" contract scaffold "$PACKAGE_ROOT" --mode <single|team|package> (add --minimal-private-reason "<why>" only when the user asked for a minimal private build), then contract complete with the same mode. Fill every {{PLACEHOLDER}}.
  5. "$RUNNER" cards migrate "$PACKAGE_ROOT" --tier local --overwrite.
  6. "$RUNNER" contract verify "$PACKAGE_ROOT" --mode <mode>; fix and rerun. While blockers is not empty you may not report completed: report blocked with the list verbatim.
  7. Then ask once, with exactly these choices: Cloud에 올리기 / Agentlas Hub에 공개 / 로컬에만 저장. No answer means local only; never upload by default; a minimal-private build is never offered the Hub. For an upload run "$RUNNER" upload "$PACKAGE_ROOT" --cloud|--hub --dry-run and follow its next.
  8. Return status, evidence (ENGINE, scaffold receipt, final verify blockers), output, global_commands and blockers.

Request: $ARGUMENTS

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. yesterday Changed · +28 lines · -5 tokens per session scan A → C f1683b8087b4
  2. 3mo ago First seen · 11 lines · 17 tokens per session scan A 917a19dcce0b

Subscribe to this mod's changes

agentlas-build is a command published in the GitHub repository agentlas-ai/Agentlas-OS (1,413 stars, last pushed yesterday), licensed Apache-2.0. It adds 12 tokens to every session and 844 once invoked, about $0.0000 per session on Opus 5.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.

Related

agentlas-build compared with commands from other repositories

agentlas-build next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentlas-buildagentlas-ai/Agentlas-OSCommand1.4kyesterdayApache-2.0C12Claude Code
compatibility-auditAbilityai/trinityCommand830todayApache-2.0A0Claude Code
stopAbilityai/trinityCommand830todayApache-2.0A0Claude Code
dashboard-session-forkBlackBeltTechnology/pi-agent-dashboardCommand358todayMITA19Claude Code
dashboard-session-hideBlackBeltTechnology/pi-agent-dashboardCommand358todayMITA18Claude Code
dashboard-session-unhideBlackBeltTechnology/pi-agent-dashboardCommand358todayMITA18Claude Code
add-sourcefabioc-aloha/Alex_Skill_MallCommand65d agoMITA25GitHub Copilot