Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

harn-agent

БесплатноБез исполняемых скриптовНе проверен

Build controllable agent loops with explicit authority, evidence, and recovery.

burin-labsот burin-labs★ 34 звезды на GitHub

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

Harn agents

Use this skill for agent_loop, agent sessions, workers, supervisors, tools, completion, and lifecycle controls.

Pair it with harn-orchestration for workflows, harn-testing for deterministic evidence, and harn-product-quality for user-facing behavior.

Ownership

  • Harn owns loop, lifecycle, transcript, replay, lineage, and audit semantics.
  • Hosts expose concrete capabilities and native approval UX.
  • Keep semantic policy in the runtime or harness, not duplicated in host prose.
  • Give each behavior one owner and project its state to every client.
  • Prefer a deep agent module with a small typed interface.
  • Do not infer lifecycle state by parsing assistant text.

Session identity

  • Give durable work a stable session id.
  • Preserve parent/child lineage for delegated work.
  • Carry workspace anchors and capability scope explicitly.
  • Resume from durable state rather than reconstructing from UI messages.
  • Treat transcript compaction as a state transition with continuity evidence.
  • Keep secrets and provider credentials out of transcripts.
  • Record the initiator and reason for lifecycle transitions.

Capabilities and approval

  • Grant only the capabilities required for the task.
  • Child policy intersects the parent ceiling; delegation must not widen it.
  • Let agents act autonomously inside approved, reversible scope.
  • Request approval for genuine ambiguity, destructive action, production impact, exceptional spend, or new authority.
  • Do not request approval for every ordinary tool call.
  • Make a rejected or expired approval a typed terminal or waiting state.
  • Route mutations through host-owned capabilities so undo and audit remain native to the product.

Loop design

  • Use agent_loop as the one public agent entry point. Use harness.llm.call or harness.llm.completion when the work is one model request, and keep interactive input and editor state in the host.
  • Build the flat AgentSpec with agent_options or agent_preset. Use its named model, execution, capability, lifecycle, context, and observability component records at narrower boundaries.
  • Bound iterations, tool duration, concurrency, tokens, and cost.
  • Use adaptive iteration budgets only when progress signals justify extension.
  • Register typed tools with closed input and result shapes.
  • Feed dispatch errors back as structured observations.
  • Use stop_after_successful_tools for terminal tools.
  • Prefer lifecycle events and progress records over recurring prose nudges.
  • Keep model routing and fallback policy explicit.
  • Built-in presets use named catalog ladders. Override routing with one owner (provider + model, inline models, or ladder) rather than splicing a caller route into the preset's catalog route.
  • Use a completion judge only for a claim it can actually evaluate.

Control events

Stop, wait, stand down, and pivot are controls, not suggestions.

  • Stop prevents future tool and model work after the current cooperative seam.
  • Wait suspends with durable resume conditions when known.
  • Stand down returns a typed handoff and closes delegated work cleanly.
  • Pivot replaces the active objective and suppresses stale completion.
  • Acknowledge the control and emit the resulting state.
  • Bound long-running tools so a control reaches a turn boundary promptly.
  • Detect double resume and terminal-session resume attempts.
  • Test controls while tools or workers are active.

Progress and liveness

  • Emit agent_progress after observable progress, not on a timer.
  • Distinguish queued, running, waiting, blocked, stopped, failed, and complete.
  • Persist enough progress to survive reconnect and process restart.
  • Report the next active step and any external dependency.
  • A spinner or recent token is not liveness evidence.
  • Verify forward progress, interruption, recovery, and a terminal state.
  • Do not declare completion while landing, release, or required verification remains.

Completion

  • Define completion against the user outcome, not lack of tool calls.
  • Consume the typed AgentResult and branch on terminal.kind; do not reclassify status, stop_reason, model text, or transport metadata.
  • Name a plausible falsifier for the completion claim.
  • Gate on required artifacts, checks, receipts, or landed state.
  • Use deterministic checks before an LLM judge.
  • Calibrate model judges against representative accepted and rejected cases.
  • Cap repeated vetoes and expose why completion remains unverified.
  • Preserve residual risk in the handoff.

Recovery

  • Put retry, backoff, timeout, and fallback policy in a composable caller or harness.
  • Make retry eligibility explicit from typed errors.
  • Use idempotency keys for externally visible operations.
  • Persist checkpoints before irreversible or expensive steps.
  • Prefer worktree-backed autonomous mutation to ambient working-directory state.
  • Make restart, reconnect, and partial-success behavior observable.
  • A lucky
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Build controllable agent loops with explicit authority, evidence, and recovery.

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

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

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

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

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

Сравнить harn-agent с