harn-orchestration

harn-orchestration is a skill for Claude Code from burin-labs/harn. It costs 20 tokens per session (1,241 once invoked), scanned A, original, Apache-2.0.

A design guide for Harn workflows, which are step-by-step processes run by software agents.

In plain words
What is it for?
Use it to design triggers, workers, handoffs, parallel tasks, durable execution, and agent loops.
Why use it?
It keeps scheduling, retries, state, history, and auditing in one execution system instead of scattering them across different interfaces.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to design triggers, workers, handoffs, parallel tasks, durable execution, and agent loops.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/burin-labs/harn/harn-orchestration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add burin-labs/harn --skill harn-orchestration
Clone the repo
git clone --depth 1 https://github.com/burin-labs/harn

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for harn-orchestration

README.md
[![agentmods](https://agentmods.dev/badge/skills/burin-labs/harn/harn-orchestration/github.svg)](https://agentmods.dev/skills/burin-labs/harn/harn-orchestration)
Your own site
<a href="https://agentmods.dev/skills/burin-labs/harn/harn-orchestration"><img src="https://agentmods.dev/badge/skills/burin-labs/harn/harn-orchestration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for harn-orchestration

Your own site · 80×15
<a href="https://agentmods.dev/skills/burin-labs/harn/harn-orchestration"><img src="https://agentmods.dev/badge/skills/burin-labs/harn/harn-orchestration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,241 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.01241
Opus 5 $0.00010 $0.00620
Sonnet 5 $0.00004 $0.00248
Haiku 4.5 $0.00002 $0.00124

Measured 11d ago against content hash 24ee2f1c5d29, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

harn-orchestration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

crates/harn-skills/src/corpus/harn-orchestration/SKILL.md · 137 lines

How it starts

The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Harn orchestration

Use this skill for workflows, triggers, workers, handoffs, parallelism, durable execution, and agent_loop composition.

Pair it with [[harn-agent]] for loop behavior, [[harn-testing]] for deterministic verification, and [[harn-product-quality]] for product projections.

One execution substrate

  • Harn owns scheduling, lifecycle, transcript, replay, lineage, and audit.
  • A host adapts Harn state into native UI and concrete capabilities.
  • Harn Cloud durably runs the same semantics; it does not fork them.
  • CLI, TUI, IDE, headless, and cloud should consume one execution contract.
  • Do not add a second scheduler, retry engine, or completion model to a host.
  • Repair drift at the owner or projection interface.
  • Keep provider-specific behavior behind provider adapters.

Workflow design

  • Model a workflow around a durable outcome and typed stages.
  • Give every stage explicit input, output, failure, and compensation behavior.
  • Keep the external interface small; hide composition inside a deep module.
  • Use existing stdlib primitives before adding runtime mechanics.
  • Keep pure decisions separate from host effects.
  • Route effects through harness.*.
  • Make idempotency and resume semantics explicit.
  • Persist checkpoints before expensive or irreversible stages.

Agent loops

  • Use agent_loop as the one agent entry point; use harness.llm.call or harness.llm.completion for one model request and leave interactive input and editor state to the host.
  • Build the flat AgentSpec with agent_options or agent_preset; accept its six named component records when a boundary needs only part of the contract.
  • Bound iterations, tool duration, concurrency, tokens, and cost.
  • Prefer structural progress and lifecycle events over prompt conventions.
  • Define completion against observable artifacts or receipts.
  • Use deterministic gates before model judges.
  • Put resilience in a composable llm_caller.
  • Keep a stable session id for durable work.
  • Use harness.agent for open, snapshot, fork, compact, inject, and lifecycle operations. Do not add a parallel ambient session API.
  • Treat stop, wait, stand-down, and pivot as lifecycle events.
  • Return AgentResult and project its producer-owned terminal.kind; hosts do not derive lifecycle state from text or transport stop reasons.

Read the full file on GitHub · 137 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 137 lines · 20 tokens per session scan A 24ee2f1c5d29

Subscribe to this mod's changes

harn-orchestration is a skill published in the GitHub repository burin-labs/harn (22 stars, last pushed today), licensed Apache-2.0. It adds 20 tokens to every session and 1,241 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.