Skip to main content

Build

CLI Anything Generator

CLI-Anything

Build, refine, test, validate, or list CLI-Anything harnesses for GUI applications in Cursor. Prefer slash commands /cli-anything, /cli-anything-refine, /cli-anything-test, /cli-anything-validate, and /cli-anything-list when available. This skill supports natural-language discovery of the generator; it does not replace those commands. Discovering already-published CLIs from CLI-Hub is a separate consumer skill (cli-hub-meta-skill).

  • New
  • v1.0.0
  • Reviewed Aug 21
  • No reviews yet

Capabilities

  • Prefer Slash Commands

    If the user speaks naturally ("build a CLI for ./gimp"), run the same…

  • Consumer Path (Separate)

    This skill is not the Hub consumer

  • PLUGIN_ROOT and Methodology

  • Phase Gates

    For build/refine/test/validate, maintain

Getting started

Full instructions

Example command

Consumer Path (Separate)

npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y

Instructions: SKILL.mdv1.0.0

CLI-Anything Generator (Cursor Plugin Skill)

This skill is packaged inside the Cursor plugin as a supporting entry point.
The primary generator UX is the plugin slash commands.

Prefer Slash Commands

Goal Command
Full 7-phase build /cli-anything <path-or-repo>
Expand coverage /cli-anything-refine <path> [focus]
Run tests /cli-anything-test <path>
Validate checklist /cli-anything-validate <path>
List tools /cli-anything-list

If the user speaks naturally ("build a CLI for ./gimp"), run the same workflow as the matching command.

Consumer Path (Separate)

This skill is not the Hub consumer. For finding/installing published CLIs:

bash
npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y

Per-app skills live under the repo skills/ tree and install via npx skills add.

PLUGIN_ROOT and Methodology

  1. Resolve PLUGIN_ROOT via discovery pointer then stamp:
    • ~/.cursor/cli-anything-generator.root / %USERPROFILE%\.cursor\cli-anything-generator.root
    • {install}/PLUGIN_ROOT.txt
    • default ~/.cursor/plugins/local/cli-anything if references/HARNESS.md exists there
  2. Read {PLUGIN_ROOT}/references/HARNESS.md with an absolute path.
  3. Read the matching file under {PLUGIN_ROOT}/references/commands/.
  4. Use guides under {PLUGIN_ROOT}/references/guides/ on demand.
  5. Helper scripts: {PLUGIN_ROOT}/scripts/repl_skin.py, preview_bundle.py,
    skill_generator.py, templates/.

Path remapping (from HARNESS / plugin docs)

Document reference Installed plugin path
guides/... references/guides/...
cli-anything-plugin/repl_skin.py scripts/repl_skin.py
cli-anything-plugin/preview_bundle.py scripts/preview_bundle.py
cli-anything-plugin/skill_generator.py scripts/skill_generator.py
templates/SKILL.md.template scripts/templates/SKILL.md.template
docs/PREVIEW_PROTOCOL.md references/docs/PREVIEW_PROTOCOL.md

Cursor Tool Bindings

Cursor tool Role
Read Methodology and source analysis
Grep / Glob API and file discovery
Shell Clone, pytest, pip, CLI invocation
Write / StrReplace Harness implementation
Task Optional parallel subtasks

Phase Gates

For build/refine/test/validate, maintain
{software-root}/agent-harness/.cli-anything-progress.json.
Create agent-harness/ when tracking starts. Do not advance without completing
the previous phase. Resume non-terminal runs.

Quality Bar

Match Claude Code plugin / Codex skill output: same harness layout, namespace
packaging, --json, tests, and skill generation. Do not invent a different
harness format.

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from CLI-Anything

View source →

Frequently asked questions about cli-anything-generator

What does the cli-anything-generator skill do?

Build, refine, test, validate, or list CLI-Anything harnesses for GUI applications in Cursor. Prefer slash commands /cli-anything, /cli-anything-refine, /cli-anything-test, /cli-anything-validate, and /cli-anything-list when available. This skill supports natural-language discovery of the generator; it does not replace those commands. Discovering already-published CLIs from CLI-Hub is a separate consumer skill (cli-hub-meta-skill). It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the cli-anything-generator skill?

Run `npx @skills-hub-ai/cli install cli-anything-generator` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/cli-anything-generator/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does cli-anything-generator work with?

cli-anything-generator runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the cli-anything-generator skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use cli-anything-generator after installing it?

In Claude Code, type `/cli-anything-generator` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the cli-anything-generator skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/cli-anything-generator)](https://skills-hub.ai/skills/cli-anything-generator)
HTML
<a href="https://skills-hub.ai/skills/cli-anything-generator"><img src="https://skills-hub.ai/api/badges/skill/cli-anything-generator" alt="Install on Skills Hub"></a>

More options in the badge docs.