0xenzyme/agent-harness/execute

Claude Code and agent skill by 0xenzyme/agent-harness

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Execute accepted long-running controller or durable Harness work, or postflight-sync already tracked work; ordinary clear changes use the current host directly. / 执行主控长任务、持久化控制或已有状态同步。

Install

npx vskill@latest install 0xenzyme/agent-harness/execute

SKILL.md

Harness Execute

Delivery comes first. Choose the lightest execution path that can deliver and verify the accepted result. Process artifacts support delivery, recovery, or an explicit audit requirement; they are not deliverables in themselves.

Use this skill when accepted work needs durable recovery, audit, milestone acceptance, Run orchestration, multiple workers, persistent state sync, or high-risk control, or when already completed simple work needs bounded postflight sync to existing Harness state. A clear ordinary change/build request uses the current host directly without this skill.

Direct work needs only the delivered result and real verification. Do not create a Goal, Run, orchestration, gate, or status record, copy session logs, or write a process summary for it. Durable evidence is proportional to the need to verify delivery, resume interrupted work, or satisfy an explicit gate; do not duplicate native plans, transcripts, or worker narratives into repository artifacts.

Read Completion Evidence before accepting or recording durable completion. Read Host Execution Bridge before selecting direct, postflight, or durable execution. Read Host Capabilities before using runtime outcome, transient plan, or delegation. Read Artifact Lifecycle before compacting task state or pruning Runs. Read Worker Runner Contract before delegating any orchestration node or worker. Read Planned Execution Contract before validating a plan or accepting a planned candidate receipt.

Delivery and Orchestration Contract

Keep the structure compact. Do not turn a task prompt into a long procedure or repeat the full target contract in every node.

  • The target Goal/Milestone owns five things: the delivered outcome, global hard

constraints, whole-target verification, delivery authority, and the final report. Record them in Delivery Contract or the corresponding accepted Spec.

  • Nodes inherit all global constraints automatically. A node adds only its

dependencies, owned read/write scope, node-specific constraints, acceptance mapping, and verification checks. Optional plan constraints are local to that Task; they never replace target constraints.

  • Acceptance checks both positive outcomes and non-breakage: the requested

result works, and routes, integrations, compatibility, permissions, dependencies, and other declared hard constraints remain intact.

  • Node returns are compact controller inputs, not user-facing reports: result,

changed files, checks and results, affected constraints, State Sync Notes, remaining work, and any real user decision.

  • The controller gives one final result-first report: delivered outcome, key

changes, whole-target and constraint verification, actual external/delivery state, Need user, and Remaining. Do not require a separate report artifact unless the accepted target explicitly requests one.

Workflow

  1. Classify the request:
  • host-direct: stop Harness execution; let the current host execute, verify,

and deliver without lifecycle artifacts or durable evidence requirements.

  • host-direct-postflight: verify completed work and update existing

state only; create no lifecycle artifacts and do not apply durable completion gates.

  • durable-harness: continue below.

A prepared enforced Run always remains durable. Legacy aliases codex-direct and codex-direct-postflight remain readable.

  1. For durable work, read AGENTS.md, inspect .harness/config.json, and load

the configured adapter, accepted Spec/Goal, active Run, and required gates. If the manifest enforces a checkpoint, run run validate and run checkpoint show before any project action; follow its sole next action and prohibited-action list.

  1. Before creating, forking, or handing off a project session, or delegating a

worker, resolve work mode from the current user instruction, AGENTS.md, the accepted Spec/Goal, and .harness/config.json. Run worktree recommend for a Harness-managed project. If the result is ask or those sources conflict, pause for user direction before calling the host tool. Authorization to create a session or worker is not authorization to create a worktree. Do not pass host-specific starting checkout or session state unless the current user explicitly requests that specific existing Git state. Parallel-writer isolation is a reason to ask, not permission to override an unresolved work-mode decision.

  1. Controller means outcome owner and accepted-state owner. It may implement

foreground work. Select gate-only only when the user or accepted Goal explicitly says the controller only reviews evidence; otherwise use implementer for edits inside accepted scope.

  1. For accepted long-running controller work, establish or reuse a compatible

runtime outcome when the host exposes runtimeOutcome. Use the host transient plan for multi-step work. Do not emulate missing runtime capabilities with extra repository artifacts.

  1. Validate or create the repository Goal, then create or bind the smallest

useful execution plan and prepare a planned Run:

bash
node <plugin-root>/scripts/agent-harness.mjs goal validate --cwd <project> --goal <goal-file>
node <plugin-root>/scripts/agent-harness.mjs plan validate --cwd <project> --plan <target-file>.plan.json
node <plugin-root>/scripts/agent-harness.mjs run prepare --cwd <project> --goal <goal-file> --plan <target-file>.plan.json

Generate the plan from the accepted target rather than asking the user to hand-write JSON. Do not infer write ownership or verification inputs from vague prose; derive them from accepted scope or resolve a concrete gap. Use the fewest Tasks that preserve independent ownership, dependencies, and verification. Do not add generic explorer, implementer, or reviewer nodes. Add a final verification Task when implementation-node checks cannot prove the whole result or its hard constraints. A Milestone also requires distinct root stage verification. The target document's Execution Plan: line references its adjacent plan. Every Goal in a Milestone references the Milestone-adjacent plan; only a standalone single-Goal plan sits beside its Goal. Bind planned Goals to Checkpoint Policy: enforced. New durable Runs require manifest v2 and an explicit plan. Existing manifest v1 Runs remain readable and recoverable; --legacy is only an explicit migration/compatibility escape and is not a skill execution path. Goal dependencies gate Run preparation; Task dependencies gate node execution.

  1. Give ready orchestration nodes to the host when delegation is available.

Harness does not start workers, choose concurrency, cancel runtimes, or pin model/effort by default. Supply the inherited target constraints and only the node's additional contract. Record node ownership, verification, and candidate evidence before dependents run. Do not launch a dependent node before its recorded dependencies complete. Workers return candidate evidence and State Sync Notes; only the controller writes accepted Goal, Task, status, Run, or gate state. A reconciliation-required checkpoint permits authoritative inspection only. Contract drift moves the old Run through replan-required to a validated replacement and superseded; never rebind its manifest.

  1. Verify the accepted scope, hard constraints, and durable required gates.

Worker output remains candidate evidence until the accepted-state owner validates it. Before acceptance, challenge scope coverage, stale evidence, missing dependencies, path ownership, required checklist items, non-breakage of global constraints, and whether the user's Milestone/Goal objective is larger than the local artifact. Node checks do not replace whole-target verification.

  1. Confirm authoritative Task/Goal phase, verification, required gates, and

State Sync Notes. blocked is resumable and non-complete; Run state is evidence and status is a bounded projection.

  1. Synchronize the configured Goal/Task/status/Run state. Keep status bounded;

preview artifact compaction when configured limits are exceeded. Pruning is a separate explicit destructive action and never follows from state sync. Completion evidence must name changed files, commands/results, gate evidence, State Sync Notes, remaining work, and any true user decision.

  1. Close with the delivered result first, then key changes, whole-target and

hard-constraint verification, actual external/delivery state, Need user, and Remaining. Do not substitute process history for the delivery result.

One-Entry Controller Loop

For an accepted target, repeatedly call execute next --goal <goal-file> or execute next --milestone <milestone-file>. Act on the returned action, then read the next action again until it is done for the entire selected target. Keep the user's accepted target fixed across Goal closeouts and later turns. If the accepted target is a Milestone and execute next --milestone returns replan because its plan is absent, create and bind the Milestone-adjacent plan; do not replace the target with a child Goal. A Goal listed in an active Milestone routes back to that Milestone by default. --goal-slice is only for an explicit user instruction narrowing the accepted scope to that one Goal. After each child Goal closes, query execute next --milestone again before reporting completion. Optional checks or improvements outside required acceptance are separate follow-up work; they do not pause ready Milestone work. orient next with the target uses the same decision logic for read-only routing. Do not end a turn with a pure “continue?” question when an accepted next step is executable. Do not infer parent completion from a completed node or Run.

The stable next-action fields are action, target, goal, run, node, reason, checkpointRevision, requiredEvidence, and needUser. Actions are execute-node, wait, review-node, verify-node, sync, prepare-run, complete-goal, complete-milestone, reconcile, replan, need-user, and done. reconcile with needUser: null reports a non-user blocker; need-user names a concrete decision or authority gap. A complete-milestone action includes its anchor run and checkpointRevision; pass that revision to milestone complete.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/0xenzyme/agent-harness/execute/badge)](https://verified-skill.com/skills/0xenzyme/agent-harness/execute)

Something wrong with this skill or its page? Tell us.