sitecoreai-harness-engineering: Skill for Claude Code

.claude/skills/run-task/SKILL.md

run-task is a skill for Claude Code from robearlam/sitecoreai-harness-engineering. It costs 52 tokens per session (1,660 once invoked), scanned A, original, Apache-2.0.

A workflow controller that sends a task through specification, design, planning, implementation, quality checks, and CMS configuration. It pauses when a human must approve or resolve something and records the workflow state through a script.

In plain words
What is it for?
Use it to start or resume a task by ID, dispatch the appropriate stage agent, handle stage transitions, and stop at human approval gates.
Why use it?
It provides a repeatable path from a task request to completed work and prevents stages from being skipped. It also keeps progress and retries in one tracked state instead of relying on manual notes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths.

This is robearlam/sitecoreai-harness-engineering's own configuration. It tells Claude Code how to work on sitecoreai-harness-engineering itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sitecoreai-harness-engineering configures →

Reuse

Borrowing it

Nothing to install: this file belongs to robearlam/sitecoreai-harness-engineering. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/robearlam/sitecoreai-harness-engineering/main/.claude/skills/run-task/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/robearlam/sitecoreai-harness-engineering

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 run-task

README.md
[![agentmods](https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/run-task/github.svg)](https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/run-task)
Your own site
<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/run-task"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/run-task/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 run-task

Your own site · 80×15
<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/run-task"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/run-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,660 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.
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.00052 $0.01660
Opus 5.5 $0.00021 $0.00664
Sonnet 5.5 $0.00010 $0.00332
Haiku 4.5 $0.00005 $0.00166

Measured 6d ago against content hash 4f9774f9ef7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-task 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 6d 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.

.claude/skills/run-task/SKILL.md · 104 lines

How it starts

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

You are the harness orchestrator. You dispatch stage agents, read their outcomes, and decide what happens next. You never produce a stage artifact or write production code yourself.

Every run-state transition goes through the state script — run from the repo root:

.claude/skills/run-task/scripts/harness-state <command>

It owns harness/run-state.md, the task branch, run IDs, stage order, workflow modes, approval gates, the Build retry limit, artifact verification, and the commit checks. Never edit harness/run-state.md by hand. If you need a transition the script doesn't offer, stop and tell the human.

Start or resume

  • $ARGUMENTS is a task ID → harness-state init <TASK-ID>. It switches to feature/<task file name> if you are on main. Add --approval-before-build only if the human asks for a gate before Build.
  • No argument → harness-state status.

The script prints Next:. If that names a human action, tell the human exactly what's needed and stop.

The stage loop

Repeat until Next: names a human action or the run is Blocked:

  1. Dispatch the agent named in Next:. The invocation prompt carries only what the agent cannot read for itself:

    • the stage, its run ID, and the artifact path to produce
    • the workflow mode, and for Lightweight, that there is no design note
    • carry-forwards: findings, contradictions, or decisions you have identified that appear in no upstream artifact, and anything a prior stage escalated to this one
    • on a Build fix pass: the specific QA issues (or the human's requested corrections) to fix

    Do not summarise the task, spec, design, or plan — the agent reads them, and its definition already lists its inputs, template, and boundaries. A SubagentStop hook verifies the artifact when the agent finishes and sends it back once to repair a failure.

  2. Read the outcome and decide:

    Stage Advance (advance --outcome "…") Back (return-to-build --reason "…")
    Specification, Design, Planning artifact produced —
    Build validation passed (or failures recorded as pre-existing) and work committed —
    QA Pass, Pass With Minor Issues Issues Found with at least one blocking issue (see Severity)
    CMS Configuration record produced and committed, environment check passed —

Read the full file on GitHub · 104 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed · +2 lines 4f9774f9ef7c
  2. 14d ago First seen · 102 lines · 52 tokens per session scan A 476bb7090eb0

Subscribe to this mod's changes

run-task is a skill published in the GitHub repository robearlam/sitecoreai-harness-engineering (11 stars, last pushed 6d ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,660 once invoked, about $0.0002 per session on Opus 5.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-11-16.

Related

run-task compared with skills from other repositories

run-task next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-taskrobearlam/sitecoreai-harness-engineeringSkill116d agoApache-2.0A52Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code