cli-anything-ollama
Skill by HKUDS
cli-anything-ollama is a command-line interface for managing local LLMs and running inference through the Ollama REST API. It is built for AI agents and power users who want to work without a GUI.
Install cli-anything-ollama
Built from the published package, never by AI.
git clone --depth 1 https://github.com/HKUDS/CLI-Anything /tmp/CLI-Anything && mkdir -p ~/.claude/skills && cp -r /tmp/CLI-Anything/ollama/agent-harness/cli_anything/ollama/skills ~/.claude/skills/cli-anything-ollamaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/HKUDS/CLI-Anything /tmp/CLI-Anything && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/CLI-Anything/ollama/agent-harness/cli_anything/ollama/skills ~/.gemini/antigravity-cli/skills/cli-anything-ollamaAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install cli-anything-ollama in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
cli-anything-ollama is a command-line interface for Ollama, a tool for local LLM inference. It works through the Ollama REST API and covers model management, including listing, showing, pulling, removing, copying and checking loaded models. It also generates text, runs chat completions, and creates embeddings. The --host option lets it connect to a remote Ollama host.
Every command supports a human-readable default output and a --json flag for structured output. The source says it is designed for AI agents and power users who need to work without a GUI. It also offers an interactive REPL with tab-completion and history, and it keeps lightweight session state such as the host URL, chat history and the last used model. It is installed with pip and requires Python 3.10+ and a running Ollama server.
Written from the project's SKILL.md and checked against it.
What it can do
- Model managementList, show, pull, remove, copy and check models loaded in memory.
- Text generationGenerate text from a prompt, streaming by default or with --no-stream.
- ChatSend single-turn or multi-turn chat requests, or load messages from a JSON file.
- EmbeddingsGenerate embeddings for one or more text inputs with an embedding model.
- Server statusCheck whether the Ollama server is running and show its version.
- Session stateShow current session state and chat history for the REPL.
- Interactive REPLEnter commands interactively with tab-completion and history.
What you need
- Python 3.10+
- Ollama installed and running (ollama serve)
Try asking
- List the Ollama models installed on this machine.
- Create embeddings for this text with nomic-embed-text.
- Ask llama3.2 a question and return the response as JSON.
Good to know
- Ollama must be installed and running before other commands work.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: ollama/agent-harness/cli_anything/ollama/skills/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to cli-anything-ollama
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
cli-anything-ollama: common questions
Does cli-anything-ollama need a GUI?
No. The source says it is designed to manage models, generate text, chat and create embeddings without a GUI.
Can it connect to a remote Ollama server?
Yes. The --host option sets the server URL, for example http://192.168.1.100:11434.
How can an agent get machine-readable output?
Add the --json flag, use --no-stream for complete responses, and check return codes for success or failure.
How do I install cli-anything-ollama?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cli-anything-ollama free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is cli-anything-ollama safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cli-anything-ollama?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
