adcm-build

adcm-build is a command for coding agents from arenadata/adcm-agent. It costs 19 tokens per session (576 once invoked), scanned A, original, Apache-2.0.

A repository command for building an ADCM bundle, a compressed package used by Arenadata Cluster Manager to manage cluster services.

In plain words
What is it for?
Use it to check bundle changes, create a development archive, or make a release archive with its required dependencies.
Why use it?
It provides a repeatable build and validation step, helping catch template errors before a bundle is shared or released.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the adcm plugin — 8 skills, 7 commands, 3 agents shipped together

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/arenadata/adcm-agent/adcm-build
Clone the repo
git clone --depth 1 https://github.com/arenadata/adcm-agent

Or install adcm, the plugin that ships this one along with the rest of its 8 skills, 7 commands, 3 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/arenadata/adcm-agent/adcm-build.svg)](https://agentmods.dev/commands/arenadata/adcm-agent/adcm-build)
Your own site
<a href="https://agentmods.dev/commands/arenadata/adcm-agent/adcm-build"><img src="https://agentmods.dev/badge/commands/arenadata/adcm-agent/adcm-build.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 576 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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 $0.00019 $0.00576
Opus 5 $0.00010 $0.00288
Sonnet 5 $0.00004 $0.00115
Haiku 4.5 $0.00002 $0.00058

Measured 4d ago against content hash ebfe5660e645, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

adcm-build 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 4d 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.

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.

commands/adcm-build.md · 54 lines

How it starts

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

Build the bundle in this repository. Mode: $ARGUMENTS

Load the adcm-bundle-build skill — it owns spec.yaml semantics, the flags and the error table. Do not assemble a packer by hand.

Pick the mode

  • check (default when you are iterating) — render and validate only, about a second. This is the compile check for a bundle refactor; run it after every edit to a .j2 the splitter owns.
  • dev — a real archive with a unique version, for uploading to a shared instance.
  • release — a faithful build: real version, vendored python modules, --release render context.

If the user did not say, and they have just edited a template, use check.

Run it

ADCM_SCRIPTS="${CLAUDE_PLUGIN_ROOT}/scripts"
bash "$ADCM_SCRIPTS/bootstrap.sh"          # idempotent; skip if .adcm/venv already works
PY=.adcm/venv/bin/python

$PY "$ADCM_SCRIPTS/bundle_build.py" --check                      # check
$PY "$ADCM_SCRIPTS/bundle_build.py" --dev-version --skip-pymod   # dev
$PY "$ADCM_SCRIPTS/bundle_build.py" --release                    # release

Read the discovery lines it prints first — the edition it chose, the submodules it skipped, the prototype file and version it found. Almost every surprise is explained there.

Judge the result

  • RENDER ERROR: file:line: is the primary feedback. Fix that file and line; do not work around it.
  • YAML ERROR in rendered ... — line numbers refer to the output. Open .adcm/staging/<edition>/<path> at that line.
  • A submodule failure (exit 3) means no access to the private role repositories. Degrade with --check --stub-submodules and say that the run was degraded — never conclude anything about YAML validity from a stubbed run.
  • A python_mod_req warning means the archive is missing its vendored wheels. Fine for upload validation, wrong for a real deploy.

Report

The edition, the prototype name and the exact version built, the artifact path and size, and any warning verbatim. If you used --dev-version, quote the full suffixed version — that is what will appear on the instance.

Read the full file on GitHub · 54 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. 4d ago First seen · 54 lines · 19 tokens per session scan A ebfe5660e645

Subscribe to this mod's changes

adcm-build is a command published in the GitHub repository arenadata/adcm-agent (2 stars, last pushed 11d ago), licensed Apache-2.0. It adds 19 tokens to every session and 576 once invoked, about $0.0001 per session on Opus 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-08-31.