
Ollama Command-Line Helper
Lets an agent manage local Ollama models and run text generation, chat and embeddings from the terminal.
- Repository
- HKUDS/CLI-Anything
- Stars
- 58,084
- Licence
- Apache-2.0
- Files
- 1 file
What it does
This skill teaches an AI agent to use a command-line tool called cli-anything-ollama, which talks to Ollama, a program that runs large language models on your own computer. Once installed, the agent can list, download, inspect and delete local models, send prompts or chat messages to them, and create text embeddings, all through terminal commands with machine-readable JSON output.
Great for
- Developers who run Ollama locally and want an agent to script model management
- Data users who need embeddings generated from a local model without a GUI
- People who want an agent to drive a local Ollama server on another machine on their network
Skip it if
- Users who do not have Ollama installed, since the tool only works against a running Ollama server
- Situations needing a hosted cloud model API, because this skill targets the local Ollama REST API
- Anyone who wants to install the package on a machine they do not control, since it is installed via pip and can change files and models on that system
Try asking
- “Check whether Ollama is running and list the models I have installed”
- “Pull the llama3.2 model and show its details”
- “Generate an embedding for these three sentences using nomic-embed-text and return JSON”
- “Ask the local llama3.2 model a question and give me the complete non-streaming answer”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.
skills.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip skills.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip skills.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Run the server status check before other commands, as the skill itself recommends
- Use --json and --no-stream when the agent needs parseable, complete output
- Be careful with model rm and copy, since deletions from local storage cannot be undone by the skill
What's inside
- SKILL.md
Redistributed unmodified from HKUDS/CLI-Anything under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.