Agent skill · software engineering · hkuds

cli-anything-macrocli

Use when the agent wants to define, list, inspect, or execute GUI macros via the MacroCLI CLI. Macros are parameterized, CLI-callable workflows — the agent invokes `macro run <name>` and the system handles backend routing (plugin, file transform, accessibility, compiled GUI replay).

Why this skill is useful

Adds executable CLI commands for defining and executing GUI macros, enabling automation of complex workflows that the AI cannot generate on its own.

What it needs

Requires click, prompt-toolkit, python, pyyaml installed locally. About 3k tokens when loaded. Last updated 2026-08-03. 46,739 stars on the source repository.

What this skill does

MacroCLI CLI What It Is The MacroCLI converts valuable GUI workflows into parameterized, CLI-callable macros. Agents never touch the GUI directly — they call macros through this stable CLI, and the runtime routes execution to the best available backend (native plugin/API, file transformation, semantic UI control, or precompiled GUI macro replay). Installation Requirements: Python 3.10+, PyYAML, click, prompt-toolkit. Quick Start (for agents) Command Reference Global Flags Flag Description ------ ------------- --json Machine-readable JSON output on stdout --dry-run Simulate all steps, skip side effects --session-id <id> Resume or create a named session macro group Command Description --------- ------------- macro list List all available macros macro info <name> Show macro schema (parameters, steps, conditions) macro run <name> --param k=v Execute a macro macro dry-run <name> --param k=v Simulate without side effects macro validate [name] Structural validation macro define <name> Scaffold a new macro YAML session group Command Description --------- ------------- session status Show session statistics session history Show recent run history session save Persist session to disk session list List all saved sessions backends Macro Parameters Pass parameters with --param key=value. Repeat for multiple: Output Format (--json) All commands output JSON when --json is set: On failure ("success": false), read the "error" field for the reason. Exit code is 1 on failure. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills hkuds/cli-anything-macrocli

View the source on GitHub

Browse the @skills marketplace