harness

harness is a skill for Claude Code, Codex from griddynamics/rosetta. It costs 40 tokens per session (1,332 once invoked), scanned A, original, Apache-2.0.

A toolkit for building repeatable ways for an AI coding agent to run tasks, observe results, and verify its work.

In plain words
What is it for?
It helps build agent commands, MCP actions, development containers, skills, lifecycle hooks, and unattended workflows.
Why use it?
It turns repeated manual agent work into actions, environments, prompts, hooks, or automations that can be checked.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/griddynamics/rosetta/harness
Any agent
npx skills add griddynamics/rosetta --skill harness
Clone the repo
git clone --depth 1 https://github.com/griddynamics/rosetta

Made for: Claude Code, Codex.

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 harness

README.md
[![agentmods](https://agentmods.dev/badge/skills/griddynamics/rosetta/harness.svg)](https://agentmods.dev/skills/griddynamics/rosetta/harness)
Your own site
<a href="https://agentmods.dev/skills/griddynamics/rosetta/harness"><img src="https://agentmods.dev/badge/skills/griddynamics/rosetta/harness.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,332 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00040 $0.01332
Opus 5 $0.00020 $0.00666
Sonnet 5 $0.00008 $0.00266
Haiku 4.5 $0.00004 $0.00133

Measured yesterday against content hash 0e897d06a8ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

harness 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/tester.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

instructions/r3/core/skills/harness/SKILL.md · 83 lines

How it starts

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

Harness engineer. Build the apparatus that makes an agent's work runnable, provable, and repeatable — then prove it by running it.

<core_concepts>

  • All Rosetta prep steps MUST be FULLY completed, load-context skill loaded and fully executed
  • Prerequisites: USE SKILL hitl, orchestration, load-project-context
  • Harness = executable apparatus an agent uses to do the work and to prove it. Verification, plus the repeated work worth never doing by hand again. Faster because it is encoded once; better because it is proved every time. Not docs, not an API wrapper.
  • Five kinds, independent, often combined: ACTIONS — CLI/MCP/scripts against a running service · ENVIRONMENT — devcontainers running it locally · PROMPTING — skills and subagents an AI coding agent loads (Claude Code, Codex, Cursor, Copilot, Windsurf, Antigravity, Devin) · HOOKS — code those agents run at lifecycle events, whatever the model decides · AUTOMATIONS — work running without a human driving it: prevention, or autonomous execution.
  • Scope: what the agent runs to work and to verify — locally, and unattended. Not unit-test frameworks, not production tooling, not load testing.
  • Customizing what the plugin provides — repository prompts override it, so the user sees one, not two:
    • Skill, subagent, workflow, command → copy into the repository, then customize there via PROMPTING.
    • Rule → never copy. Write a new rule.
    • Hook → user disables the plugin's, then recreate it in the repository.
    • Small fix or addition → CONTEXT.md (business, process), ARCHITECTURE.md (technical, process), or AGENTS.md/CLAUDE.md. Terse and minimal, always.
    • Repository layout is per coding agent: APPLY SKILL FILE references/configure/<tool>.md.
  • Encodes tribal knowledge once — auth, secret loading, headers, naming, FK resolution, test-data markers. No rediscovery per session.
  • Trace = fixture for later automated tests. Verbose is the product, not noise.
  • Local or isolated by default. Shared or higher environment → HITL gate.
  • Secrets redacted on every output path.
  • This skill specifies and gates; coding-flow builds.

</core_concepts>

  1. Classify the gap: cannot run → ENVIRONMENT · cannot act or observe → ACTIONS · cannot author or prove a skill or subagent → PROMPTING · behavior must hold every time regardless of the model → HOOKS · nothing guards changes or advances work items unattended → AUTOMATIONS. Combine as needed. Ambiguous → ask.
  2. Discover before creating: ARCHITECTURE.md, TECHSTACK.md, DEPENDENCIES.md, CODEMAP.md, existing scripts, compose files, local-run assets, existing ## Harness. Extend, never fork.
  3. Propose placement inside the repo's own conventions. Never impose a path.
  4. Load the matching asset: ACTIONS → APPLY SKILL FILE assets/cli-mcp-scripts.md · ENVIRONMENT → APPLY SKILL FILE assets/devcontainers.md · PROMPTING → APPLY SKILL FILE assets/prompting.md · HOOKS → APPLY SKILL FILE assets/hooks.md · AUTOMATIONS → APPLY SKILL FILE assets/automations.md.
  5. Write the specification to FEATURE PLAN folder: kind, delivery shape, placement, action list or service set, target environment, dependency decisions, secret handling.
  6. HITL gate on that specification. Explicit approval before any code.
  7. USE FLOW coding-flow.md to implement. Hand over: specification, original intent, Q&A, environment boundary, redaction requirement. Load ONLY once pre-requisites are ready. PROMPTING authors text and scripts inline per its assets; coding-flow does not apply. HOOKS builds its script and config through the flow. AUTOMATIONS builds its definition through the flow, and authors its router prompt through the PROMPTING assets.
  8. Prove by execution: one action end-to-end, or environment up from a clean checkout. Written ≠ delivered.
  9. Record ## Harness in ARCHITECTURE.md: kind, entry command, covered areas, target environment, safety constraints. One MoSCoW sentence, no manual. Later additions repeat this process and append.

Read the full file on GitHub · 83 lines

Files

What ships with it

44 files 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. yesterday First seen · 83 lines · 40 tokens per session scan A 0e897d06a8ee

Subscribe to this mod's changes

harness is a skill published in the GitHub repository griddynamics/rosetta (342 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 1,332 once invoked, about $0.0002 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-09-03.