# CLI Anything Anygen

Command-line interface for Anygen - A stateful command-line interface for AnyGen...

- Repository: https://github.com/HKUDS/CLI-Anything (58029 stars)
- Category: Documents
- License: Apache-2.0
- Last updated: 2026-09-22
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add HKUDS/CLI-Anything --skill cli-anything-anygen -g -a claude-code -y`
Codex: `npx skills add HKUDS/CLI-Anything --skill cli-anything-anygen -g -a codex -y`
Cursor: `npx skills add HKUDS/CLI-Anything --skill cli-anything-anygen -g -a cursor -y`
Gemini CLI: `npx skills add HKUDS/CLI-Anything --skill cli-anything-anygen -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add HKUDS/CLI-Anything`

## Description

Command-line interface for Anygen - A stateful command-line interface for AnyGen OpenAPI, generate professional slides, documents, webs...

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# cli-anything-anygen

A stateful command-line interface for AnyGen OpenAPI, generate professional slides, documents, websites, diagrams, and more from natural language prompts. Designed for AI agents and power users.

## Installation

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

```bash
pip install cli-anything-anygen
```

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


## Usage

### Basic Commands

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

# Start interactive REPL mode
cli-anything-anygen

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

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

### REPL Mode

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

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


## Command Groups


### Task

Task management, create, poll, download, and run tasks.

| Command | Description |
|---------|-------------|
| `create` | Create a generation task |
| `status` | Query task status (non-blocking) |
| `poll` | Poll task until completion (blocking) |
| `download` | Download the generated file for a completed task |
| `thumbnail` | Download thumbnail image for a completed task |
| `run` | Full workflow: create, poll, download |
| `list` | List locally cached task records |
| `prepare` | Multi-turn requirement analysis before creating a task |


### File

File operations, upload reference files.

| Command | Description |
|---------|-------------|
| `upload` | Upload a reference file to get a file_token |


### Config

Configuration management, API key and settings.

| Command | Description |
|---------|-------------|
| `set` | Set a configuration value |
| `get` | Get a configuration value (or show all) |
| `delete` | Delete a configuration value |
| `path` | Show the config file path |


### Session

The rest: https://github.com/HKUDS/CLI-Anything/blob/HEAD/anygen/agent-harness/cli_anything/anygen/skills/SKILL.md
