agent-loop-task-start
Define durable task intent for a governed agent-loop task, then route startup through the lifecycle kernel instead of reproducing preparation or discovery…
от voku★ 33 звезды на GitHub
Установить agent-loop-task-start в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Agent Loop Task Start
Use this skill when a task needs a durable Contract with explicit intent. This skill helps choose that intent; it does not own the lifecycle sequence that follows. The lifecycle kernel decides what is legal next.
Pre-Lifecycle Workspace Bootstrap
A fresh or isolated coding host may receive a checkout that cannot yet execute the repository's declared workflow. Restore only the minimum reversible environment needed to make that workflow runnable before interpreting its absence as a workflow failure. Typical bootstrap work includes inspecting the current worktree/remotes, fetching or reconstructing the obvious public repository remote, installing already-declared Composer dependencies, obtaining required public sibling checkouts for cross-package work, discovering available host/GitHub capabilities without printing credentials, and establishing an isolated branch or worktree before implementation.
This bootstrap is outside the governed product-mutation boundary: it does not create or approve a Contract, Session, Recall, Finding, proposal, or other owner state, and it does not authorize product-code changes. Once the lifecycle CLI is runnable and an isolated implementation workspace exists, return immediately to the governed front door below.
Do not declare a task blocked merely because vendor/, an expected public remote,
gh, push credentials, or one preferred PR helper is missing. Recover safe local
bootstrap first. If remote mutation remains unavailable, continue all useful
local inspection, implementation, validation, commits, and dogfood preparation
that the current authority permits. A capability gate is terminal only when the
next genuinely required action cannot be performed and no useful local work
remains.
Start Through The Front Door
For a stable task id, start or resume with:
tools/agent-loop/vendor/bin/agent-loop enter <task-id> --format=json
For a genuinely new task the kernel may return a command_template PLAN command.
Fill the missing Contract inputs from the actual request and current repository
evidence, execute that command without an extra human confirmation merely because
placeholders exist, then call enter again and obey the new structured
next_action_kind / next_action.
Do not pre-build a map, manually create a Session, compile Recall, or infer that approval should run merely because an old startup checklist said so. If discovery or another deterministic prerequisite is required, the owner-backed lifecycle result must name that repair.
A named human approval remains authority-bearing. Never fabricate the approving
actor or self-approve. Before asking, show the exact candidate Contract the human
would own: goal, scope, non-goals, acceptance criteria, validation and relevant
behavior/prompt policy. Approval records authority for the exact Contract
revision; Run, Session and Recall preparation happens deterministically behind
enter.
Contract Intent
A PLAN should carry enough durable intent that a later agent does not need the original chat to understand the task:
- stable task id;
- actor/planner identity;
- smallest honest file/scope boundary;
- goal;
- explicit non-goals when they prevent scope drift;
- behavior anchors when runtime behavior matters;
- executable validation commands supported by repository evidence;
- acceptance criteria for required outcomes;
- selected operating-prompt policy only when a real recipe/control applies.
The canonical PLAN template is intentionally incomplete until those values are
chosen. Do not persist unresolved placeholders such as <goal> or
<validation> as real Contract values.
Task ID
Reuse the external ticket/issue id when one exists. Otherwise choose one stable
local id such as LOCAL-001 and keep it for the life of the task. Do not create a
new id on every resume.
If existing durable state may exist, enter/workflow status --format=json
should discover it before another plan is invented beside it.
Choosing Scope
Select scope intentionally. The Contract should be narrow enough to constrain work but stable enough that ordinary discovery inside one cohesive subsystem does not force repeated supersession approvals.
Before persisting the first Contract for a non-trivial task, do one bounded read-only scope pass using the request and obvious repository evidence. The goal is not exhaustive design; it is to avoid approving an accidental first-file guess. Identify the likely implementation owner, its focused tests and the nearest cohesive path boundary that honestly contains the requested behavior.
Use --file for concrete evidence/owners you already know. Use explicit
--scope when the honest mutation boundary is broader than those seed files. For
example, when a change clearly spans one component directory plus its focused
tests, approve those bounded paths once rather than revising the Contract every
time another sibling file is discovered.
Prefer the smallest
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agent-loop-task-start?
Define durable task intent for a governed agent-loop task, then route startup through the lifecycle kernel instead of reproducing preparation or discovery choreography in host guidance.
Как установить скилл agent-loop-task-start?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-loop-task-start запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…