harness-setup

harness-setup is a skill for Claude Code, Codex from hmj1026/dhpk. It costs 53 tokens per session (1,146 once invoked), scanned A, original, MIT.

A setup workflow for inspecting or configuring the coding-agent harness, including its optional review gate and supported host assets. A harness is the files and tools that connect an agent to a project and control its setup.

In plain words
What is it for?
Use it to view effective setup, initialize the optional Review Gate, or install selected assets for the detected host environment. It returns a host-specific setup report with evidence.
Why use it?
It keeps setup changes explicit and records what was preserved, installed, or confirmed. It avoids silently changing credentials, authority, or unrelated project configuration.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions Codex; $skill-name invocation.

Part of the dhpk plugin — 39 skills, 1 command, 1 agent, 3 hooks shipped together

Good fit Use it to view effective setup, initialize the optional Review Gate, or install selected assets for the detected host environment. It returns a host-specific setup report with evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmj1026/dhpk/harness-setup
View source ↗ hmj1026/dhpk
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.

Any agent
npx skills add hmj1026/dhpk --skill harness-setup
Clone the repo
git clone --depth 1 https://github.com/hmj1026/dhpk

Made for: Claude Code, Codex.

Or install dhpk, the plugin that ships this one along with the rest of its 39 skills, 1 command, 1 agent, 3 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hmj1026/dhpk/harness-setup"><img src="https://agentmods.dev/badge/skills/hmj1026/dhpk/harness-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,146 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.00053 $0.01146
Opus 5.5 $0.00021 $0.00458
Sonnet 5.5 $0.00011 $0.00229
Haiku 4.5 $0.00005 $0.00115

Measured yesterday against content hash 45b75c9d574a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

harness-setup 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 4 executable files (scripts/install-assets.sh, scripts/install-codex-project.sh, scripts/lib/install-assets-writer.sh, …), 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.

generated/claude-marketplace/package/skills/harness-setup/SKILL.md · 106 lines

How it starts

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

Harness Setup

$harness-setup is the explicit setup capability behind the Claude /dhpk:setup front door. It owns setup and configuration evidence; it does not silently broaden a host's authority or invent a second installer.

When to Use

  • The operator explicitly requests $harness-setup or /dhpk:setup.
  • The operator wants to inspect effective setup with --show.
  • The operator explicitly selects a host-supported asset installation group.

When NOT to Use

  • Harness scoring, budget analysis, trimming, or cross-platform synchronization: these retired optional tools are outside the setup contract.
  • Application code, ordinary configuration edits, or credentials not covered by the host setup procedure.
  • A request that supplies a new --host selector. Host is detected from the current runtime; do not add a public host flag.

Host and resource resolution

  1. Detect the current Host from the native invocation context and available tools. A Claude command context selects the Claude adapter; a Codex project-local skill context selects the Codex adapter. If the context is ambiguous, stop BLOCKED with HOST_UNRESOLVED rather than guessing.
  2. Load exactly one package-local adapter reference: Claude setup or Codex setup. A missing reference or declared runtime asset is BLOCKED_RESOURCE_MISSING; do not scan ambient checkouts or remote URLs for a replacement.
  3. Preserve the caller's argument string. The accepted grammar is the argument-hint above; unknown options are BLOCKED. --source-artifact is explicit task input for asset or Codex installation; it is never inferred from a checkout, plugin cache, parent directory, or sibling Skill.

The adapter references, executable wrappers, and procedure resources are Skill-local. scripts/install-assets.sh and scripts/install-codex-project.sh resolve their physical helpers from their own BASH_SOURCE; they execute no adapter selected from the source artifact. The source artifact supplies bytes and manifests only. A missing local helper is BLOCKED_RESOURCE_MISSING; a missing or invalid explicit artifact is SOURCE_ARTIFACT_REQUIRED or SOURCE_ARTIFACT_INVALID.

Read the full file on GitHub · 106 lines

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 Changed · +2 lines 45b75c9d574a
  2. 10d ago Changed · -4 lines · -6 tokens per session 372382160a86
  3. 21d ago Changed · +3 lines 3dd672d76692
  4. 23d ago First seen · 105 lines · 59 tokens per session scan A b4f8c048f155

Subscribe to this mod's changes

harness-setup is a skill published in the GitHub repository hmj1026/dhpk (2 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 1,146 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-09-24.

Related

Other skills, from other repositories

add-teams

Adds Microsoft Teams connector to a Power Apps code app. Use when sending Teams messages, posting to channels, or integrating with Teams chat.

microsoft/power-platform-skills · 31 tokens

relations

OPS on-demand: This skill should be used when the user asks to "who do I owe a reply", "relationship…

Lifecycle-Innovations-Limited/claude-ops · 27 tokens

alive:world

The human doesn't know what to work on, or wants to see everything at once. They need the big picture — what's active, what's stale, what needs attention. Renders a live world view grouped by ALIVE domain, then routes to open, tidy, find, history, or map.

alivecontext/alive · 63 tokens

figure-out

Figure things out together — any topic, problem, or idea. Presses relentlessly until shared understanding is reached. Use when understanding is the deliverable rather than a preamble to acting, when figuring it out is the goal, or when the user asks to think through a decision, dig deeper, press an assumption…

doodledood/manifest-dev · 78 tokens

cli

Type-safe CLI argument parsing with commander and @commander-js/extra-typings, the standard parser for this repo's Bun scripts. Use when writing or editing any script that takes arguments (flags, positional parameters, subcommands, nested subcommands, --help) instead of reading existing scripts for the pattern.

bendrucker/claude · 65 tokens

promote

Turn a scratch script into a permanent tool this repo keeps. Use when a check, report, or analysis has proved worth running more than once.

ArcticFox2029/chamnan · 29 tokens