| name | agent-cli-hub |
| description | Choose CLI tools and safe patterns before repo work. Install checklist, bounded search/read commands, and confirmation gates. Use when navigating the codebase, running shell commands, or setting up agent tooling on Windows, WSL2, or macOS. |
Agent CLI hub
Router for lightweight CLI tooling skills in image-scoring-gallery. Prefer bounded, low-memory commands before broad reads or heavyweight indexers.
Purpose
Central entry point for agent-safe CLI workflows: which skill to use, how to install tools, how to bound output, and when to ask for confirmation.
When to use
- Starting work in an unfamiliar repo or shell environment
- Choosing between text search, structural search, git, config tools, or MCP layers
- Before running install commands or destructive shell operations
Skill router
Required tools (baseline)
git, rg, fd, jq, node (+ npm). Install full set via references/install-blocks.md.
Install tiers
Install in order — see references/install-tiers.md:
- Tier 0:
git, rg, fd, jq, node
- Block A: canonical block in references/install-blocks.md
- Block B: child-skill extensions (
yq, just, mise, …)
- Deferred: optional tools per skill (
fzf, semgrep, …)
Agent environment
After installing CLI tools, restart Cursor and verify PATH — see references/agent-environment.md.
Install
See references/install-blocks.md — Windows winget, WSL2 apt, macOS Homebrew.
Agent-safe patterns
- Inspect
git status --short before editing.
- Use bounded output — see references/bounded-output-patterns.md.
- Prefer project scripts (
npm run …) over ad hoc commands — see .agent/COMMANDS.md.
- Do not assume repo language before inspecting
package.json, pyproject.toml, etc.
- Never auto-run destructive commands — see references/commands-requiring-confirmation.md.
Commands requiring confirmation
Full list: references/commands-requiring-confirmation.md.
Platform guidance
references/windows-wsl-split.md — when Windows native is enough vs WSL2 for sibling backend work.
Troubleshooting
- Tool not found: Re-run install block for your platform; restart shell.
- Slow search on WSL: Avoid
/mnt/c for heavy repos; clone under ~/src.
- Gallery dev:
npm run doctor for config and backend URL probes.
Verification checklist
git --version && rg --version && node --version && jq --version
npm run doctor