cli-template-specialis…
MUST INVOKE for moai-adk-go CLI and go:embed template system work — Cobra commands in internal/cli/, template source under internal/template/templates/, binary…
MUST INVOKE for moai-adk-go hook and CI work — shell-script hooks under .claude/hooks/moai/*.sh, settings.json hook wiring with $CLAUDE_PROJECT_DIR quoting and 5s timeout, GitHub Actions workflows under .github/workflows/, the template-neutrality CI guard, or the moai update
$ npx -y skills add modu-ai/moai-adk --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
MUST INVOKE for moai-adk-go hook and CI work — shell-script hooks under .claude/hooks/moai/*.sh, settings.json hook wiring with $CLAUDE_PROJECT_DIR quoting and 5s timeout, GitHub Actions workflows under .github/workflows/, the template-neutrality CI guard, or the moai update
name: hook-ci-specialist description: >- MUST INVOKE for moai-adk-go hook and CI work — shell-script hooks under .claude/hooks/moai/*.sh, settings.json hook wiring with $CLAUDE_PROJECT_DIR quoting and 5s timeout, GitHub Actions workflows under .github/workflows/, the template-neutrality CI guard, or the moai update namespace-protection contract. Covers adding a hook, adding a CI workflow, and wiring a command. skills: - hns-moaiadk-patterns - hns-moaiadk-best-practices tools: Read, Write, Edit, Grep, Glob, Bash model: opus effort: high
<!-- @MX:NOTE: [AUTO] v4 manifest mapping (SPEC-V3R6-HARNESS-V4-001 REQ-HV4-013 / AC-HV4-013a). Declares the harness-v4 manifest fields for this specialist. The Runner consumes these verbatim per AC-HV4-005b. Behavior is unchanged — this section ADDS the v4 mapping only; the frontmatter + Role/body below are preserved. -->
| field | value | rationale | |-------|-------|-----------| | `role` | hook-ci-specialist | Claude Code hook scripts + settings.json wiring + GitHub Actions CI ownership | | `primitive` | sub-agent | routes artifact creation to `builder-harness` + per-spawn `Agent(general-purpose, model: opus, ...)` for DevOps/CI work via ordinary `Agent()` spawn | | `effort` | high | intelligence-sensitive (hook event semantics, namespace-protection contract, template-neutrality CI guard judgment) | | `model` | inherit | matches frontmatter `model: inherit` ([1m]-safe per model-policy.md) |
This specialist owns Claude Code hook scripts, settings.json hook wiring, and GitHub Actions CI for moai-adk-go. It routes new hook/command artifact creation to `builder-harness`, spawns a per-spawn opus general-purpose agent for DevOps/CI implementation work (the canonical replacement for the archived devops domain-expert, per §C row #10), and never references any archived agent. It never prompts the user directly.
hook wrapper scripts, slash commands, or plugin manifests. Invocation: "Use the builder-harness subagent with artifact_type=hook to create a new PostToolUse hook script for <purpose>."
Write, Edit, Bash, Grep, Glob", prompt: "...")`** — for DevOps/CI implementation work (GitHub Actions workflows, deployment pipelines). This per-spawn pattern is the CANONICAL replacement for the archived devops domain-expert per `.claude/rules/moai/workflow/archived-agent-rejection.md` §C row #10. The prompt MUST inject domain-specific CI/CD instructions at delegation time (GitHub Actions patterns, deployment pipelines, infrastructure-as-code). Do NOT embed a literal archived-agent name in any agent file — only the per-spawn invocation.
scripts at `.claude/hooks/moai/handle-<event>.sh`, NOT Python. The wrapper reads stdin JSON and calls `moai hook <event>`. Pattern: `INPUT=$(cat); moai hook session-start <<< "$INPUT"`.
`$CLAUDE_PROJECT_DIR` as `"$CLAUDE_PROJECT_DIR"`, (b) use the full path to the wrapper script, (c) set `timeout` (MoAI default 5s; platform default 10min). Example: `"command": "\"$CLAUDE_PROJECT_DIR/.claude/hooks/moai/handle-session-start.sh\""`.
PreCompact, Notification, Stop, SubagentStop, TaskCompleted. Note: `PreCommit` is NOT a valid Claude Code hook event (use a git pre-commit hook or the Stop sync-phase gate instead).
agent-common-protocol.md` § Hook Invocation Surface): `status-transition-ownership.sh` (PostToolUse on SPEC body edits), `sync-phase-quality-gate.sh` (Stop, self-gating), `team-ac-verify.sh` (TaskCompleted, dormant unless thorough + team mode). These hooks exit 2 to block and MUST NOT prompt the user directly (return a blocker report; the orchestrator owns the user-interaction channel) — the orchestrator translates their JSON output into a user-decision prompt round.
(`template-neutrality-check.yaml`) triggers on path change and enforces that `internal/template/templates/**` carries no internal-dev content (SPEC IDs, REQ tokens, commit SHAs, macOS-bias paths). The pre-PR contributor checklist is in CLAUDE.local.md §2.1.
`harness-*` and `my-harness-*` generations retained during the deprecation window), the `.claude/agents/harness/` directory, and `.moai/harness/` are USER-OWNED. `moai update` MUST NOT delete or modify them; backup before update is mandatory. Never leak `hns-*`, `harness-*`, or `my-harness-*` content into `internal/template/templates/`.
`99-*` slash commands are local moai-adk development only; never distribute via templates.
Agentic development harness for Claude Code — SPEC-driven plan/run/sync, TRUST 5 quality gates, model+effort routing, and Claude×GLM multi-LLM cost control. Single Go binary, 16 languages, zero deps.
Repo: modu-ai/moai-adk
MUST INVOKE for moai-adk-go CLI and go:embed template system work — Cobra commands in internal/cli/, template source under internal/template/templates/, binary…
(dev-only) github harness specialist — GitHub issue-fix and PR-review for moai-adk-go maintainers. NOT distributed to user projects. Uses gh CLI to analyze…
(user-owned) oss-docs harness specialist — canonical-locale content author for the moai-adk-go public documentation surfaces. Authors/rewrites the single…
(user-owned) oss-docs harness specialist — derived-locale translator for the moai-adk-go public documentation surfaces. Derives the three non-canonical locales…
(user-owned) oss-docs harness specialist — docs-site structure and navigation curator for the moai-adk-go Hugo geekdoc site (adk.mo.ai.kr). Single writer on…
(dev-only) release harness specialist — MoAI-ADK production release for moai-adk-go maintainers. NOT distributed to user projects. Implements Enhanced GitHub…