Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

hep-build

БесплатноБез исполняемых скриптовНе проверен

Build, repair, or package Agentlas agents and teams with Hephaestus.

agentlas-aiот agentlas-ai★ 1 409 звёзд на GitHub

Об этом скилле

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

/hep-build

Use Hephaestus as the Agentlas builder surface:

  • create a new single agent
  • create a multi-agent team
  • package an existing Claude/Codex/Antigravity 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. Resolve the engine root before reading its instructions and templates; never invent missing artifact requirements.

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:-}" \
  "$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"

Report the resolved ENGINE in the final evidence. If a file below is missing from it, say so as a blocker — do not carry on and improvise it.

Route

If the request is ontology

Open the project-local ontology GUI:

  1. Find the first executable path from the shell snippet below.
  2. Run:
RUNNER=""
CODEX_HOME_DIR="${CODEX_HOME:-$HOME/.codex}"
for candidate in \
  "$HOME/.agentlas/runtime/current/bin/hephaestus" \
  "${CLAUDE_PLUGIN_ROOT:+$CLAUDE_PLUGIN_ROOT/bin/hephaestus}" \
  "${CODEX_PLUGIN_ROOT:+$CODEX_PLUGIN_ROOT/bin/hephaestus}" \
  "${PLUGIN_ROOT:+$PLUGIN_ROOT/bin/hephaestus}" \
  "./bin/hephaestus" \
  "./claude/plugins/agentlas-core-engine-meta-agent/bin/hephaestus" \
  "./codex/plugins/agentlas-core-engine-meta-agent/bin/hephaestus"
do
  if [ -n "$candidate" ] && [ -x "$candidate" ]; then
    RUNNER="$candidate"
    break
  fi
done
if [ -z "$RUNNER" ]; then
  for cache in "$HOME/.claude/plugins/cache/agentlas-core-engine/hephaestus" \
               "${CODEX_HOME:-$HOME/.codex}/plugins/cache/agentlas-core-engine/hephaestus"; do
    newest="$(ls -d "$cache"/*/bin/hephaestus 2>/dev/null | sort -V | tail -1)"
    if [ -n "$newest" ] && [ -x "$newest" ]; then RUNNER="$newest"; break; fi
  done
fi
if [ -z "$RUNNER" ]; then
  echo "Hephaestus runtime not found. Run the installer first." >&2
  exit 1
fi
"$RUNNER" ontology --gui .
  1. Report the returned gui_url, db_path, inbox_path, and verification status.

Otherwise

If the request is session

session is the fourth canonical builder route behind /hep-build. In an interactive host, the current conversation is the input. Do not ask the owner for JSON/JSONL, do not search recent sessions or host databases, and do not route this request to the ordinary package-target questionnaire.

Ask first:

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

If no alternate location is named, use AGENTLAS_AGENT_HOME or ~/.agentlas/agents and create a new safe-slug child package there. Never overwrite an existing child. If the destination is supplied, validate that one exact folder and use it as the package root.

Analyze the visible user/assistant turns and relevant visible outcomes from this same thread in two passes. First show a Generalized Session Report, not a chronological summary. It must extract reusable intent, methods, corrections, failed approaches, validation, tool purpose, and IF / THEN / BECAUSE / AVOID / INSTEAD rules. Offer Build Agent or Edit. After approval, tu

Полный SKILL.md на GitHub

Установить hep-build в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл hep-build?

Build, repair, or package Agentlas agents and teams with Hephaestus.

Как установить скилл hep-build?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл hep-build запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить hep-build с