Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add leee880619-commits/ClaudeCode-Harness-Setup-Assistant/plugin install harness-architectWrote 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.
[](https://agentmods.dev/commands/leee880619-commits/claudecode-harness-setup-assistant/ops-audit)<a href="https://agentmods.dev/commands/leee880619-commits/claudecode-harness-setup-assistant/ops-audit"><img src="https://agentmods.dev/badge/commands/leee880619-commits/claudecode-harness-setup-assistant/ops-audit/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.
<a href="https://agentmods.dev/commands/leee880619-commits/claudecode-harness-setup-assistant/ops-audit"><img src="https://agentmods.dev/badge/commands/leee880619-commits/claudecode-harness-setup-assistant/ops-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.01677 |
| Opus 5 | $0.00035 | $0.00839 |
| Sonnet 5 | $0.00014 | $0.00335 |
| Haiku 4.5 | $0.00007 | $0.00168 |
Grade A, and why
ops-audit scanned grade A 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 9d 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 directorieslowAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- `{대상}/.claude/settings.json` Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Harness Ops Audit
💡 대부분의 경우
/harness-architect:audit통합 커맨드 사용을 권장합니다. 본 커맨드는 런타임 부채만 단독으로 보고 싶은 고급 사용자용입니다./harness-architect:audit은harness-audit+ 본 커맨드 +fit-audit을 병렬 실행해 단일 통합 보고서를 제공합니다.
기존 Claude Code 하네스의 런타임 가정·운영 부채·실패 복구 미비를 분석합니다. /harness-architect:harness-setup Phase 9가 "구조가 올바른가"를 검증하는 정적 구조 린터라면, 이 커맨드는 "실제 실행할 때 어디서 문제가 생기는가"에 집중한 사후 감사입니다.
범위 비교
| 측면 | Phase 9 final-validation | ops-audit |
|---|---|---|
| 실행 시점 | 신규 harness-setup 플로우 내부 (빌드 중) | 기존 하네스에 독립 실행 (빌드 후, 언제든) |
| 주 관심사 | 파일 존재·스키마 준수·보안 | 런타임 가정·운영 부채 |
| 대상 프로젝트 | harness-architect가 방금 생성한 하네스 | 과거에 생성된 하네스 (타 도구 생성 하네스 포함) |
| 출력 등급 | BLOCK/ASK/NOTE | RISK-HIGH/RISK-MED/RISK-LOW |
중복 항목(W4 절대 경로, W7 크로스 구조 중복)은 두 곳 모두에서 검사하되, 판정 충돌 시 ops-audit가 더 최신 상태이므로 우선합니다. (playbooks/final-validation.md #15·#16에 SSoT 주석 명시)
관련 커맨드 (See also)
| 커맨드 | 역할 | 실행 시점 | 출력 등급 |
|---|---|---|---|
/harness-architect:harness-setup |
신규 하네스 구축 (9-Phase) | 빌드 | BLOCK/ASK/NOTE |
/harness-architect:harness-audit |
구성 진단 (파일·권한·anti-pattern·에이전트-플레이북 매핑) | 기존 하네스 | CRITICAL/HIGH/MEDIUM/LOW |
/harness-architect:ops-audit (본 커맨드) |
런타임 감사 (세션 연속성·실패 복구·덮어쓰기·중복) | 기존 하네스 | RISK-HIGH/MED/LOW |
harness-audit와 ops-audit의 관계: 두 커맨드는 상호 보완적이다. harness-audit은 설계·구성 중심, ops-audit은 런타임·운영 중심. 사용자는 기존 하네스 점검 시 harness-audit → ops-audit 순서로 실행 권장 — 구성 문제를 먼저 해소한 후 운영 부채를 감사해야 RISK 판정의 정확도가 높아진다.
등급 체계 매핑 (RISK ↔ BLOCK)
RISK 등급은 red-team-advisor의 BLOCK/ASK/NOTE와 직접 대응되지 않는다. 의도된 차이:
RISK-HIGH≈ 시급 권장 (프로덕션 운영 시 실패·데이터 손실 가능) — 진행 중단은 아님. 이미 배포된 하네스를 BLOCK으로 멈출 수 없기 때문.RISK-MED≈ 개선 권장 (운영 고통 누적)RISK-LOW≈ 정보성 / 선택적 개선- red-team-advisor
BLOCK≈ Phase 진행을 막는 게이팅 역할 — 빌드 중에만 의미 있음. ops-audit은 사후 감사이므로 이에 대응하는 등급이 없음.
사용자는 두 보고서를 동시에 받을 때 "RISK-HIGH = 즉시 수정, BLOCK = 진행 불가"로 이해하면 된다.
Pre-flight Gate — harness 존재 여부 검증
커맨드 진입 즉시 대상 프로젝트의 하네스 설치 여부를 확인합니다:
$ARGUMENTS또는 AskUserQuestion으로 대상 프로젝트 절대 경로 수집- 다음 중 하나라도 존재하면 정상 감사 진행:
{대상}/CLAUDE.md{대상}/.claude/settings.json{대상}/.claude/agents/(파일 1개 이상){대상}/playbooks/(파일 1개 이상)
- 모두 미존재 시 AskUserQuestion으로 분기:
부분 감사 계속— .gitignore·README 등 파일만으로 최소 감사 수행 (출력에 "harness 미설치 — 부분 감사" 명시)먼저 harness-setup 실행—/harness-architect:harness-setup안내 후 종료취소— 종료
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.
- 9d ago First seen · 99 lines · 70 tokens per session scan A aaa354b3a52b
ops-audit is a command published in the GitHub repository leee880619-commits/ClaudeCode-Harness-Setup-Assistant (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 70 tokens to every session and 1,677 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A 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-31.
Other commands, from other repositories
ai-incident
Registrar y analizar incidentes donde recomendaciones de Savia fueron incorrectas.
arch-health
Salud arquitectónica — fitness functions, drift detection, coupling metrics.
get-flow-run
Inspect a Postman Flow run by its Run ID — per-block logs, failing block, and status.
t800-fix
A command for making a narrow, predefined fix to existing agents, skills, commands, rules, or hooks. A fix-pack is a file listing the exact changes to make.
debug
Systematic root-cause investigation, then fix with TDD — never proposes a fix before finding the cause; resumable diagnosis + regression test in .orc/ state. Workspace-aware. For a quick one-off look without session state, prefer the bundled /debug.
t800-doctor
A command that runs a scripts-only health report for a T-800 or target plugin setup. It reports the version, profile, memory location, state, item counts, always-applied items, and recent audits.