Agent skill

Claude Code Harness

by hashgraph-online in hashgraph-online/awesome-codex-plugins

Design a real harness for an agentic system using Claude Code-inspired patterns.

MITAuto-check passedAgent Workflows

Install Claude Code Harness

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill claude-code-harness -a claude-code

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

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins claude-code-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/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/dadwadw233/claude-code-harness/skills/claude-code-harness .claude/skills/claude-code-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
claude-code-harness
GitHub stars
1.2k
Token cost
~1.3k tokens
SKILL.md length
654 words
Files
7 (incl. references)
Skills in repo
736
Repo updated
First seen
Licence
MIT

At a glance

Design a real harness for an agentic system using Claude Code-inspired patterns.

  • Works in 9 steps: Clarify whether the user needs a harness… → Define the harness boundary → Design request assembly before… → …
  • The user needs a harness blueprint
  • SKILL.md covers What to optimize for, Output contract, Workflow and Anti-patterns, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Claude Code Harness is an agent skill from hashgraph-online/awesome-codex-plugins. Design a real harness for an agentic system using Claude Code-inspired patterns. Use when the user needs a harness blueprint, request assembly design, execution loop, tool runtime, memory layering, permission model, transcript or recovery strategy, or wants to turn a vague agent idea into a harness-level architecture. Do not use for generic product brainstorming, simple prompt writing, or isolated code generation.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `agents/openai.yaml`, `references/claude-code-derived-insights.md` and `references/harness-blueprint-template.md`).

It sits in Agent Workflows, covering Authorization and RBAC and Brainstorming. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is MIT.

When your agent uses it

  • The user needs a harness blueprint
  • Request assembly design
  • Memory layering
  • Permission model

Example prompts

  • “/claude-code-harness”

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Clarify whether the user needs a harness at all
  2. Define the harness boundary
  3. Design request assembly before discussing autonomy
  4. Design the turn loop
  5. Treat tools as a runtime plane
  6. Treat memory as multiple layers
  7. Design safety and control into the runtime
  8. Design persistence and recovery
  9. End with implementation order

What it can do on your machine

Read from SKILL.md and the folder at commit 16b4156. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Claude Code Harness loads about 1.3k tokens when it runs, and up to ~3.4k if it reads all its reference files. Until then it costs about 109 tokens; SKILL.md has 654 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from hashgraph-online/awesome-codex-plugins at commit 16b4156, republished under its MIT licence (© hashgraph-online). 654 words, ~1,305 tokens.

Download SKILL.mdSave it as .claude/skills/claude-code-harness/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
claude-code-harness
description
Design a real harness for an agentic system using Claude Code-inspired patterns. Use when the user needs a harness blueprint, request assembly design, execution loop, tool runtime, memory layering, permission model, transcript or recovery strategy, or wants to turn a vague agent idea into a harness-level architecture. Do not use for generic product brainstorming, simple prompt writing, or isolated code generation.

Claude Code Harness

Design the harness, not just the agent prompt.

This skill helps turn an agent idea into a harness blueprint that specifies:

  • how a turn is assembled
  • how the execution loop runs
  • how tools are governed
  • how memory survives boundaries
  • how permissions and recovery are enforced
  • how the system stays understandable to humans

What to optimize for

Prefer harnesses that are:

  • explicit rather than magical
  • layered rather than blended
  • recoverable rather than one-shot
  • bounded rather than overpowered
  • product-useful rather than architecturally theatrical

Output contract

When this skill is active, default to a harness blueprint with these sections:

  1. System goal and delegation boundary
  2. Harness layers
  3. Request assembly design
  4. Turn loop design
  5. Tool and capability runtime
  6. Context and memory model
  7. Permissions and safety gates
  8. Transcript and recovery model
  9. Extension surfaces
  10. Implementation sequence

If the user is reviewing an existing design, lead with structural weaknesses and missing control planes.

Workflow

1. Clarify whether the user needs a harness at all

Start by answering:

  • what job is being delegated
  • what state must survive across steps or turns
  • whether the system needs tools, memory, recovery, or background work
  • what would break if the model were only called once

If the workflow does not need a harness, say so directly.

2. Define the harness boundary

Separate:

  • the model
  • the harness runtime
  • external tools and systems
  • durable storage
  • human operators

The harness is the layer that governs the model, not the model itself.

For a deeper framing, read references/harness-principles.md.

3. Design request assembly before discussing autonomy

Specify:

  • what instruction sources exist
  • which sources are durable versus per-turn
  • how system context and user context enter the request
  • how tool affordances are exposed
  • what transcript normalization or message repair is required before model calls

If request assembly is vague, the harness is still vague.

4. Design the turn loop

Make the loop explicit:

  • gather context
  • decide or plan
  • call tools or act
  • verify progress
  • continue, compact, escalate, or stop

Prefer a small, legible loop over a large “AI orchestration” story.

5. Treat tools as a runtime plane

For each tool or action surface, define:

  • purpose
  • invocation boundary
  • inputs and outputs
  • permission gates
  • success criteria
  • rollback or recovery story

Tools are not just capabilities. They are governance boundaries.

Show full SKILL.md (274 more words)Show less
6. Treat memory as multiple layers

Separate at least these concerns when relevant:

  • active turn context
  • retrieved grounding
  • working memory
  • durable user or project memory
  • summaries and compaction artifacts

Do not collapse memory into one implicit blob.

For reusable patterns, read references/harness-pattern-language.md.

7. Design safety and control into the runtime

Specify:

  • approval points
  • permission modes
  • destructive action gates
  • visibility into pending actions
  • interruption and override behavior

The harness should make power legible before it makes power scalable.

8. Design persistence and recovery

Make explicit:

  • what gets logged or transcripted
  • what survives a new turn
  • what survives a new session
  • how partial work is resumed
  • how compacted history preserves semantic continuity

If the system cannot recover from partial work, it is brittle.

9. End with implementation order

Translate the harness design into a build order:

  • what must exist first
  • what can be layered later
  • what should be validated early
  • what failure modes must be tested before expansion

Use references/harness-blueprint-template.md when a formal blueprint is required.

Anti-patterns

Push back on these designs:

  • prompt-only agents described as full systems
  • lots of tools but no runtime governance
  • memory with no boundaries or rewrite policy
  • hidden background work with no transcript or user visibility
  • retry loops with no stop conditions
  • permissions handled as an afterthought
  • extension systems added before the core loop is coherent

Style guidance

  • Be concrete about boundaries and data flow.
  • Name missing runtime planes explicitly.
  • Prefer fewer but stronger abstractions.
  • If the design is performative rather than useful, say so.

References

  • Core framing: references/harness-principles.md
  • Pattern language: references/harness-pattern-language.md
  • Blueprint format: references/harness-blueprint-template.md
  • Claude-derived lessons: references/claude-code-derived-insights.md

Load only the reference files you need and keep the final answer operational.

© hashgraph-online, MIT. 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 6 other files (references) in plugins/dadwadw233/claude-code-harness/skills/claude-code-harness of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • LICENSE.txt
  • agents/openai.yaml
  • references/claude-code-derived-insights.md
  • references/harness-blueprint-template.md
  • references/harness-pattern-language.md
  • references/harness-principles.md

Open the folder on GitHubat commit 16b4156

Compare with similar skills

Claude Code 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.

Claude Code Harness compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claude Code Harness this skillhashgraph-online/awesome-codex-plugins1.2k—~1.3kAutomated safety check: PassMIT
Brainstormingxpinjection/test-driven-spring-boot11254 repos~2.6kAutomated safety check: PassMIT
Cauracaura-ai/caura544—~6.2kAutomated safety check: PassApache-2.0
Brainstormbkywksj/knowledge-base330—~1.4kAutomated safety check: PassCustom licence
Agentsbutterbase-ai/butterbase-skills5341 repos~1.8kAutomated safety check: PassMIT
Fastmcp Serverdavila7/claude-code-templates32k—~1.9kAutomated safety check: PassMIT

Similar skills

  • Brainstorming

    xpinjection/test-driven-spring-boot

    You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.

    112 GitHub starsUsed in 54 repos~2.6k tokens
    Agent WorkflowsAuto-check passed
  • Caura

    caura-ai/caura

    The agent's persistent long-term memory — the only knowledge that survives across sessions, shared across the fleet under access control.

    544 GitHub stars~6.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Brainstorm

    bkywksj/knowledge-base

    当需要探索方案、头脑风暴、创意思维时自动使用此 Skill. An agent skill from bkywksj/knowledge-base.

    330 GitHub stars~1.4k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Agents

    butterbase-ai/butterbase-skills

    A skill your agent uses when designing, deploying, or debugging a Butterbase Agent (declarative LLM/tool graph), registering an MCP server for tool use, or wiring access controls and rate limits.

    534 GitHub starsUsed in 1 repo~1.8k tokens
    Agent WorkflowsAuto-check passed
  • Fastmcp Server

    davila7/claude-code-templates

    Complete guide for building MCP servers with FastMCP 3.0 - tools, resources, authentication, providers, middleware, and deployment.

    32k GitHub stars~1.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Lmstudio Subagents

    sundial-org/awesome-openclaw-skills

    Reduces token usage from paid providers by offloading work to local LM Studio models.

    663 GitHub stars~1.2k tokensUpdated 7 mo ago
    Agent WorkflowsAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 736 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.2k GitHub stars~922 tokensUpdated yesterday
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.2k GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.2k GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.2k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Calle

    hashgraph-online/awesome-codex-plugins

    Use CALL-E from Codex through the calle CLI. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.2k GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.2k GitHub stars~618 tokensUpdated yesterday
    Auto-check passed

Questions about Claude Code Harness

What does Claude Code Harness do?

Design a real harness for an agentic system using Claude Code-inspired patterns. Claude Code Harness is an agent skill from hashgraph-online/awesome-codex-plugins. Design a real harness for an agentic system using Claude Code-inspired patterns.

When should I use Claude Code Harness?

Claude Code Harness fits situations like: the user needs a harness blueprint; request assembly design; memory layering; permission model.

How do I install Claude Code Harness in Claude Code?

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

How do I install Claude Code Harness in Codex?

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

Can I use Claude Code 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 hashgraph-online/awesome-codex-plugins --skill claude-code-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/claude-code-harness, .gemini/skills/claude-code-harness, .github/skills/claude-code-harness and .opencode/skills/claude-code-harness in your project.

What does Claude Code Harness need to run?

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

Does Claude Code 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 Claude Code 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. Review the folder before installing.

What licence does Claude Code Harness use?

Claude Code Harness is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Claude Code Harness use?

About 1.3k tokens (SKILL.md is roughly 5.2k 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 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Claude Code Harness?

Skills that share tags, products or a category with Claude Code Harness: Brainstorming (xpinjection/test-driven-spring-boot, 112 stars), Caura (caura-ai/caura, 544 stars), Brainstorm (bkywksj/knowledge-base, 330 stars) and Agents (butterbase-ai/butterbase-skills, 534 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claude Code Harness?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,232 GitHub stars. The repository holds 736 skills in this directory. The repository was last updated on October 6, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.