Agent skill

AnyGen CLI

by HKUDS in HKUDS/CLI-Anything

A stateful command-line client for the AnyGen API that creates slides, documents, websites and diagrams from text prompts, with task, file, config and session commands.

Apache-2.0Auto-check passedDocuments & Office

Install AnyGen CLI

skills CLI
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-anygen -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HKUDS/CLI-Anything cli-anything-anygen --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cli-anything-anygen .claude/skills/cli-anything-anygen && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cli-anything-anygen
GitHub stars
52k
Token cost
~996 tokens
SKILL.md length
350 words
Files
1
Skills in repo
78
Repo updated
First seen
Licence
Apache-2.0

At a glance

A stateful command-line client for the AnyGen API that creates slides, documents, websites and diagrams from text prompts, with task, file, config and session commands.

  • Works in 5 steps: Always use --json flag for parseable… → Check return codes - 0 for success,… → Parse stderr for error messages on failure → …
  • Generating a slide deck or document from a prompt through the AnyGen service
  • SKILL.md covers Installation, Usage, Command Groups and Examples, plus 5 more sections
  • Calls pip

What it does

This skill wraps the cli-anything-anygen package, a command-line interface to the AnyGen API aimed at agents and advanced users. Task commands create a generation job, check its status without blocking, poll until it finishes, download the file or a thumbnail, run the whole create, poll and download flow at once, list locally cached tasks, and prepare a request through multi-turn requirement analysis.

Other command groups upload a reference file to get a file token, manage configuration such as the API key, and handle the session with status, history, undo and redo. Run with no subcommand, it opens an interactive REPL with tab completion and history, and a --json flag gives machine-readable output. It installs with pip and needs Python 3.10 or newer plus anygen on the system. The excerpt is cut off at the state management section.

When your agent uses it

  • Generating a slide deck or document from a prompt through the AnyGen service
  • Scripting create, poll and download steps for generated files
  • Uploading a reference file and tracking several generation tasks

Example prompts

  • “Use AnyGen to generate a ten-slide deck on our Q3 results and download it when it is ready.”
  • “Upload ./brief.pdf as a reference file and create a document task from it.”
  • “List my cached AnyGen tasks and show the status of the most recent one.”

Requirements

  • Python 3.10 or newer
  • The cli-anything-anygen package installed with pip
  • anygen installed on the system and an AnyGen API key

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Always use --json flag for parseable output
  2. Check return codes - 0 for success, non-zero for errors
  3. Parse stderr for error messages on failure
  4. Use absolute paths for all file operations
  5. Verify outputs exist after export operations

What it can do on your machine

Read from SKILL.md and the folder at commit 34f5195. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AnyGen CLI loads about 996 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 350 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~996

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from HKUDS/CLI-Anything at commit 34f5195, republished under its Apache-2.0 licence (© HKUDS). 350 words, ~996 tokens.

Download SKILL.mdSave it as .claude/skills/cli-anything-anygen/SKILL.md (or your agent's skills folder).
name
cli-anything-anygen
description
Command-line interface for Anygen - A stateful command-line interface for AnyGen OpenAPI — generate professional slides, documents, webs...

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.

CommandDescription
createCreate a generation task
statusQuery task status (non-blocking)
pollPoll task until completion (blocking)
downloadDownload the generated file for a completed task
thumbnailDownload thumbnail image for a completed task
runFull workflow: create, poll, download
listList locally cached task records
prepareMulti-turn requirement analysis before creating a task
File

File operations — upload reference files.

CommandDescription
uploadUpload a reference file to get a file_token
Config

Configuration management — API key and settings.

CommandDescription
setSet a configuration value
getGet a configuration value (or show all)
deleteDelete a configuration value
pathShow the config file path
Session

Session management — history, undo, redo.

CommandDescription
statusShow session status
historyShow command history
undoUndo last command
redoRedo last undone command

Examples

Show full SKILL.md (143 more words)Show less
Create a New Project

Create a new anygen project file.

bash
cli-anything-anygen project new -o myproject.json
# Or with JSON output for programmatic use
cli-anything-anygen --json project new -o myproject.json
Interactive REPL Session

Start an interactive session with undo/redo support.

bash
cli-anything-anygen
# Enter commands interactively
# Use 'help' to see available commands
# Use 'undo' and 'redo' for history navigation

State Management

The CLI maintains session state with:

  • Undo/Redo: Up to 50 levels of history
  • Project persistence: Save/load project state as JSON
  • Session tracking: Track modifications and changes

Output Formats

All commands support dual output modes:

  • Human-readable (default): Tables, colors, formatted text
  • Machine-readable (--json flag): Structured JSON for agent consumption
bash
# Human output
cli-anything-anygen project info -p project.json

# JSON output for agents
cli-anything-anygen --json project info -p project.json

For AI Agents

When using this CLI programmatically:

  1. Always use --json flag for parseable output
  2. Check return codes - 0 for success, non-zero for errors
  3. Parse stderr for error messages on failure
  4. Use absolute paths for all file operations
  5. Verify outputs exist after export operations

More Information

  • Full documentation: See README.md in the package
  • Test coverage: See TEST.md in the package
  • Methodology: See HARNESS.md in the cli-anything-plugin

Version

1.0.0

© HKUDS, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/cli-anything-anygen of HKUDS/CLI-Anything.

Open the folder on GitHubat commit 34f5195

Compare with similar skills

AnyGen CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AnyGen CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AnyGen CLI this skillHKUDS/CLI-Anything52k—~996Automated safety check: PassApache-2.0
PPT Masterhugohe3/ppt-master58k1 repos~2.5kAutomated safety check: PassMIT
Word Document Reader and WriterHKUDS/DeepTutor41k—~2.5kAutomated safety check: PassApache-2.0
Image to Editable PPTXYuan1z0825/nature-skills47k—~2.5kAutomated safety check: PassMIT
Open Kimi Pptjinwyp/open-ppt-skill1592 repos~5.1kAutomated safety check: PassMIT
McKinsey-Style PPT Designlikaku/Mck-ppt-design-skill297—~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    58k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Image to Editable PPTX

    Yuan1z0825/nature-skills

    Rebuilds slide images, screenshots, scanned PDFs or image-only PPTX files as PowerPoint with editable objects, using a local CLI with per-page manifests and QA.

    47k GitHub stars~2.5k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Open Kimi Ppt

    jinwyp/open-ppt-skill

    Create, edit, replicate, read, and export presentations. An agent skill from jinwyp/open-ppt-skill.

    159 GitHub starsUsed in 2 repos~5.1k tokens
    Documents & OfficeAuto-check passed
  • McKinsey-Style PPT Design

    likaku/Mck-ppt-design-skill

    Builds consultant-style PowerPoint decks from scratch with the MckEngine python-pptx wrapper, through a five-stage flow with scripted quality gates.

    297 GitHub stars~2.1k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed
  • Markdown to HTML Report

    MegaSuperKitty/WeClaw

    Drafts a report in Markdown with numbered inline citations and a references section, then renders it to a styled HTML file through a Jinja2 template on Windows.

    370 GitHub stars~456 tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed

More from HKUDS/CLI-Anything

All 78 skills in this repo
  • CLI-Anything for Codex

    HKUDS/CLI-Anything

    Lets Codex build, refine, test, validate and list CLI-Anything harnesses for GUI applications or source repositories, following the project's full methodology.

    52k GitHub stars~1.5k tokensUpdated 18 days ago
    Auto-check passed
  • CLI-Anything for Reasonix

    HKUDS/CLI-Anything

    Adapts the CLI-Anything methodology so Reasonix can build, refine, test and validate a command-line harness for an existing GUI application or source repository.

    52k GitHub stars~1.8k tokensUpdated 18 days ago
    Auto-check passed
  • Guides Hermes Agent through building, refining and testing a CLI-Anything harness that wraps a GUI application or source repository in a scriptable command line.

    52k GitHub stars~1.1k tokensUpdated 18 days ago
    Auto-check passed
  • Builds, refines, tests or validates a CLI-Anything harness that wraps a GUI application or source repository as a stateful Click CLI with JSON output and a REPL mode.

    52k GitHub stars~839 tokensUpdated 18 days ago
    Auto-check passed
  • Krita CLI Harness

    HKUDS/CLI-Anything

    Drives Krita from the command line to create projects, add layers, apply filters, resize the canvas and export images, with JSON output for agents.

    52k GitHub stars~931 tokensUpdated 18 days ago
    Auto-check passed
  • MacroCLI GUI Macros

    HKUDS/CLI-Anything

    Defines, lists, inspects and runs parameterized GUI macros from the command line, with the runtime choosing the execution backend.

    52k GitHub stars~1.4k tokensUpdated 18 days ago
    Auto-check passed

Works with

Questions about AnyGen CLI

What does AnyGen CLI do?

A stateful command-line client for the AnyGen API that creates slides, documents, websites and diagrams from text prompts, with task, file, config and session commands. This skill wraps the cli-anything-anygen package, a command-line interface to the AnyGen API aimed at agents and advanced users. Task commands create a generation job, check its status without blocking, poll until it finishes, download the file or a thumbnail, run the whole create, poll and download flow at once, list locally cached tasks, and prepare a request through multi-turn requirement analysis.

When should I use AnyGen CLI?

AnyGen CLI fits situations like: generating a slide deck or document from a prompt through the AnyGen service; scripting create, poll and download steps for generated files; uploading a reference file and tracking several generation tasks.

How do I install AnyGen CLI in Claude Code?

Run `npx skills add HKUDS/CLI-Anything --skill cli-anything-anygen -a claude-code`. Or copy the skill folder (skills/cli-anything-anygen in HKUDS/CLI-Anything) into .claude/skills/cli-anything-anygen in your project. Claude Code loads it when a task matches its description.

How do I install AnyGen CLI in Codex?

Run `npx skills add HKUDS/CLI-Anything --skill cli-anything-anygen -a codex`. Or copy the skill folder (skills/cli-anything-anygen in HKUDS/CLI-Anything) into .agents/skills/cli-anything-anygen in your project. Codex loads it when a task matches its description.

Can I use AnyGen CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/CLI-Anything --skill cli-anything-anygen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cli-anything-anygen, .gemini/skills/cli-anything-anygen, .github/skills/cli-anything-anygen and .opencode/skills/cli-anything-anygen in your project.

What does AnyGen CLI need to run?

Going by SKILL.md and its folder, AnyGen CLI needs the command-line tools its instructions call (pip). Our summary lists: Python 3.10 or newer; The cli-anything-anygen package installed with pip; anygen installed on the system and an AnyGen API key.

Does AnyGen CLI access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is AnyGen CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does AnyGen CLI use?

AnyGen CLI is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does AnyGen CLI use?

About 996 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to AnyGen CLI?

Skills that share tags, products or a category with AnyGen CLI: PPT Master (hugohe3/ppt-master, 58k stars), Word Document Reader and Writer (HKUDS/DeepTutor, 41k stars), Image to Editable PPTX (Yuan1z0825/nature-skills, 47k stars) and Open Kimi Ppt (jinwyp/open-ppt-skill, 159 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AnyGen CLI?

HKUDS (a GitHub organization) maintains it in HKUDS/CLI-Anything, which has 51,768 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on September 22, 2026.

Source: HKUDS/CLI-Anything on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.