hep-graph

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

A command for describing, listing, and requesting runs of Agentlas automation graphs. A graph is a saved workflow made of connected steps; the desktop app performs the run after it is requested.

In plain words
What is it for?
Use it to build a graph through an interview, list saved graphs, view what one does, or request that the desktop app runs it.
Why use it?
It helps you inspect and organise saved automations without falsely treating a run request as completed execution.

Command for Claude Code

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,101 stars · on GitHub

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/agentlas-ai/agentlas-os/hep-graph
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-graph

README.md
[![agentmods](https://agentmods.dev/badge/commands/agentlas-ai/agentlas-os/hep-graph.svg)](https://agentmods.dev/commands/agentlas-ai/agentlas-os/hep-graph)
Your own site
<a href="https://agentmods.dev/commands/agentlas-ai/agentlas-os/hep-graph"><img src="https://agentmods.dev/badge/commands/agentlas-ai/agentlas-os/hep-graph.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,780 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.00018 $0.01780
Opus 5 $0.00009 $0.00890
Sonnet 5 $0.00004 $0.00356
Haiku 4.5 $0.00002 $0.00178

Measured yesterday against content hash 1bfd67905192, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hep-graph 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 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.

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-graph.md · 151 lines

How it starts

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

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

/hep-graph

Saved automation graphs live in the local Agentlas database, shared with the desktop app. This command reads that database and can ask for a graph to run.

Raw arguments: $ARGUMENTS

What this command can and cannot do. It lists graphs, shows what a graph does, and requests a run. It does not execute the graph — the desktop app is what runs it. Say that plainly when you report back; do not tell the user their automation ran.

Locate the CLI

CLI=""
for candidate in \
  "$(command -v agentlas 2>/dev/null)" \
  "$HOME/.agentlas/runtime/current/bin/agentlas" \
  "./bin/agentlas"
do
  if [ -n "$candidate" ] && [ -x "$candidate" ]; then CLI="$candidate"; break; fi
done
[ -n "$CLI" ] || { echo "Agentlas CLI not found. Install it with: npm i -g agentlas" >&2; exit 1; }

New — build one by talking it through

With new <what they want> (or when the user describes an automation they want and no saved graph matches), run the CLI's interview. It asks the user things it must not decide for them — when it runs, whether a step goes outside, how many times a repeat may run.

The CLI reads answers from stdin, one per line. So: run it once with no answers to see the first questions, relay them to the user in their own words, get their answers, then run it again with every answer so far:

printf '%s\n' "<answer 1>" "<answer 2>" "y" | "$CLI" graph new "<what they want>"

Rules that matter here:

  • Never invent an answer. If the user has not said when it runs, ask them — do not pick a time. The whole point of the interview is that these come from the person.
  • The interview proposes a grading checklist for steps that repeat until good enough (what must exist / what must not appear). Relay those items so the user can confirm or edit them — they are the pass/fail criteria, and the person should see them before saving.
  • If the user does not know or says you decide, pass that through verbatim (알아서 해주세요 / you decide). The CLI then takes the most conservative option and says what it chose. Do not decide on their behalf yourself.
  • The last line must be y to save. Until then nothing is written.
  • It is created switched off. Say so, and relay the two commands the CLI prints (graph show to look it over, automation on to turn it on).
  • If the CLI stops with "answer 를 받지 못해 멈췄습니다" / "Stopped without an answer to", it needed one more answer. Relay that exact question to the user and run again with the fuller list. Do not retry with a guess.

Read the full file on GitHub · 151 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. yesterday First seen · 151 lines · 18 tokens per session scan A 1bfd67905192

Subscribe to this mod's changes

hep-graph is a command published in the GitHub repository agentlas-ai/Agentlas-OS (1,101 stars, last pushed 2d ago), licensed Apache-2.0. It adds 18 tokens to every session and 1,780 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.