Agent skill

Harness

by griddynamics in griddynamics/rosetta

To build an AI harness: run, observe, validate, automate repeated work faster — CLI/MCP actions, devcontainers, skills, subagents, hooks, pipelines, automations.

Apache-2.0Auto-check passedAgent Workflows

Install Harness

skills CLI
$ npx skills add griddynamics/rosetta --skill harness -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install griddynamics/rosetta harness --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/griddynamics/rosetta.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/core-claude/skills/harness .claude/skills/harness && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
harness
GitHub stars
354
Token cost
~1.5k tokens
SKILL.md length
770 words
Files
54 (incl. scripts, references, assets)
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

To build an AI harness: run, observe, validate, automate repeated work faster — CLI/MCP actions, devcontainers, skills, subagents, hooks, pipelines, automations.

  • Works in 9 steps: Classify the gap: cannot run →… → Discover before creating:… → Propose placement inside the repo's own… → …
  • Tasks that involve Subagents

What it does

Harness is an agent skill from griddynamics/rosetta. To build an AI harness: run, observe, validate, automate repeated work faster — CLI/MCP actions, devcontainers, skills, subagents, hooks, pipelines, automations.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 56 other files, including scripts, reference files and assets (for example `README.md`, `assets/automations-security.md` and `assets/automations.md`).

It sits in Agent Workflows, covering Subagents. It works with Model Context Protocol. The repository describes itself as: An instruction layer for AI coding agent. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Subagents

Example prompts

  • “/harness”

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Classify the gap: cannot run → ENVIRONMENT · cannot act or observe → ACTIONS · cannot author or prove a skill or subagent → PROMPTING ·…
  2. Discover before creating: ARCHITECTURE.md, TECHSTACK.md, DEPENDENCIES.md, CODEMAP.md, existing scripts, compose files, local-run assets…
  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 ·…
  5. Write the specification to FEATURE PLAN folder: kind, delivery shape, placement, action list or service set, target environment…
  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…
  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…

What it can do on your machine

Read from SKILL.md and the folder at commit 5441232. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Harness loads about 1.5k tokens when it runs, and up to ~665k if it reads all its reference files. Until then it costs about 42 tokens; SKILL.md has 770 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~665k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from griddynamics/rosetta at commit 5441232, republished under its Apache-2.0 licence (© griddynamics). 770 words, ~1,480 tokens.

Download SKILL.mdSave it as .claude/skills/harness/SKILL.md (or your agent's skills folder). This skill also uses 53 other files; get the full folder from GitHub.
name
harness
description
To build an AI harness: run, observe, validate, automate repeated work faster — CLI/MCP actions, devcontainers, skills, subagents, hooks, pipelines, automations.
license
Apache-2.0
baseSchema
docs/schemas/skill.md
<harness>
<role>

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

</role>

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

<process>
  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.
Show full SKILL.md (233 more words)Show less
</process>

<validation_checklist>

  • An action ran and printed a real request/response pair from a live service.
  • Environment started from a clean checkout using only its own documented commands.
  • grep over captured output finds no live credential.
  • Every shared dependency carries a recorded user decision: consume, contain, exclude.
  • ## Harness names an entry command a fresh session runs unaided.
  • An automated test is writable from the trace alone, without re-reading the service source.
  • A trigger ran and the transcript shows the intended file was read, not recalled.
  • A hook fired on its event, and the log shows the invocation the runtime actually made.
  • An automation ran a fixture item through every state, stopped at its human task, and refused a crafted instruction.

</validation_checklist>

<pitfalls>
  • One command per endpoint — pushes sequencing and conventions back into the agent's head.
  • Mocking every dependency: costly, unfaithful, hides the failures worth catching.
  • Runs only on the author's machine — absolute paths, personal credentials, undocumented steps.
  • Trace floods context; curate fields, never dump.
  • Actions pointed at a shared environment without asking.
  • Secrets as CLI arguments — shell history, process listings.
  • Declared done after writing, never executed.
  • One green run reported as proof.
  • A hook wired for one agent and claimed for all — the wire contract differs per agent.
  • An automation whose only visible output is the end result — nothing a human can intervene in.
  • Guardrails left inside the agent's own write reach.
</pitfalls>
</harness>

© griddynamics, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 53 other files (scripts, references, assets) in plugins/core-claude/skills/harness of griddynamics/rosetta.

  • SKILL.md
  • README.md
  • assets/automations-security.md
  • assets/automations.md
  • assets/cli-mcp-scripts.md
  • assets/devcontainers.md
  • assets/hooks.md
  • assets/prompting-proof.md
  • assets/prompting-writing.md
  • assets/prompting.md
  • references/configure/antigravity.md
  • references/configure/claude-code.md
  • references/configure/codex.md
  • references/configure/cursor.md
  • references/configure/github-copilot.md
  • references/configure/jetbrains-junie.md
  • references/configure/opencode.md
  • references/configure/windsurf.md
  • … and 36 more

Open the folder on GitHubat commit 5441232

Compare with similar skills

Harness next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Harness compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Harness this skillgriddynamics/rosetta354—~1.5kAutomated safety check: PassApache-2.0
Claude Automation Recommenderanthropics/claude-plugins-official38k3 repos~2.7kAutomated safety check: NotesApache-2.0
Agent Deckasheshgoplani/agent-deck1k—~1.7kAutomated safety check: PassMIT
CC Workflow Studio AI Editorbreaking-brake/cc-wf-studio5.4k—~561Automated safety check: PassCustom licence
Clone App Pat Proper-simmons/clone-app-pat-pro-public259—~1.9kAutomated safety check: NotesNone
Bootstrapinfragate/capa724—~5.9kAutomated safety check: PassMIT

Similar skills

  • Claude Automation Recommender

    anthropics/claude-plugins-official

    Official

    Scans a codebase and suggests which Claude Code hooks, subagents, skills, plugins and MCP servers fit its stack, without changing any files.

    38k GitHub starsUsed in 3 repos~2.7k tokens
    Agent WorkflowsAuto-check: notes
  • Agent Deck

    asheshgoplani/agent-deck

    agent-deck, the terminal session manager for AI coding agents.

    1k GitHub stars~1.7k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • CC Workflow Studio AI Editor

    breaking-brake/cc-wf-studio

    Creates and edits visual agent workflows in CC Workflow Studio through conversation, with the agent reading and writing the canvas over MCP.

    5.4k GitHub stars~561 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Clone App Pat Pro

    per-simmons/clone-app-pat-pro-public

    Clones any web app pixel-for-pixel from a URL. An agent skill from per-simmons/clone-app-pat-pro-public.

    259 GitHub stars~1.9k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check: notes
  • Bootstrap

    infragate/capa

    Capify an existing project. An agent skill from infragate/capa.

    724 GitHub stars~5.9k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • Puppetmaster Agent Orchestration

    professorpalmer/Puppetmaster

    Operates and supervises Puppetmaster, a multi-agent orchestrator, through its MCP tools or CLI, picking the right verb for edits, reviews, audits and long-running jobs.

    467 GitHub stars~3.2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from griddynamics/rosetta

All 12 skills in this repo
  • Collect GitHub Stats

    griddynamics/rosetta

    Collect GitHub repo health/usage stats into merged JSON. An agent skill from griddynamics/rosetta.

    354 GitHub stars~415 tokensUpdated 8 days ago
    Auto-check passed
  • External Lib Flow

    griddynamics/rosetta

    Workflow for onboarding an external private library so AI can use it without source access.

    354 GitHub stars~1.5k tokensUpdated 8 days ago
    Auto-check passed
  • Specflow Use

    griddynamics/rosetta

    To connect Rosetta with Grid Dynamics SpecFlow MCP; only when SpecFlow is mentioned and the MCP is installed.

    354 GitHub stars~780 tokensUpdated 8 days ago
    Auto-check passed
  • Coding Agents Farm

    griddynamics/rosetta

    To orchestrate parallel coding-agent farms (Claude, Codex, Copilot, Gemini, etc.) on isolated git worktrees.

    354 GitHub stars~2.4k tokensUpdated 8 days ago
    Auto-check passed
  • Coding Agents Hooks Authoring

    griddynamics/rosetta

    To author, register, and test Rosetta hooks, add a SemanticKind, or debug a hook that won't fire.

    354 GitHub stars~1.4k tokensUpdated 8 days ago
    Auto-check passed
  • Compress Prompt

    griddynamics/rosetta

    Compress a Rosetta KB prompt artifact (skill · workflow · phase · rule · agent · template · generic) by stripping structural tautology and ineffective scaffolding while preserving every…

    354 GitHub stars~2.2k tokensUpdated 8 days ago
    Auto-check passed

Questions about Harness

What does Harness do?

To build an AI harness: run, observe, validate, automate repeated work faster — CLI/MCP actions, devcontainers, skills, subagents, hooks, pipelines, automations. Harness is an agent skill from griddynamics/rosetta. To build an AI harness: run, observe, validate, automate repeated work faster — CLI/MCP actions, devcontainers, skills, subagents, hooks, pipelines, automations.

When should I use Harness?

Harness fits situations like: tasks that involve Subagents.

How do I install Harness in Claude Code?

Run `npx skills add griddynamics/rosetta --skill harness -a claude-code`. Or copy the skill folder (plugins/core-claude/skills/harness in griddynamics/rosetta) into .claude/skills/harness in your project. Claude Code loads it when a task matches its description.

How do I install Harness in Codex?

Run `npx skills add griddynamics/rosetta --skill harness -a codex`. Or copy the skill folder (plugins/core-claude/skills/harness in griddynamics/rosetta) into .agents/skills/harness in your project. Codex loads it when a task matches its description.

Can I use Harness in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add griddynamics/rosetta --skill harness -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/harness, .gemini/skills/harness, .github/skills/harness and .opencode/skills/harness in your project.

What does Harness need to run?

SKILL.md names no scripts, command-line tools or credentials: Harness is instructions for the agent only.

Does Harness access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Harness safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Harness use?

Harness is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Harness use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 663k tokens, read only when the agent opens those files.

What are the alternatives to Harness?

Skills that share tags, products or a category with Harness: Claude Automation Recommender (anthropics/claude-plugins-official, 38k stars), Agent Deck (asheshgoplani/agent-deck, 1k stars), CC Workflow Studio AI Editor (breaking-brake/cc-wf-studio, 5.4k stars) and Clone App Pat Pro (per-simmons/clone-app-pat-pro-public, 259 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Harness?

griddynamics (a GitHub organization) maintains it in griddynamics/rosetta, which has 354 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on September 29, 2026.

Source: griddynamics/rosetta on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.