CLI-Anything Builder Pack v1.3

Turn any GUI application or repo into a stateful CLI your AI agent can drive — then turn that CLI into an agent skill. One command each way:

python3 skill_generator.py scaffold <name>    # brand-new software: zero → working harness
python3 skill_generator.py generate <harness> # existing harness:    harness → SKILL.md

This is the tooling behind the CLI-Anything family (Bundle #1’s 49 skills, Bundle #2’s Agent Ops Pack, and Bundles #10-#17’s recon kits were all built with this methodology). Now it’s yours.

License: Apache 2.0.

What’s new in v1.3

What’s new in v1.2

What’s new in v1.1

What’s in the box

piece what it does
cli-anything-plugin/ The full methodology plugin: HARNESS.md (the source-of-truth playbook), SKILL.md for agent pickup, slash commands (build / refine / test / validate), deep guides (session state, MCP backends, filter translation, package publishing, timecode precision, skill generation, ship discipline), scaffold+generator CLI, and a verified plugin structure.
skill_generator.py scaffold (zero → runnable harness + SKILL.md + optional --init-git git repo) and generate (any agent-harness/ tree → ready-to-ship SKILL.md) — proven by a 47-test pytest battery shipping inside the pack.
templates/SKILL.md.template The Jinja2 template the generator uses — customize to your house style.
examples/minireport/ Tiny-but-real worked harness #1 (directory → facts report, markdown + JSON) with a WALKTHROUGH.md whose every output was produced live during packaging. Its SKILL.md was generated, not hand-written.
examples/taskstack/ Worked harness #2 (stateful task list with undo/redo) — proves the session-state pattern on real state: mutation/undo/redo flips, fail-closed errors, corrupt-file resilience, deep-path state files.
verify-pack.sh One command that re-proves everything on YOUR machine (7-check battery).

Install (for you and for your AI agent)

# 1. Unpack, then hand the plugin to your agent
cp -r cli-anything-plugin ~/.claude/plugins/cli-anything   # Claude Code
# or copy it into your agent's skills/plugins directory (OpenClaw: ~/.openclaw/skills/)

# 2. Point the plugin at any software checkout and say:
#    /cli-anything <path-or-github-url>
#    (or just: "use cli-anything to build a harness for ./myapp")

# 3. Brand-new software with no checkout? Scaffold instead:
mkdir -p ~/cli-anything && cd ~/cli-anything
python3 /path/to/cli-anything-plugin/skill_generator.py scaffold myapp --with-skill --init-git

# 4. Keep your work organized anywhere you like:
cd ~/cli-anything

Verify before you trust it

./verify-pack.sh

runs, in order: plugin structure check (verify-plugin.sh), the generator’s 47-test battery (pytest), LIVE skill generation against BOTH packaged examples, a smoke run of the minireport CLI, the taskstack undo/redo semantics (mutation → undo flip → redo flip → fail-closed → corrupt-file resilience), and a full scaffold E2E roundtrip (scaffold with --init-git → run the fresh CLI → regenerate its SKILL.md → assert the git repo, .gitignore, and the initialized-repo output). Every line it prints is meant to be evidence.

The loop this pack teaches

software / repo ─────────────┐
                             └─> agent-harness/   (Click CLI, cli_anything.<software>
brand-new software ─> scaffold ─┘                   namespace, state with undo/redo,
                                                    --json output, REPL default)
        └─> skill_generator.py generate  → SKILL.md
              └─> copy into your agent's skills directory → done

Also runs as a plain CLI (no agent needed)

Every harness built with this methodology installs as cli-anything-<software> via pip (pip install agent-harness/) and runs as a stateful terminal application with --json everywhere — so scripts, cron jobs, and CI pipelines use the same tool your agent uses.

Family

All ship from the same rail: tikkunolam.today/downloads/