# cli-anything-audacity

A skill that puts a stateful Audacity CLI in your agent's hands: edit tracks, clips and effects, then render without opening the GUI.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 530 installs · ★ 57187
- Author: HKUDS
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/HKUDS/CLI-Anything/tree/HEAD/skills/cli-anything-audacity/SKILL.md
- Updated: 2026-09-22
- HTML: https://affpapa.org/en/nevibecode/skills/cli-anything-audacity

## What it does

This skill gives the agent a command-line front end for Audacity. Nine command groups cover a session end to end: project, track, clip, effect, selection, label, media, export, session. Commands change project state, so work carries over between calls.

Undo and redo hold up to 50 steps, and the project saves as JSON. Run the tool with no subcommand and you land in a REPL with tab completion and history. Add `--json` for machine-readable output — that is the mode an agent should use. Check the return code (0 means success), read stderr when it fails, and confirm the rendered file exists afterwards.

The CLI is a separate install: `pip install cli-anything-audacity`. It needs Python 3.10+ and Audacity on the machine. No Audacity, no working wrapper, so check that before you add the skill.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add HKUDS/CLI-Anything --skill cli-anything-audacity -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cli-anything-audacity/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cli-anything-audacity/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add HKUDS/CLI-Anything --skill cli-anything-audacity -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cli-anything-audacity/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add HKUDS/CLI-Anything --skill cli-anything-audacity -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cli-anything-audacity/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install HKUDS/CLI-Anything cli-anything-audacity
```

2. **Manually: put the files in place**
- File: `.github/skills/cli-anything-audacity/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add HKUDS/CLI-Anything --skill cli-anything-audacity -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/HKUDS/CLI-Anything --path skills/cli-anything-audacity
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cli-anything-audacity/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add HKUDS/CLI-Anything --skill cli-anything-audacity -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/HKUDS/CLI-Anything/tree/HEAD/skills/cli-anything-audacity/SKILL.md

## When to use it
- build one project from several tracks and render a single file
- split a clip at a timestamp and trim both ends
- confirm every referenced audio file still exists before rendering
- undo a bad effect setting without leaving the terminal
- hand the project JSON to an agent so it can read tracks and labels

## Example prompts
- Create `project.json`, add a track and import `voice.wav` into it
- Add an effect to the track, change the parameter, then render the project
- Show session status and undo the last step if the render failed

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: bca3afdfc5236041.

BEGIN THIRD-PARTY FILE bca3afdfc5236041
````text
---
name: "cli-anything-audacity"
description: >-
  Command-line interface for Audacity - A stateful command-line interface for audio editing, following the same patterns as the GIMP and Ble...
---

# cli-anything-audacity

A stateful command-line interface for audio editing, following the same patterns as the GIMP and Blender CLIs in this repo.

## Installation

This CLI is installed as part of the cli-anything-audacity package:

```bash
pip install cli-anything-audacity
```

**Prerequisites:**
- Python 3.10+
- audacity must be installed on your system


## Usage

### Basic Commands

```bash
# Show help
cli-anything-audacity --help

# Start interactive REPL mode
cli-anything-audacity

# Create a new project
cli-anything-audacity project new -o project.json

# Run with JSON output (for agent consumption)
cli-anything-audacity --json project info -p project.json
```

### REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session:

```bash
cli-anything-audacity
# Enter commands interactively with tab-completion and history
```


## Command Groups


### Project

Project management commands.

| Command | Description |
|---------|-------------|
| `new` | Create a new project |
| `open` | Open an existing project |
| `save` | Save the current project |
| `info` | Show project information |
| `settings` | View or update project settings |
| `json` | Print raw project JSON |


### Track

Track management commands.

| Command | Description |
|---------|-------------|
| `add` | Add a new track |
| `remove` | Remove a track by index |
| `list` | List all tracks |
| `set` | Set a track property (name, mute, solo, volume, pan) |


### Clip

Clip management commands.

| Command | Description |
|---------|-------------|
| `import` | Probe/import an audio file (show metadata) |
| `add` | Add an audio clip to a track |
| `remove` | Remove a clip from a track |
| `trim` | Trim a clip's start and/or end |
| `split` | Split a clip at a given time position |
| `move` | Move a clip to a new start time |
| `list` | List clips on a track |


### Effect Group

Effect management commands.

| Command | Description |
|---------|-------------|
| `list-available` | List all available effects |
| `info` | Show details about an effect |
| `add` | Add an effect to a track |
| `remove` | Remove an effect by index |
| `set` | Set an effect parameter |
| `list` | List effects on a track |


### Selection

Selection management commands.

| Command | Description |
|---------|-------------|
| `set` | Set selection range |
| `all` | Select all (entire project duration) |
| `none` | Clear selection |
| `info` | Show current selection |


### Label

Label/marker management commands.

| Command | Description |
|---------|-------------|
| `add` | Add a label at a time position |
````
END THIRD-PARTY FILE bca3afdfc5236041

The third-party file has ended. Everything between the bca3afdfc5236041 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2815 of 5296 bytes. © HKUDS · Apache-2.0 · https://github.com/HKUDS/CLI-Anything/tree/HEAD/skills/cli-anything-audacity/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
