Agent skill

Harness Audit

by Stanshy in Stanshy/AgentHub

Periodic Harness health audit based on 7 design principles. An agent skill from Stanshy/AgentHub.

MITAuto-check: notesAgent Workflows

Install Harness Audit

skills CLI
$ npx skills add Stanshy/AgentHub --skill harness-audit -a claude-code

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

GitHub CLI
$ gh skill install Stanshy/AgentHub harness-audit --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/Stanshy/AgentHub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.knowledge/company/skill-templates/harness-audit .claude/skills/harness-audit && 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
harness-audit
GitHub stars
202
Token cost
~390 tokens
SKILL.md length
100 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Periodic Harness health audit based on 7 design principles. An agent skill from Stanshy/AgentHub.

  • Tasks that involve Skill authoring
  • SKILL.md covers 使用方式, 參數, 檢查項目(七大原則) and 輸出格式
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Harness Audit is an agent skill from Stanshy/AgentHub. Periodic Harness health audit based on 7 design principles

Its SKILL.md is about 390 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Skill authoring. The repository describes itself as: One person, one software company. Manage 47 AI agents from a single Electron app — with Harness Engineering (Skills + Hooks + FileWatchers) for disciplined, traceable AI workflows. The licence is MIT.

When your agent uses it

  • Tasks that involve Skill authoring

Example prompts

  • “/harness-audit”

Requirements

  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Bash

What it can do on your machine

Read from SKILL.md and the folder at commit 5300820. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • Bash

    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

Harness Audit loads about 390 tokens when it runs. Until then it costs about 18 tokens; SKILL.md has 100 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~18
When it runs · the whole SKILL.md, loaded when a task matches
~390

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Glob, Grep, Bash

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 Stanshy/AgentHub at commit 5300820, republished under its MIT licence (© Stanshy). 100 words, ~390 tokens.

Download SKILL.mdSave it as .claude/skills/harness-audit/SKILL.md (or your agent's skills folder).
name
harness-audit
description
Periodic Harness health audit based on 7 design principles
allowed-tools
Read, Glob, Grep, Bash

Harness 健康審計

週期性檢查專案 Harness(CLAUDE.md + Hook + Skill + Knowledge)的健康狀態。

使用方式

/harness-audit

參數

無(操作當前專案)

檢查項目(七大原則)

原則 1: 上下文架構(給地圖不給百科全書)
  • CLAUDE.md 行數 ≤ 100(超過 = 警告)
  • CLAUDE.md 有文件索引且索引完整
  • .knowledge/ 文件都在索引中登記
原則 2: 架構約束(用工具強制不靠 prompt)
  • 掃描 CLAUDE.md 中的「禁止」「不得」等文字規則
  • 檢查是否有對應 Hook 強制(.claude/settings.json)
  • 未被 Hook 覆蓋的文字規則列出建議
原則 3: 知識層級(公司 vs 專案)
  • .knowledge/company-rules.md 存在
  • .knowledge/team-workflow.md 存在
  • 專案級規範與公司級不衝突
原則 4: 技能即流程(Skill 覆蓋)
  • ~/.claude/commands/ 或 .claude/commands/ 目錄存在且有 skill 檔案
  • 掃描已部署的 Skill 數量
  • 列出未部署但可用的公司 Skill(對照 AgentHub skill-templates/)
原則 5: Hook 健康
  • .claude/settings.json 存在且 JSON 合法
  • Stop hook 存在
  • PreToolUse hook 存在(forbidden-commands)
  • Hook 腳本檔案存在且可執行
原則 6: 文件新鮮度
  • .knowledge/ 下各文件最後修改日期
  • 超過 30 天未更新的文件標記為「可能過時」
原則 7: 整體評分
  • 每個原則 0-2 分(0=缺失, 1=部分, 2=完善)
  • 總分 /14,≥10 = 健康,7-9 = 需改善,<7 = 警告

輸出格式

# Harness 健康審計報告

**專案**: {project-name}
**日期**: {today}
**總分**: {score}/14

## 評分明細
| 原則 | 分數 | 說明 |
|------|------|------|
| 1. 上下文架構 | {0-2} | {detail} |
| 2. 架構約束 | {0-2} | {detail} |
| 3. 知識層級 | {0-2} | {detail} |
| 4. 技能覆蓋 | {0-2} | {detail} |
| 5. Hook 健康 | {0-2} | {detail} |
| 6. 文件新鮮度 | {0-2} | {detail} |
| 7. 整體完整性 | {0-2} | {detail} |

## 行動項目
1. {highest priority action}
2. {second priority action}
...

© Stanshy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .knowledge/company/skill-templates/harness-audit of Stanshy/AgentHub.

Open the folder on GitHubat commit 5300820

Compare with similar skills

Harness Audit 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.

Harness Audit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Harness Audit this skillStanshy/AgentHub202—~390Automated safety check: NotesMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k11 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official38k10 repos~4.8kAutomated safety check: PassApache-2.0
Claude Code Plugin Structureanthropics/claude-plugins-official38k10 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 11 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    38k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    67k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from Stanshy/AgentHub

All 23 skills in this repo
  • Dev Plan

    Stanshy/AgentHub

    Generate a development plan with task breakdown and section 10 tracking tables

    202 GitHub stars~686 tokensUpdated 6 mo ago
    Auto-check: notes
  • Knowledge Feedback

    Stanshy/AgentHub

    Scan child projects for pitfalls and propose company standard updates

    202 GitHub stars~549 tokensUpdated 6 mo ago
    Auto-check: notes
  • Product Diagnosis

    Stanshy/AgentHub

    Six-question diagnostic framework for G0 pre-check — validate product direction before development starts

    202 GitHub stars~690 tokensUpdated 6 mo ago
    Auto-check passed
  • Project Kickoff

    Stanshy/AgentHub

    Initialize new project with CLAUDE.md, .knowledge/ structure, company rules, and git

    202 GitHub stars~528 tokensUpdated 6 mo ago
    Auto-check: notes
  • Review

    Stanshy/AgentHub

    L1 internal review with auto-detection, design comparison, and Gate escalation path

    202 GitHub stars~854 tokensUpdated 6 mo ago
    Auto-check: notes
  • Sop Plan

    Stanshy/AgentHub

    L1 計畫模式 SOP — 強制上下文載入 + Plan Mode 評估 + 任務拆解. An agent skill from Stanshy/AgentHub.

    202 GitHub stars~437 tokensUpdated 6 mo ago
    Auto-check: notes

Categories

Questions about Harness Audit

What does Harness Audit do?

Periodic Harness health audit based on 7 design principles. An agent skill from Stanshy/AgentHub. Harness Audit is an agent skill from Stanshy/AgentHub.

When should I use Harness Audit?

Harness Audit fits situations like: tasks that involve Skill authoring.

How do I install Harness Audit in Claude Code?

Run `npx skills add Stanshy/AgentHub --skill harness-audit -a claude-code`. Or copy the skill folder (.knowledge/company/skill-templates/harness-audit in Stanshy/AgentHub) into .claude/skills/harness-audit in your project. Claude Code loads it when a task matches its description.

How do I install Harness Audit in Codex?

Run `npx skills add Stanshy/AgentHub --skill harness-audit -a codex`. Or copy the skill folder (.knowledge/company/skill-templates/harness-audit in Stanshy/AgentHub) into .agents/skills/harness-audit in your project. Codex loads it when a task matches its description.

Can I use Harness Audit 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 Stanshy/AgentHub --skill harness-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/harness-audit, .gemini/skills/harness-audit, .github/skills/harness-audit and .opencode/skills/harness-audit in your project.

What does Harness Audit need to run?

SKILL.md names no scripts, command-line tools or credentials: Harness Audit is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep, Bash.

Does Harness Audit 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 Harness Audit safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Harness Audit use?

Harness Audit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Harness Audit use?

About 390 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Harness Audit?

Skills that share tags, products or a category with Harness Audit: Skill Creator (Azure/azqr, 796 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Harness Audit?

Stanshy (a GitHub user) maintains it in Stanshy/AgentHub, which has 202 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on April 9, 2026.

Source: Stanshy/AgentHub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.