harness

harness is a skill for Claude Code from bam-bam-2/solo-skills. It costs 201 tokens per session (8,421 once invoked), scanned A, a copy of harness, MIT.

A meta-workflow for designing and maintaining a team of specialized coding agents and the skills they use.

In plain words
What is it for?
Auditing an existing setup, creating agents and skills, choosing how work is divided, updating orchestration, and recording the setup in CLAUDE.md.
Why use it?
It helps keep agent roles, reusable instructions, and project documentation aligned as the project changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the solo-skills plugin — 26 skills shipped together

Good fit Auditing an existing setup, creating agents and skills, choosing how work is divided, updating orchestration, and recording the setup in CLAUDE.md.

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

Made for: Claude Code.

Or install solo-skills, the plugin that ships this one along with the rest of its 26 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 harness

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bam-bam-2/solo-skills/harness"><img src="https://agentmods.dev/badge/skills/bam-bam-2/solo-skills/harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 201 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,421 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 88% copy Near-identical to another mod 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.00201 $0.08421
Opus 5 $0.00101 $0.04210
Sonnet 5 $0.00040 $0.01684
Haiku 4.5 $0.00020 $0.00842

Measured 12d ago against content hash 9853bab296b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 12d 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.

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.

Origin

This is a copy

88% identical to harness — 36 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/harness/SKILL.md · 456 lines

How it starts

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

Harness — Agent Team & Skill Architect

도메인/프로젝트에 맞는 하네스를 구성하고, 각 에이전트의 역할을 정의하며, 에이전트가 사용할 스킬을 생성하는 메타 스킬.

핵심 원칙:

  1. 에이전트 정의(.claude/agents/)와 스킬(.claude/skills/)을 생성한다.
  2. 에이전트 팀을 기본 실행 모드로 사용한다.
  3. CLAUDE.md에 하네스 포인터를 등록한다. — 새 세션에서 오케스트레이터 스킬이 트리거되도록 최소한의 포인터(트리거 규칙 + 변경 이력)만 기록한다.
  4. 하네스는 고정물이 아니라 진화하는 시스템이다. — 매 실행 후 피드백을 반영하고, 에이전트·스킬·CLAUDE.md를 지속 갱신한다.

워크플로우

Phase 0: 현황 감사

하네스 스킬이 트리거되면 가장 먼저 기존 하네스 현황을 확인한다.

  1. 프로젝트/.claude/agents/, 프로젝트/.claude/skills/, 프로젝트/CLAUDE.md를 읽는다

  2. 현황에 따라 실행 모드를 분기한다:

    • 신규 구축: 에이전트/스킬 디렉토리가 없거나 비어있음 → Phase 1부터 전체 실행
    • 기존 확장: 기존 하네스가 있고 새 에이전트/스킬 추가 요청 → 아래 Phase 선택 매트릭스에 따라 필요한 Phase만 실행
    • 운영/유지보수: 기존 하네스의 감사·수정·동기화 요청 → Phase 7-5 운영/유지보수 워크플로우로 이동

    기존 확장 시 Phase 선택 매트릭스:

    변경 유형 Phase 1 Phase 2 Phase 3 Phase 4 Phase 5 Phase 6
    에이전트 추가 건너뜀 (Phase 0 결과 활용) 배치 결정만 필수 전용 스킬 필요 시 오케스트레이터 수정 필수
    스킬 추가/수정 건너뜀 건너뜀 건너뜀 필수 연결 변경 시 필수
    아키텍처 변경 건너뜀 필수 영향받는 에이전트만 영향받는 스킬만 필수 필수
  3. 기존 에이전트/스킬 목록과 CLAUDE.md 기록을 대조하여 불일치(drift)를 감지한다

  4. 감사 결과를 사용자에게 요약 보고하고, 실행 계획을 확인받는다

Phase 1: 도메인 분석

  1. 사용자 요청에서 도메인/프로젝트 파악
  2. 핵심 작업 유형 식별 (생성, 검증, 편집, 분석 등)
  3. Phase 0 감사 결과를 기반으로 기존 에이전트/스킬과의 충돌/중복 분석
  4. 프로젝트 코드베이스 탐색 — 기술 스택, 데이터 모델, 주요 모듈 파악
  5. 사용자 숙련도 감지 — 대화의 맥락 단서(사용 용어, 질문 수준)로 기술 수준을 파악하고, 이후 커뮤니케이션 톤을 조절한다. 코딩 경험이 적은 사용자에게는 "assertion", "JSON schema" 같은 용어를 설명 없이 쓰지 않는다.

Phase 2: 팀 아키텍처 설계

2-1. 실행 모드 선택

에이전트 팀이 최우선 기본값이다. 2개 이상의 에이전트가 협업할 때는 반드시 에이전트 팀을 먼저 검토한다. 팀원 간 직접 통신(SendMessage)과 공유 작업 목록(TaskCreate)으로 자체 조율하며, 발견 공유·상충 토론·누락 보완이 결과 품질을 높인다.

모드 언제 사용 특성
에이전트 팀 (기본) 2명 이상 협업, 실시간 조율·피드백 교환이 필요, 중간 산출물 상호 참조 TeamCreate + SendMessage + TaskCreate로 자체 조율
서브 에이전트 (대안) 단일 에이전트 작업, 결과만 메인에 반환하면 충분, 팀 통신 오버헤드가 과할 때 Agent 도구 직접 호출, run_in_background로 병렬
하이브리드 Phase마다 특성이 다를 때 — 예: 병렬 수집(서브) → 합의 기반 통합(팀) Phase 단위로 팀/서브를 섞어 구성

Read the full file on GitHub · 456 lines

Files

What ships with it

6 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. 12d ago First seen · 456 lines · 201 tokens per session scan A 9853bab296b0

Subscribe to this mod's changes

harness is a skill published in the GitHub repository bam-bam-2/solo-skills (362 stars, last pushed 8d ago), licensed MIT. It adds 201 tokens to every session and 8,421 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to harness, differing in 36 lines, and is treated as a copy.