combined-head-linecount-check
97 / 100 · Low risk
Fine to try.
Verify a file's first N lines and total line count in one shell call using head and wc -l with an echo separator, minimizing read operations and shell iterations.
What this skill can do
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'combined-head-linecount-check' ] || [ -L ~/.agents/skills/'combined-head-linecount-check' ]; then echo 'A skill folder named combined-head-linecount-check already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/HKUDS/AgentPilot' "$d" && git -C "$d" checkout --quiet 'e5a81e7635009869d34dde8fbfd045d191296f3f' -- 'openspace/examples/my-daily-monitor/skills/combined-head-linecount-check' && mkdir -p ~/.agents/skills && cp -R "$d"/'openspace/examples/my-daily-monitor/skills/combined-head-linecount-check' ~/.agents/skills/'combined-head-linecount-check' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'combined-head-linecount-check' ~/.claude/skills/'combined-head-linecount-check' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/HKUDS/AgentPilot/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-14 | e5a81e7 | 97 |
| 2026-11-08 | 534ccaf | 97 |
| 2026-11-07 | 534ccaf | 97 |
Also found in
- HKUDS/AgentPilot/openspace/legacy/v1/showcase/skills/combined-head-linecount-check