Install harness statusline
Skill woditschka/agentic-coding-reference/.claude/skills/install-harness-statusline
Install or update the harness-stats tooling — harness-statusline.sh, cache-report.sh, and the cache-report skill — from this repo's tools/harness-stats/ into the user's ~/.claude/ directory. Thin front-end for tools/harness-stats/install.sh: run its check mode to show drift, apply only on the user's approval. Use when the user asks to install the cache tooling, set up the statusline, update the harness-stats scripts, or reconfigure cache reporting. Examples: "set up the statusline", "install harness-stats", "update the cache tooling".From its SKILL.md
npx -y skills add woditschka/agentic-coding-reference --skill install-harness-statuslineAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.8 KB, as published. Nobody here has run it
install-harness-statusline
The mechanics live in tools/harness-stats/install.sh (source of truth: this
repo's tools/harness-stats/). The skill adds the approval gate: never apply
without the user's explicit OK.
Process
-
Detect drift. Run from the repo root (the script reads sources relative to itself; if not in this repo, stop and say so):
tools/harness-stats/install.sh checkIt prints one status per target —
identical,drift (N lines), ormissing— for the three files and thestatusLineblock in~/.claude/settings.json. -
Show the table and get approval. Present the drift; for drifted rows, offer the unified diff on request. Do NOT edit without explicit approval ("apply", "go ahead", "install"). If everything is
identical, report that and stop — nothing to do. -
Apply:
tools/harness-stats/install.sh applyIt copies the three files, preserving the executable bit. It merges the
statusLineblock into~/.claude/settings.jsonwithjq— other keys untouched, a replacedstatusLine.commandechoed for recovery. It then runs two smoke tests: statusline against the latest transcript, andcache-report.sh --list. A smoke-test failure exits non-zero: do not declare success; report the exact output. Likely culprits: missingjqorawk, or astatcall that fell through both GNU and BSD paths. -
Report. What changed, the smoke-test results, and the reminder that Claude Code must restart for the statusline and skill to load.
What this skill does NOT do
- Uninstall — the user deletes the targets and the
statusLinekey manually. - Tune thresholds — the color-coding constants live at the top of
harness-statusline.shandcache-report.sh; edit the sources intools/harness-stats/, then re-run. - Pull from upstream — the source of truth is this repo.
- Survive across machines —
~/.claude/is per-machine and shared by every project on it; run once per machine. - Run the report — that is the installed
cache-reportskill. - Partial installs —
applyrefreshes all targets; per-file selection is a manual copy.