Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions audacity/agent-harness/cli_anything/audacity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ No other dependencies required. Core functionality uses only Python stdlib.

```bash
# From the agent-harness/ directory:
cd /root/cli-anything/audacity/agent-harness
cd ~/CLI-Anything/audacity/agent-harness

# One-shot commands
python3 -m cli.audacity_cli project new --name "My Podcast"
Expand All @@ -41,7 +41,7 @@ python3 -m cli.audacity_cli repl
## Run Tests

```bash
cd /root/cli-anything/audacity/agent-harness
cd ~/CLI-Anything/audacity/agent-harness

# All tests
python3 -m pytest cli/tests/ -v
Expand Down
2 changes: 1 addition & 1 deletion audacity/agent-harness/cli_anything/audacity/tests/TEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ E2E tests use real WAV file I/O with numpy arrays for audio sample verification.
```
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.5.0
rootdir: /root/cli-anything
rootdir: ~/CLI-Anything
plugins: langsmith-0.5.1, anyio-4.12.0
collected 154 items

Expand Down
2 changes: 1 addition & 1 deletion blender/agent-harness/cli_anything/blender/tests/TEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ E2E tests validate BPY (Blender Python) script generation, scene roundtrips, and
```
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.5.0
rootdir: /root/cli-anything
rootdir: ~/CLI-Anything
plugins: langsmith-0.5.1, anyio-4.12.0
collected 200 items

Expand Down
4 changes: 2 additions & 2 deletions cli-anything-plugin/HARNESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ side-by-side in the same Python environment without conflicts.

4. **Test local installation**:
```bash
cd /root/cli-anything/<software>/agent-harness
cd ~/CLI-Anything/<software>/agent-harness
pip install -e .
```

Expand All @@ -601,7 +601,7 @@ side-by-side in the same Python environment without conflicts.

6. **Run tests against the installed command**:
```bash
cd /root/cli-anything/<software>/agent-harness
cd ~/CLI-Anything/<software>/agent-harness
CLI_ANYTHING_FORCE_INSTALLED=1 python3 -m pytest cli_anything/<software>/tests/ -v -s
```
The output must show `[_resolve_cli] Using installed command: /path/to/cli-anything-<software>`
Expand Down
8 changes: 4 additions & 4 deletions cli-anything-plugin/PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This guide explains how to make the cli-anything plugin installable and publish

1. **Copy to Claude Code plugins directory:**
```bash
cp -r /root/cli-anything/cli-anything-plugin ~/.claude/plugins/cli-anything
cp -r ~/CLI-Anything/cli-anything-plugin ~/.claude/plugins/cli-anything
```

2. **Reload plugins in Claude Code:**
Expand All @@ -25,7 +25,7 @@ This guide explains how to make the cli-anything plugin installable and publish

Package as a tarball:
```bash
cd /root/cli-anything
cd ~/CLI-Anything
tar -czf cli-anything-plugin-v1.0.0.tar.gz cli-anything-plugin/
```

Expand All @@ -40,7 +40,7 @@ tar -xzf cli-anything-plugin-v1.0.0.tar.gz
### 1. Create GitHub Repository

```bash
cd /root/cli-anything/cli-anything-plugin
cd ~/CLI-Anything/cli-anything-plugin

# Initialize git
git init
Expand Down Expand Up @@ -105,7 +105,7 @@ Ensure your plugin meets requirements:
```bash
cd claude-plugins-official
mkdir -p external_plugins/cli-anything
cp -r /root/cli-anything/cli-anything-plugin/* external_plugins/cli-anything/
cp -r ~/CLI-Anything/cli-anything-plugin/* external_plugins/cli-anything/
```

3. **Create pull request:**
Expand Down
20 changes: 10 additions & 10 deletions cli-anything-plugin/QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Get started with the cli-anything plugin in 5 minutes.

```bash
# Copy plugin to Claude Code plugins directory
cp -r /root/cli-anything/cli-anything-plugin ~/.claude/plugins/cli-anything
cp -r ~/CLI-Anything/cli-anything-plugin ~/.claude/plugins/cli-anything

# Reload plugins in Claude Code
/reload-plugins
Expand Down Expand Up @@ -35,13 +35,13 @@ This will:

**Time:** ~10-15 minutes (depending on complexity)

**Output:** `/root/cli-anything/gimp/agent-harness/`
**Output:** `~/CLI-Anything/gimp/agent-harness/`

## Install the CLI

```bash
# Install to system PATH
cd /root/cli-anything/gimp/agent-harness
cd ~/CLI-Anything/gimp/agent-harness
pip install -e .

# Verify it's in PATH
Expand All @@ -55,7 +55,7 @@ cli-anything-gimp --help

```bash
# Navigate to the CLI directory
cd /root/cli-anything/gimp/agent-harness
cd ~/CLI-Anything/gimp/agent-harness

# Run the CLI directly (if installed)
cli-anything-gimp --help
Expand All @@ -77,7 +77,7 @@ cli-anything-gimp repl
/cli-anything:test gimp

# Or manually
cd /root/cli-anything/gimp/agent-harness
cd ~/CLI-Anything/gimp/agent-harness
python3 -m pytest cli_anything/gimp/tests/ -v

# Force tests to use the installed command (recommended for validation)
Expand Down Expand Up @@ -130,7 +130,7 @@ After the initial build, use the refine command to expand coverage:
/cli-anything /home/user/blender
/cli-anything:validate /home/user/blender
/cli-anything:test /home/user/blender
cd /root/cli-anything/blender/agent-harness
cd ~/CLI-Anything/blender/agent-harness
pip install -e .
which cli-anything-blender
```
Expand Down Expand Up @@ -170,10 +170,10 @@ pip install click pytest pillow numpy
### CLI doesn't work
```bash
# Check if all files were created
ls /root/cli-anything/<software>/agent-harness/cli_anything/<software>/
ls ~/CLI-Anything/<software>/agent-harness/cli_anything/<software>/

# Verify Python can import
cd /root/cli-anything/<software>/agent-harness
cd ~/CLI-Anything/<software>/agent-harness
python3 -c "import cli_anything.<software>"

# Check if installed to PATH
Expand All @@ -188,7 +188,7 @@ pip install -e .
Once your CLI is ready:

```bash
cd /root/cli-anything/<software>/agent-harness
cd ~/CLI-Anything/<software>/agent-harness

# Install build tools
pip install build twine
Expand All @@ -210,7 +210,7 @@ cli-anything-blender --help
## Next Steps

1. **Read the full README:** `cat README.md`
2. **Study an example:** Explore `/root/cli-anything/gimp/agent-harness/cli_anything/gimp/`
2. **Study an example:** Explore `~/CLI-Anything/gimp/agent-harness/cli_anything/gimp/`
3. **Read HARNESS.md:** Understand the methodology at `~/.claude/plugins/cli-anything/HARNESS.md`
4. **Build your own:** Choose a GUI app and run `/cli-anything <app-name>`

Expand Down
6 changes: 3 additions & 3 deletions cli-anything-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ After building a CLI with this plugin, you can:

### Install Locally
```bash
cd /root/cli-anything/<software>/agent-harness
cd ~/CLI-Anything/<software>/agent-harness
pip install -e .
cli-anything-<software> --help
```
Expand Down Expand Up @@ -372,7 +372,7 @@ This makes CLIs discoverable by AI agents that can check `which cli-anything-<so

### CLI not found

- Verify output directory: `ls -la /root/cli-anything/<software>/agent-harness/cli_anything/<software>/`
- Verify output directory: `ls -la ~/CLI-Anything/<software>/agent-harness/cli_anything/<software>/`
- Check for errors in build phase
- Try rebuilding: `/cli-anything <software-path>`

Expand Down Expand Up @@ -412,7 +412,7 @@ Inspired by the ralph-loop plugin's iterative development approach.

- Documentation: See HARNESS.md in this plugin for the complete methodology
- Issues: Report bugs or request features on GitHub
- Examples: Check `/root/cli-anything/` for reference implementations
- Examples: Check `~/CLI-Anything/` for reference implementations

## Version History

Expand Down
2 changes: 1 addition & 1 deletion cli-anything-plugin/commands/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Run tests for a CLI harness and update TEST.md with results.

If a GitHub URL is provided, the agent clones the repo locally first, then works on the local copy.

The software name is derived from the directory name. The agent locates the CLI harness at `/root/cli-anything/<software-name>/agent-harness/`.
The software name is derived from the directory name. The agent locates the CLI harness at `~/CLI-Anything/<software-name>/agent-harness/`.

## What This Command Does

Expand Down
4 changes: 2 additions & 2 deletions cli-anything-plugin/commands/validate.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Validate a CLI harness against HARNESS.md standards and best practices.

If a GitHub URL is provided, the agent clones the repo locally first, then works on the local copy.

The software name is derived from the directory name. The agent locates the CLI harness at `/root/cli-anything/<software-name>/agent-harness/`.
The software name is derived from the directory name. The agent locates the CLI harness at `~/CLI-Anything/<software-name>/agent-harness/`.

## What This Command Validates

Expand Down Expand Up @@ -98,7 +98,7 @@ The command generates a detailed report:
```
CLI Harness Validation Report
Software: gimp
Path: /root/cli-anything/gimp/agent-harness/cli_anything/gimp
Path: ~/CLI-Anything/gimp/agent-harness/cli_anything/gimp

Directory Structure (5/5 checks passed)
Required Files (9/9 files present)
Expand Down
5 changes: 3 additions & 2 deletions cli-anything-plugin/scripts/setup-cli-anything.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━
echo ""

# Check if HARNESS.md exists
HARNESS_PATH="/root/cli-anything/HARNESS.md"
CLI_ANYTHING_ROOT="${CLI_ANYTHING_ROOT:-$HOME/CLI-Anything}"
HARNESS_PATH="${CLI_ANYTHING_ROOT}/HARNESS.md"
if [ ! -f "$HARNESS_PATH" ]; then
echo -e "${YELLOW}⚠️ HARNESS.md not found at $HARNESS_PATH${NC}"
echo -e "${YELLOW} The cli-anything methodology requires HARNESS.md${NC}"
Expand Down Expand Up @@ -85,7 +86,7 @@ echo -e " ${BLUE}/cli-anything:validate${NC} /home/user/audacity"
echo ""
echo "Documentation:"
echo ""
echo " HARNESS.md: /root/cli-anything/HARNESS.md"
echo " HARNESS.md: ${HARNESS_PATH}"
echo " Plugin README: Use '/help cli-anything' for more info"
echo ""
echo -e "${GREEN}Ready to build CLI harnesses! 🚀${NC}"
Expand Down
2 changes: 1 addition & 1 deletion gimp/agent-harness/cli_anything/gimp/tests/TEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ E2E tests use real files: PNG images via PIL/Pillow, numpy arrays for pixel-leve
```
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.5.0
rootdir: /root/cli-anything
rootdir: ~/CLI-Anything
plugins: langsmith-0.5.1, anyio-4.12.0
collected 103 items

Expand Down
2 changes: 1 addition & 1 deletion inkscape/agent-harness/cli_anything/inkscape/tests/TEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ E2E tests generate real SVG XML and validate structure, export to SVG/PNG with P
```
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.5.0
rootdir: /root/cli-anything
rootdir: ~/CLI-Anything
plugins: langsmith-0.5.1, anyio-4.12.0
collected 197 items

Expand Down
4 changes: 2 additions & 2 deletions kdenlive/agent-harness/KDENLIVE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The Kdenlive CLI harness provides a stateful command-line interface for non-line
## Setup

```bash
cd /root/cli-anything/kdenlive/agent-harness
cd ~/CLI-Anything/kdenlive/agent-harness
pip install click
```

Expand Down Expand Up @@ -109,7 +109,7 @@ python3 -m cli.kdenlive_cli repl --project project.json
## Testing

```bash
cd /root/cli-anything/kdenlive/agent-harness
cd ~/CLI-Anything/kdenlive/agent-harness

# Run all tests
python3 -m pytest cli/tests/ -v
Expand Down
2 changes: 1 addition & 1 deletion kdenlive/agent-harness/cli_anything/kdenlive/tests/TEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ E2E tests generate real MLT XML and validate structure, format correctness, and
```
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.5.0
rootdir: /root/cli-anything
rootdir: ~/CLI-Anything
plugins: langsmith-0.5.1, anyio-4.12.0
collected 151 items

Expand Down
2 changes: 1 addition & 1 deletion libreoffice/agent-harness/LIBREOFFICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Documents are stored as JSON project files (`.lo-cli.json`) with this structure:
## Running

```bash
cd /root/cli-anything/libreoffice/agent-harness
cd ~/CLI-Anything/libreoffice/agent-harness
pip install click
python3 -m cli.libreoffice_cli --help
python3 -m pytest cli/tests/ -v
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ E2E tests produce real ODF files (ODT/ODS/ODP) and validate ZIP structure, XML c
```
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.5.0
rootdir: /root/cli-anything
rootdir: ~/CLI-Anything
plugins: langsmith-0.5.1, anyio-4.12.0
collected 143 items

Expand Down
6 changes: 3 additions & 3 deletions obs-studio/agent-harness/OBS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ control over OBS scene collections via JSON configuration files.
## CLI Harness Location

```
/root/cli-anything/obs-studio/agent-harness/cli/
~/CLI-Anything/obs-studio/agent-harness/cli/
```

## Usage

### Creating a Stream Setup

```bash
cd /root/cli-anything/obs-studio/agent-harness
cd ~/CLI-Anything/obs-studio/agent-harness

# 1. Create project
python3 -m cli.obs_cli project new --name "my_stream" -o stream.json
Expand Down Expand Up @@ -142,7 +142,7 @@ python3 -m cli.obs_cli repl --project stream.json
## Testing

```bash
cd /root/cli-anything/obs-studio/agent-harness
cd ~/CLI-Anything/obs-studio/agent-harness
python3 -m pytest cli/tests/ -v
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ E2E tests validate complete streaming/recording workflows without OBS Studio ins
```
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.5.0
rootdir: /root/cli-anything
rootdir: ~/CLI-Anything
plugins: langsmith-0.5.1, anyio-4.12.0
collected 153 items

Expand Down
2 changes: 1 addition & 1 deletion opencode-commands/cli-anything-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Run tests for a CLI harness and update TEST.md with results.

If a GitHub URL is provided, clone the repo locally first, then work on the local copy.

The software name is derived from the directory name. The agent locates the CLI harness at `/root/cli-anything/<software-name>/agent-harness/`.
The software name is derived from the directory name. The agent locates the CLI harness at `~/CLI-Anything/<software-name>/agent-harness/`.

## What This Command Does

Expand Down
4 changes: 2 additions & 2 deletions opencode-commands/cli-anything-validate.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Validate a CLI harness against HARNESS.md standards and best practices.

If a GitHub URL is provided, clone the repo locally first, then work on the local copy.

The software name is derived from the directory name. The agent locates the CLI harness at `/root/cli-anything/<software-name>/agent-harness/`.
The software name is derived from the directory name. The agent locates the CLI harness at `~/CLI-Anything/<software-name>/agent-harness/`.

## What This Command Validates

Expand Down Expand Up @@ -97,7 +97,7 @@ The command generates a detailed report:
```
CLI Harness Validation Report
Software: gimp
Path: /root/cli-anything/gimp/agent-harness/cli_anything/gimp
Path: ~/CLI-Anything/gimp/agent-harness/cli_anything/gimp

Directory Structure (5/5 checks passed)
Required Files (9/9 files present)
Expand Down