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.
guides/ship-discipline.md — a new deep guide with five laws from real marketplace/delivery-rail shipping: staged completion (verify a dead run’s artifacts, never re-fire), the payload-scan discriminator (misleading “check your token scope” denials that are really wording bans - one neutral re-probe, never hammering), the embed-set law (update --file is ADD on current tooling; embed-set replace goes through the content doc, residue is itemized for manual cleanup), the mint-and-fetch law (presigned URLs are single-use in time - pair mint and fetch in one breath), and the listing-claim truth law (counts in listings must come from batteries live-fired on the shipped artifact).scaffold --init-git — one optional flag turns the fresh scaffold into a versioned project immediately: writes a Python-appropriate .gitignore, runs git init, stages everything, and makes the initial commit. Degrades gracefully — no git binary or no commit identity leaves the scaffold intact with a short note (never a partial write)..gitignore, prove --init-git is OFF by default, and prove the no-git-binary degrade path via injected which_fn..gitignore, and the Git: initialized line.scaffold subcommand — brand-new software to a working, runnable harness skeleton in ONE command (working Click CLI with project new/info/export, --json everywhere, an interactive REPL; optionally emits its SKILL.md in the same run with --with-skill).examples/taskstack/: a stateful task list with real undo/redo semantics (the session-state pattern, runnable), walkthrough with live outputs, generated SKILL.md.type=click.Path(exists=True) style every scaffold emits). v1.1 parses them; regenerated SKILL.md files now document those commands (fixed example: minireport’s build row).| 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). |
# 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-pack.shruns, 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.
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
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.
All ship from the same rail: tikkunolam.today/downloads/