cli-anything

Generate deterministic Python CLI harnesses with REPL and JSON output.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/gaos6e/MyOpenclaw --skill cli-anything-gaos6e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-anything
Source: https://github.com/gaos6e/MyOpenclaw/tree/main/workspace/skills/cli-anything
Command: npx skills add https://github.com/gaos6e/MyOpenclaw --skill cli-anything-gaos6e

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables rapid creation of a deterministic CLI harness for software projects, allowing teams to bootstrap command-line interfaces and testing scaffolds with consistent structure.

Core Features & Use Cases

  • Create, refine, and validate a CLI harness for a GUI application or source repository using the CLI-Anything methodology.
  • Produce a predictable, one-shot command surface plus a REPL mode and JSON output to support automation and tooling.
  • Typical use cases include generating a new harness for a fresh project or adapting an existing harness to a new software stack within OpenClaw.

Quick Start

Provide a local path or GitHub URL for the target software and run the harness builder to generate a complete CLI harness.

Frequently Asked Questions about cli-anything

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a CLI harness for a Python project with a setup.py entry point?

You can build a CLI harness by providing a local source path or GitHub repository URL to the harness builder, which derives a software name from the directory or repo and generates a complete namespace-package based Python harness with a setup.py entry point.

What is a deterministic CLI harness and when do I need one for software testing?

A deterministic CLI harness provides a predictable command surface with REPL mode and JSON output to support automation and tooling. You need one when bootstrapping command-line interfaces and testing scaffolds with consistent structure for software projects.

Does the CLI harness builder work with GitHub repositories or only local source directories?

Yes, the CLI harness builder applies to both local source paths and GitHub repositories. It automatically derives the software name from the directory or repository to generate the complete CLI harness.

Can I generate JSON output from a CLI harness for automation workflows?

Yes, the generated CLI harness produces JSON output alongside a REPL-default operation mode. This predictable command surface is designed specifically to support automation and tooling workflows within OpenClaw contexts.

What is the best way to refine and test an existing CLI harness for a new software stack?

The best way to refine and test an existing CLI harness is to apply the Build, Refine, Test, and Validate workflows within OpenClaw contexts. This methodology adapts your harness to a new software stack while maintaining a deterministic command surface.