Command Palette

Search for a command to run...

Назад к скиллам
скилл № 73015

agent-loop-workflow

Operate the ordinary governed agent-loop path by routing through enter/finish and obeying the lifecycle kernel's structured next step instead of reproducing…

БесплатноБез исполняемых скриптов
vokuот voku★ 33 звезды на GitHub

Установить agent-loop-workflow в Claude Code и Claude Desktop

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

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

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

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

Agent Loop Workflow

Use this skill for the ordinary governed coding path. The lifecycle kernel owns what is legal next. This skill routes into that kernel and presents its result; it does not keep a second phase machine, gate list, repair table, or owner artifact checklist.

Persisted owner evidence is authoritative. Conversation prose is not.

Environment Boundary

The lifecycle owns governed task/product mutation, not the host's reversible workspace bootstrap. If the declared lifecycle binary cannot run because a fresh host omitted already-declared dependencies or repository plumbing, first restore the minimum environment needed to execute it: inspect/fetch the public checkout, run the repository's declared dependency installation, obtain required public sibling checkouts for cross-package work, discover available host/remote capabilities without exposing credentials, and establish an isolated branch or worktree before implementation.

Do not create lifecycle owner state during bootstrap, and do not use bootstrap as permission to mutate product code. Once agent-loop is runnable and the implementation workspace is isolated, route through enter normally.

A missing preferred remote-write mechanism is a capability boundary, not automatically a terminal task blocker. Continue useful authorized local work that does not require that capability, and report a human/capability gate only when the next required action itself cannot be performed and no useful local work remains.

Ordinary Host Contract

Start or resume through the front door:

tools/agent-loop/vendor/bin/agent-loop enter <task-id> --format=json

Read the structured result, especially:

  • mutation_ready — whether host-native implementation work is currently authorized;
  • next_action_kind — how to treat the canonical next step;
  • next_action — the one decisive next step;
  • manifest.references — supporting owner-backed evidence and reasons;
  • future_work — repository policy for optional post-completion reflection; it never widens the current Contract.

next_action_kind has one treatment contract:

  • command — execute next_action as written;
  • command_template — fill model-owned placeholders from the actual user request and current repository evidence, then execute the resulting command. Do not ask the human merely because a template contains placeholders. If a required value is genuinely missing product intent rather than model-resolvable task construction, stop and ask for that missing intent instead of inventing it;
  • decision_required — a genuine human-authority decision is required. Never fabricate it, and never ask for a generic confirmation that hides what is being decided. Present the exact current owner-backed decision subject first;
  • host_work — perform the described host-native implementation/model work; the text is not a shell command;
  • none — no further lifecycle action is required.

Do not combine sibling fields to invent a different workflow decision. If a canonical command refuses deterministically without changing the next step, record that as a lifecycle defect rather than teaching the host a workaround.

When host-native mutation is complete, reconcile deterministic close-out through:

tools/agent-loop/vendor/bin/agent-loop finish <task-id> --format=json

Then obey the returned next_action_kind / next_action in the same way until none / complete. Repeated enter and finish calls are intended to reconcile current owner evidence; hosts should not reproduce their preconditions.

Decision And Review Presentation

A human gate is not useful if the developer cannot see the exact thing they are being asked to own. Before asking for any decision_required action, surface the smallest complete developer-readable projection of that exact current decision. Do not ask only “approve?”, “confirm?”, or repeat the command template.

For Contract approval, show the current candidate Contract revision from owner context: goal, Contract scope, non-goals, acceptance criteria, required validation, behavior anchors and selected operating prompts when present. enter --format=json already carries bounded context; if the host no longer has it, refresh the read-only projection with:

tools/agent-loop/vendor/bin/agent-loop workflow context <task-id> --format=json

The user must be able to see what scope and validation they are approving before the host supplies the approving actor. That approval is the ordinary task-authority gate: once the exact Contract is approved, normal implementation, validation, review acknowledgement, Learning disposition, Recall outcome logging, local commits and closeout inside that Contract do not require ceremonial re-approval.

For an exact current review, keep the result visible even though acknowledgement is normally delegated after Contract approval. finish --format=json exposes a review_presentation when the curr

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

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

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

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

FAQ

Что делает скилл agent-loop-workflow?

Operate the ordinary governed agent-loop path by routing through enter/finish and obeying the lifecycle kernel's structured next step instead of reproducing workflow policy in host prose.

Как установить скилл agent-loop-workflow?

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

Скилл agent-loop-workflow запускает скрипты?

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

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

Сравнить agent-loop-workflow с