Xpersona
C

cli-anything

CLAWHUB · Unverified

Use when the user wants OpenClaw to build, refine, test, or validate a CLI-Anything harness for a GUI application or source repository. Adapts the CLI-Anythi... Skill: cli-anything Owner: chensu1234 Summary: Use when the user wants OpenClaw to build, refine, test, or validate a CLI-Anything harness for a GUI application or source repository. Adapts the CLI-Anythi... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-03T07:50:07.761Z | user Initial release: Build CLIs for any GUI app using CLI-Anything methodology. Supports OpenClaw agents to generate command-line interface

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17b39d2taddmxdagg5n82qycx844nt7:cli-anything-hkuds
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-chensu1234-cli-anything-hkuds/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

6,183 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: cli-anything
description: Use when the user wants OpenClaw to build, refine, test, or validate a CLI-Anything harness for a GUI application or source repository. Adapts the CLI-Anything methodology to OpenClaw without changing the generated Python harness format.
---

# CLI-Anything for OpenClaw

Use this skill when the user wants OpenClaw to act like the `CLI-Anything` builder.

If this skill is being used from inside the `CLI-Anything` repository, read `../cli-anything-plugin/HARNESS.md` before implementation. That file is the full methodology source of truth. If it is not available, follow the condensed rules below.

## Inputs

Accept either:

- A local source path such as `./gimp` or `/path/to/software`
- A GitHub repository URL

Derive the software name from the local directory name after cloning if needed.

## Modes

### Build

Use when the user wants a new harness.

Produce this structure:

```text
<software>/
└── agent-harness/
    ├── <SOFTWARE>.md
    ├── setup.py
    └── cli_anything/
        └── <software>/
            ├── README.md
            ├── __init__.py
            ├── __main__.py
            ├── <software>_cli.py
            ├── core/
            ├── utils/
            └── tests/
```

Implement a stateful Click CLI with:

- one-shot subcommands
- REPL mode as the default when no subcommand is given
- `--json` machine-readable output
- session state with undo/redo where the target software supports it

### Refine

Use when the harness already exists.

First inventory current commands and tests, then do gap analysis against the target software. Prefer:

- high-impact missing features
- easy wrappers around existing backend APIs or CLIs
- additions that compose well with existing commands

Do not remove existing commands unless the user explicitly asks for a breaking change.

### Test

Plan tests before writing them. Keep both:

- `test_core.py` for unit coverage
- `test_full_e2e.py` for workflow and backend validation

When possible, test the installed command via subprocess using `cli-anything-<software>` rather than only module imports.

### Validate

Check that the harness:

- uses the `cli_anything.<software>` namespace package layout
- has an installable `setup.py` entry point
- supports JSON output
- has a REPL default path
- documents usage and tests

## Backend Rules

Prefer the real software backend over reimplementation. Wrap the actual executable or scripting interface in `utils/<software>_backend.py` when possible. Use synthetic reimplementation only when the project explicitly requires it or no viable native backend exists.

## Packaging Rules

- Use `find_namespace_packages(include=["cli_anything.*"])`
- Keep `cli_anything/` as a namespace package without a top-level `__init__.py`
- Expose `cli-anything-<software>` through `console_scripts`

## Workflow

1. Acquire the source tree locally.
2. Analyze architecture, data model, existing CLIs, and GUI-to-API mappings.
3. Design command groups and state model

_meta.json

{
  "ownerId": "kn78axad106g4ng4mnm7ckkq3n82q0vv",
  "slug": "cli-anything-hkuds",
  "version": "1.0.0",
  "publishedAt": 1775202607761
}

skill-card.md

## Description:

Helps OpenClaw build, refine, test, and validate CLI-Anything harnesses for GUI applications or source repositories without changing the generated Python harness format.

This skill is ready for commercial/non-commercial use.

## Publisher:

[chensu1234](https://clawhub.ai/user/chensu1234)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to have OpenClaw create or improve Python command-line harnesses for GUI applications and source repositories. It supports harness design, implementation, testing, documentation, and validation.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The workflow can run tests and perform editable installs while creating or validating a generated harness.

Mitigation: Use trusted local source trees or repositories, review generated files before execution, and run validation in an isolated development environment.

Risk: A generated harness may rely on incomplete or synthetic backend behavior when a native application interface is unavailable.

Mitigation: Prefer the real application backend where possible and document any backend limitations in the harness output.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/chensu1234/skills/cli-anything-hkuds)
- [Publisher Profile](https://clawhub.ai/user/chensu1234)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration]

**Output Format:** [Markdown with code blocks and file changes]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include generated harness files, tests, validation commands, and notes about backend limitations.]

## Skill Version(s):

1.0.0 (source: release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to cli-anything and adjacent AI workflows.