Command Palette

Search for a command to run...

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

agent-loop-l2-context

Use agent-loop to compile, inspect, and govern task-scoped Recall/L2 context without duplicating agent-recall-compiler's prompt schema or treating generated…

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

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

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

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

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

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

Agent Loop L2 Context

Use this skill when a task needs agent-loop Recall compilation, governed L2 prompt construction, bounded context, map navigation, or evidence from the current repository.

Ownership Boundary

This skill owns the agent-loop orchestration surface around context:

  • how Loop invokes Recall for a governed task;
  • where Loop exposes the resulting task artifacts;
  • when an L2-generated execution contract becomes a Loop gate;
  • how Loop combines Recall with map and optional architecture evidence.

voku/agent-recall-compiler owns Recall-specific behavior and instructions:

  • compile input/output schema;
  • operating-prompt manifest schema and bundled first-party recipes;
  • L2 -> L1 construction semantics;
  • Recall evidence labels and review primitives.

Do not duplicate those contracts here. In an installed project, the canonical Recall skill and first-party recipe catalog are shipped with the tool at:

tools/agent-loop/vendor/voku/agent-recall-compiler/skills/agent-recall-consumer/SKILL.md
tools/agent-loop/vendor/voku/agent-recall-compiler/skills/agent-recall-consumer/operating-prompts.json

When Recall changes, update its owned skill with the code. This Loop skill should only change when Loop's orchestration of that tool changes.

Fast Path

For an existing governed task, inspect the bounded view and current state:

tools/agent-loop/vendor/bin/agent-loop workflow context <task-id> --max-lines 120 --max-bytes 12000
tools/agent-loop/vendor/bin/agent-loop workflow status <task-id>

For standalone exploration, compile task-scoped Recall through Loop and let the wrapper resolve the configured Learning and Recall roots:

tools/agent-loop/vendor/bin/agent-loop recall compile \
  --task <task-id> \
  --file <path-to-file-1> \
  --file <path-to-file-2>

workflow context is read-only. It does not recompile Recall, refresh a map, or embed arbitrary source bodies.

For governed starts, keep recall-documents.json intentionally small and Git-tracked beside the Learning root; the lifecycle owns when Recall receives it. Use explicit scopes, tags, and excerpt limits instead of making every document global context.

Reusable Operational Prompt Recipes

Use Recall's installed first-party catalog instead of a copied recipe file:

tools/agent-loop/vendor/bin/agent-loop workflow plan <task-id> \
  --by <actor> \
  --file src/Parser.php \
  --file tests/ParserTest.php \
  --goal 'Harden the parser tests.' \
  --validation 'composer ci' \
  --operating-prompt-manifest tools/agent-loop/vendor/voku/agent-recall-compiler/skills/agent-recall-consumer/operating-prompts.json \
  --operating-prompt '{"id":"coverage-mutation","arguments":{"minimum_percentage_points":10,"mutation_command":"vendor/bin/infection --threads=max"}}'

Recipe selection and arguments remain explicit Contract policy. Bundling the catalog with Recall does not make Loop select recipes automatically.

Approval is human authority, and what follows it is the kernel's decision, not this skill's. Drive governed work through the canonical lifecycle result and use the bounded context projection when that result or the task calls for it:

tools/agent-loop/vendor/bin/agent-loop workflow context <task-id> --max-lines 120 --max-bytes 12000

If the compiled Recall artifacts require an L2 construction pass, follow the current instructions in the Recall-owned system.md/skill rather than a restated schema in this file. Persist the constructed execution contract through Loop when the canonical lifecycle result asks for it:

tools/agent-loop/vendor/bin/agent-loop workflow contract <task-id> \
  --status ready \
  --from <project-specific-l1.md> \
  --by <actor>

If construction proves the approved task cannot safely be executed, persist a blocked or rejected state with evidence. Do not weaken the approved Contract inside the generated prompt.

Recall Artifacts Through Loop

Recall compilation produces the canonical task evidence consumed by Loop, including system.md, validation-plan.md, recall.bundle.json, facts.json, selection-report.json, recall-log.draft.json, and meta.json under the configured task Recall root.

These are evidence/harness inputs. They are not automatically injected into an agent and their presence does not prove an L1 prompt was constructed or executed.

Use the project layout instead of assuming a hard-coded Recall path:

tools/agent-loop/vendor/bin/agent-loop init paths --format=json
tools/agent-loop/vendor/bin/agent-loop workflow status <task-id>

Recompile only through the owning workflow when the approved Contract or relevant inputs changed. Do not hand-edit generated Recall evidence to make a gate pass.

Compact Map Navigation

map is a lookup tool, not a lifecycle gate. Use it whenever the task needs precise definitions, callers, or related symbols across more than one or two files:

tools/agent-
Полный SKILL.md на GitHub

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

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

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

FAQ

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

Use agent-loop to compile, inspect, and govern task-scoped Recall/L2 context without duplicating agent-recall-compiler's prompt schema or treating generated artifacts as executed work.

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

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

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

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

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

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