Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Agentlas Build?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentlas-ai-agentlas-build)
---
name: agentlas-build
description: Build, repair or package an Agentlas agent or team.
---
<!-- prompt-module: {"id":"os.commands.build-body","revision":4,"stability":"versioned-content","changeTriggers":["release"],"channel":"user"} -->
# /agentlas-build
Build an agent or team, package or repair one, or turn this session into one. The engine checks; you write.
```bash
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: the text typed after the command.