cli-anything-generator
Build, refine, test, validate, or list CLI-Anything harnesses for GUI applications in Cursor. Prefer slash commands…
Command-line interface for Ollama - Local LLM inference and model management via Ollama REST API. Designed for AI agents and power users who need to manage models, generate text, chat, and create embeddings without a GUI.
Claude Code
$ npx -y skills add HKUDS/CLI-Anything --skill cli-anything-ollama --agent claude-code
Codex
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-ollama -a codex -y
Cursor
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-ollama -a cursor -y
Gemini CLI
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-ollama -a gemini-cli -y
GitHub Copilot
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-ollama -a github-copilot -y
OpenCode
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-ollama -a opencode -y
Windsurf
$ npx skills add HKUDS/CLI-Anything --skill cli-anything-ollama -a windsurf -y
name: "cli-anything-ollama" description: >- Command-line interface for Ollama - Local LLM inference and model management via Ollama REST API. Designed for AI agents and power users who need to manage models, generate text, chat, and create embeddings without a GUI.
Local LLM inference and model management via the Ollama REST API. Designed for AI agents and power users who need to manage models, generate text, chat, and create embeddings without a GUI.
This CLI is installed as part of the cli-anything-ollama package:
pip install cli-anything-ollama
**Prerequisites:**
# Show help cli-anything-ollama --help # Start interactive REPL mode cli-anything-ollama # List available models cli-anything-ollama model list # Run with JSON output (for agent consumption) cli-anything-ollama --json model list
When invoked without a subcommand, the CLI enters an interactive REPL session:
cli-anything-ollama # Enter commands interactively with tab-completion and history
Model management commands.
| Command | Description | |---------|-------------| | `list` | List locally available models | | `show` | Show model details (parameters, template, license) | | `pull` | Download a model from the Ollama library | | `rm` | Delete a model from local storage | | `copy` | Copy a model to a new name | | `ps` | List models currently loaded in memory |
Text generation and chat commands.
| Command | Description | |---------|-------------| | `text` | Generate text from a prompt | | `chat` | Send a chat completion request |
Embedding generation commands.
| Command | Description | |---------|-------------| | `text` | Generate embeddings for text |
Server status and info commands.
| Command | Description | |---------|-------------| | `status` | Check if Ollama server is running | | `version` | Show Ollama server version |
Session state commands.
| Command | Description | |---------|-------------| | `status` | Show current session state | | `history` | Show chat history for current session |
# List available models cli-anything-ollama model list # Pull a model cli-anything-ollama model pull llama3.2 # Show model details cli-anything-ollama model show llama3.2
# Stream text (default) cli-anything-ollama generate text --model llama3.2 --prompt "Explain quantum computing in one sentence" # Non-streaming with JSON output (for agents) cli-anything-ollama --json generate text --model llama3.2 --prompt "Hello" --no-stream
# Single-turn chat cli-anything-ollama generate chat --model llama3.2 --message "user:What is Python?" # Multi-turn chat cli-anything-ollama generate chat --model llama3.2 \ --message "user:What is Python?" \ --message "user:How does it compare to JavaScript?" # Chat from JSON file cli-anything-ollama generate chat --model llama3.2 --file messages.json
cli-anything-ollama embed text --model nomic-embed-text --input "Hello world" cli-anything-ollama embed text --model nomic-embed-text --input "Hello" --input "World"
Start an interactive session for exploratory use.
cli-anything-ollama # Enter commands interactively # Use 'help' to see available commands
cli-anything-ollama --host http://192.168.1.100:11434 model list
The CLI maintains lightweight session state:
All commands support dual output modes:
# Human output cli-anything-ollama model list # JSON output for agents cli-anything-ollama --json model list
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 `--no-stream`** for generate/chat to get complete responses 5. **Verify Ollama is running** with `server status` before other commands
1.0.1
"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
Build, refine, test, validate, or list CLI-Anything harnesses for GUI applications in Cursor. Prefer slash commands…
Firefly III CLI - Personal finance management via CLI-Anything
Use OpenRefine through an agent-native CLI for importing messy data, applying JSON operation histories, inspecting rows,…
Command-line interface for AdGuard Home - Network-wide ad blocking and DNS management via AdGuard Home REST API. Designed for AI…
Command-line interface for Anygen - A stateful command-line interface for AnyGen OpenAPI — generate professional slides,…
Command-line interface for Audacity - A stateful command-line interface for audio editing, following the same patterns as the…
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a…
Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on…
Set up a new integration, connector, or CLI binding for any API. Wrap or generate a ship-ready Go CLI from an OpenAPI, HAR, or…
MANDATORY: Replaces ALL built-in search tools. You MUST invoke this skill BEFORE using WebSearch, Grep, or Glob. NEVER use the…