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.
npx skills add ZhangShenao/harness9 --skill commitgit clone --depth 1 https://github.com/ZhangShenao/harness9Wrote 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/skills/zhangshenao/harness9/commit)<a href="https://agentmods.dev/skills/zhangshenao/harness9/commit"><img src="https://agentmods.dev/badge/skills/zhangshenao/harness9/commit/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/skills/zhangshenao/harness9/commit"><img src="https://agentmods.dev/badge/skills/zhangshenao/harness9/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00036 | $0.01922 |
| Opus 5.5 | $0.00014 | $0.00769 |
| Sonnet 5.5 | $0.00007 | $0.00384 |
| Haiku 4.5 | $0.00004 | $0.00192 |
Grade B, and why
commit 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 14d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
chmod 700 "$AUDIT_DIR" How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Commit Reviewed Changes
DSH 斜杠命令:输入
/commit会把本技能全文注入当前回合,/commit之后的文本作为参数;模型也可按描述自动加载。
Overview
Create one local commit containing only the intended, reviewed changes. Treat review, exact staging, and post-commit evidence as mandatory gates even when asked to hurry or bypass them.
Workflow
-
Inspect the repository before changing Git state:
git status --porcelain=v1 -z --untracked-files=all git diff --stat git diff --cached --stat git log -10 --pretty=format:'%s'Derive the intended file set from the current task. Parse the NUL-delimited status as Git's
XYrecord, not by splitting filenames. Before any staging:- stop if a target path has both an index change (
X) and a worktree change (Y), includingMM; - stop if the index contains an unrelated or ambiguous path;
- never re-add a partially staged target or rewrite the user's existing index.
Ask the user to resolve ambiguity. Never equate "all changes" with the intended scope.
- stop if a target path has both an index change (
-
Exclude unrelated files and any path that may contain credentials, tokens, keys,
.envdata, or other secrets. Do not inspect a suspected secret merely to decide whether to stage it; report the path and leave it untouched. -
Stage each unstaged intended file with literal pathspec semantics:
git --literal-pathspecs add -- "$path"Pass exactly one explicit file path per invocation. Never use plain
git add -- "$path"because names such as:(glob)*are pathspec magic. Never usegit add -A,git add .,git add -u, a directory, or a glob. -
Audit the index and reject an empty staged diff:
git diff --cached --name-status git diff --cached --stat git diff --cached --checkCompare the staged paths with the intended reviewed set. Commit only when they match exactly and the staged diff is non-empty.
-
Record the exact candidate commit before final review:
AUDIT_DIR= cleanup_audit() { [ -n "$AUDIT_DIR" ] || return 0 if ! python3 - "$AUDIT_DIR" <<'PY' import os import stat import sys audit_dir = sys.argv[1] descriptor = os.open( audit_dir, os.O_RDONLY | getattr(os, "O_DIRECTORY", 0) | getattr(os, "O_NOFOLLOW", 0), ) for name in ("expected-paths", "current-paths", "actual-paths"): try: metadata = os.stat( name, dir_fd=descriptor, follow_symlinks=False, ) except FileNotFoundError: continue if not stat.S_ISREG(metadata.st_mode): raise SystemExit("unexpected audit artifact type") os.unlink(name, dir_fd=descriptor) os.close(descriptor) os.rmdir(audit_dir) PY then return 1 fi test ! -e "$AUDIT_DIR" || return 1 AUDIT_DIR= } trap cleanup_audit EXIT trap 'exit 129' HUP trap 'exit 130' INT trap 'exit 143' TERM previous_umask=$(umask) umask 077 AUDIT_DIR=$(mktemp -d) umask "$previous_umask" chmod 700 "$AUDIT_DIR" test "$(stat -f '%Lp' "$AUDIT_DIR" 2>/dev/null || stat -c '%a' "$AUDIT_DIR")" = 700 BASE_HEAD=$(git rev-parse HEAD) EXPECTED_TREE=$(git write-tree) git diff --cached --name-only -z --no-renames > "$AUDIT_DIR/expected-paths"
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.
- 14d ago Changed · +88 lines · +1 tokens per session scan A → B d8dad7a8b969
- 3mo ago First seen · 79 lines · 35 tokens per session scan A c960915e2c5d
commit is a skill published in the GitHub repository ZhangShenao/harness9 (166 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,922 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
commit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| commitZhangShenao/harness9 | Skill | 166 | yesterday | MIT | B | 36 | Claude Code, Codex |
| create-prprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 47 | Claude Code, Codex |
| git-commitThinkInAIXYZ/deepchat | Skill | 6.4k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| engineer-bot-opsmakecindy/cindy | Skill | 11k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| mcore-split-prNVIDIA/skills | Skill | 4.4k | yesterday | Apache-2.0 | A | 25 | Claude Code |
| contributingHugoRCD/evlog | Skill | 2.0k | 7d ago | MIT | A | 68 | Claude Code, Codex |
| git-commit-writermergisi/awesome-openclaw-agents | Skill | 4.1k | 1mo ago | MIT | A | 53 | Claude Code, Codex |