hep-orch

hep-orch is a command for Claude Code from agentlas-ai/Agentlas-OS. It costs 15 tokens per session (871 once invoked), scanned A, original, Apache-2.0.

A command for choosing which model handles coordination and which models handle worker tasks.

In plain words
What is it for?
Use it to view, set, reset, or pin model tiers or exact model IDs for the orchestrator and workers.
Why use it?
It prevents every worker from using an unnecessarily expensive model when a less costly one is enough.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Use it to view, set, reset, or pin model tiers or exact…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/agentlas-ai/agentlas-os/hep-orch
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

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.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/agentlas-ai/agentlas-os/hep-orch.svg)](https://agentmods.dev/commands/agentlas-ai/agentlas-os/hep-orch)
Your own site
<a href="https://agentmods.dev/commands/agentlas-ai/agentlas-os/hep-orch"><img src="https://agentmods.dev/badge/commands/agentlas-ai/agentlas-os/hep-orch.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 871 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00015 $0.00871
Opus 5 $0.00008 $0.00436
Sonnet 5 $0.00003 $0.00174
Haiku 4.5 $0.00002 $0.00087

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

Security

Grade A, and why

hep-orch 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 3d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/hep-orch.md · 82 lines

How it starts

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

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

Set or show which model runs the orchestrator and which runs the workers.

Raw request: $ARGUMENTS

A role split only saves anything when the roles actually run on different models. Before this policy existed the allocator had nothing to read, so every worker inherited the orchestrator's frontier model and a five-worker fan-out billed five frontier runs to do work a cheap model finishes.

Read the request

  • No arguments, or show/status → report the current policy and stop.
  • clear/reset → remove the policy and stop.
  • Otherwise the request is one or more role=value pairs.

role is orchestrator or worker. value is either a tier (economy, balanced, frontier) — read as a ceiling — or an exact model id from the live host inventory, read as a pin. An empty value drops that role back to inherited.

Apply it

Run the host command and report exactly what it prints:

hep-orch <role=value> [<role=value>...]

Do not edit ~/.agentlas/one/model-policy.json by hand and do not export AGENTLAS_MODEL_ALLOCATION_POLICY_JSON on the user's behalf. The environment variable is the operator override and outranks this file; say so if it is set, because the policy the user just wrote will not be the one in force.

Which hosts can actually act on it

The policy is read on every host, but only a host that can run a worker as a separate invocation can put two different models to work at once.

  • Claude Code spawns real subagents and takes a model per subagent, so an orchestrator/worker split runs as written — this is the only host where the split is verified end to end today.
  • Codex, Gemini/Antigravity, Cursor, OpenCode have no subagent of their own. One model plays every role in sequence. The allocation receipt is still produced and the ceiling still applies to what that model may request, but a worker tier does not put a second, cheaper model on the machine.

Read the full file on GitHub · 82 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. 3d ago First seen · 82 lines · 15 tokens per session scan A 6ce00ed6c90b

Subscribe to this mod's changes

hep-orch is a command published in the GitHub repository agentlas-ai/Agentlas-OS (1,103 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 871 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-09-03.