pick-harness

pick-harness is a skill for Claude Code from digital-stoic-org/agent-skills. It costs 195 tokens per session (2,483 once invoked), scanned B, original, MIT.

A troubleshooting guide for choosing and scaffolding the next guardrail—an instruction or check that limits an agent's mistakes—after a known failure.

In plain words
What is it for?
Use it when an agent repeatedly does something wrong, when you need to stop a specific unwanted action, or when starting a task that needs a minimal set of checks.
Why use it?
It focuses on the smallest useful safeguard for the actual failure, helping prevent repeated errors without designing an unnecessarily large test system.

Skill for Claude Code

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

Part of the dstoic plugin — 14 skills shipped together

Good fit Use it when an agent repeatedly does something wrong, when you need to stop a specific unwanted action, or when starting a task that needs a minimal set of checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/digital-stoic-org/agent-skills/pick-harness
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 digital-stoic-org/agent-skills --skill pick-harness
Clone the repo
git clone --depth 1 https://github.com/digital-stoic-org/agent-skills

Made for: Claude Code.

Or install dstoic, the plugin that ships this one along with the rest of its 14 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/digital-stoic-org/agent-skills/pick-harness"><img src="https://agentmods.dev/badge/skills/digital-stoic-org/agent-skills/pick-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 195 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,483 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00195 $0.02483
Opus 5 $0.00097 $0.01241
Sonnet 5 $0.00039 $0.00497
Haiku 4.5 $0.00019 $0.00248

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

Security

Grade B, and why

pick-harness scanned grade B with 1 finding 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 10d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- 🔑 **Isolation and auth are coupled.** `--setting-sources ""` strips `~/.claude/settings.json`, often where the 3P auth env lives → the clean room silently kills its own auth (`apiKeySource:"none"` → "Not logged in").
dstoic/skills/pick-harness/SKILL.md · 82 lines

How it starts

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

Pick Harness

Friction-driven judge for which guardrail to add next — then scaffolds it. Sibling of /pick-model (the model) and /pick-workflow (the topology). Grows a harness one guardrail at a time to fit the real failure; never designs a full harness upfront. When: an agent keeps failing at X · you want to stop it doing Y · you're starting a task and want a minimal starter set.

Extends the repo's HARNESS-ENGINEERING.md (Böckeler/Fowler guides⏩ vs sensors⏪, computational⚙️ vs inferential🧠) with 2 axes (latency, timing) + 🧱 containment. Single source of truth for the which-guardrail call — don't re-derive the grid elsewhere. Worked examples, sandbox detail, drive-templates → reference.md.

Decision grid — 4 axes + 1 orthogonal

Axis Ask Values
Role Orient or inspect? 🪧 guide (persuades, bypassable) · 🚨 sensor (observes, returns a verdict)
Nature Deterministic or judgment? ⚙️ computational (code/regex/exit code) · 🧠 inferential (an LLM judges)
Timing Before or after damage? feedforward (preventive) · ⏪ feedback (corrective)
Latency Tokens burned before the catch? immediate (before generation) · 🐌 deferred (after the fact)
🧱 Containment (orthogonal) Makes the action impossible. Neither guides nor inspects — the 4 questions don't apply.

Feedback ladder (by latency): self-correction⚡ (test/lint, pre-commit) → human-review🧑 (at the PR) → pipeline🐌 (E2E agent-browser / LLM-judge, post-integration).

CORE PRINCIPLE — classify by LATENCY, not sophistication. Prescribe the earliest catch that fits, not the fanciest. The best sensor makes the bug unrepresentable (newtype Seconds ≠ Millis → a whole bug class becomes a compile error, free forever). A cheap ⚡ guard beats a clever 🐌 one.

Flow — diagnose → prescribe → scaffold

  1. Classify input. Friction ("X keeps failing") → the ONE next guardrail (default). Task ("starting X") → a minimal starter set (≈1 feedforward guide + 1 containment), not a full harness.
  2. Diagnose — reason across all 4 axes at once (they interact): preventable before the act → ⏩guide, else ⏪sensor · a rule/regex/exit-code decides → ⚙️computational, else semantic → 🧠inferential · can it be made impossible/unrepresentable? → 🧱 containment (type/schema/sandbox/permission-deny), the earliest catch there is — prefer it when available.
  3. Prescribe one grid point + honest latency/cost rationale: why this catch-point, not an earlier (impossible?) or later (wastes tokens?) one.
  4. Scaffold the artifact, then self-check: dry-run it in the sandbox mode the rule below selects (--safe-mode unless a carve-out applies), report whether it fires on the failing case. A deterministic artifact (script/filter) dry-runs against a synthetic fixture — no model call, no auth needed.

Read the full file on GitHub · 82 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. 10d ago First seen · 82 lines · 195 tokens per session scan B 6d9a7a20f4bd

Subscribe to this mod's changes

pick-harness is a skill published in the GitHub repository digital-stoic-org/agent-skills (20 stars, last pushed 4d ago), licensed MIT. It adds 195 tokens to every session and 2,483 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens