Setup Ollama
Install and configure Ollama for local AI models
- Type
- Slash Command
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
What Setup Ollama is
Setup Ollama is a slash command published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Setup Ollama gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Setup Ollama
Claude Code
- Download setup-ollama.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/ai-ml/ollama-local-ai/commands/setup-ollama.md, shared under the repository's MIT license. Read the full file on GitHub.
I'll help you install and configure Ollama for free, local AI model deployment.
Step 1: Detect Operating System
Let me check your system:
uname -sStep 2: Install Ollama
For macOS:
# Using Homebrew (recommended)
brew install ollama
# Start Ollama service
brew services start ollamaFor Linux:
# Official installation script
curl -fsSL https://ollama.com/install.sh | sh
# Start service
sudo systemctl start ollama
sudo systemctl enable ollamaFor Windows:
Download installer from: https://ollama.com/download/windows
Step 3: Verify Installation
ollama --versionStep 4: Pull Recommended Models
# General purpose (4GB)
ollama pull llama3.2
# Code generation (20GB)
ollama pull codellama
# Fast and efficient (4GB)
ollama pull mistralStep 5: Test Model
# Interactive chat
ollama run llama3.2
# Or quick test
echo "Write a hello world in Python" | ollama run llama3.2Step 6: Configure API Access
Ollama runs on http://localhost:11434 by default.
Test the API:
curl http://localhost:11434/api/generate -d '{
"model": "llama3.2",
"prompt": "Why is the sky blue?"
}'Optional: GPU Acceleration
NVIDIA GPU:
# Check GPU availability
nvidia-smi
# Ollama automatically uses CUDA if availableApple Silicon:
# Metal acceleration is automatic on M1/M2/M3Next Steps
- ✅ Ollama installed and running
- ✅ Models downloaded
- ✅ API tested
You can now use Ollama in your projects:
- Python: pip install ollama
- Node.js: npm install ollama
- Direct API calls to http://localhost:11434
Cost savings: You just eliminated $30-200/month in API fees! 🎉
Need help integrating Ollama into your project? Ask me!
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Setup Ollama?
Setup Ollama is a slash command for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Install and configure Ollama for local AI models
How do I install Setup Ollama in Claude Code?
Download setup-ollama.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Setup Ollama in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Setup Ollama safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Rollback Deploy Manage and execute deployment rollbacks with safety checks Slash Command · jeremylongshore/tons-of-skills-marketplace
- Roi Calculator Calculate and present ROI for AI automation projects Plugin · jeremylongshore/tons-of-skills-marketplace
- Salesforce Pack Governed Salesforce operator workflows for API access, data, events, security, delivery, and production operations. Use when authenticating to a Salesforce org, querying or moving data, deploying metadata, handling events, or operating a production change. Plugin · jeremylongshore/tons-of-skills-marketplace
- Runway Pack Operator-grade Runway Dev workflows for secure, model-aware, asynchronous media generation (18 skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Setup Synthetic Monitoring Set up synthetic monitoring for application Slash Command · jeremylongshore/tons-of-skills-marketplace
- Setup Interactive project onboarding - creates project-goals.md and project-map.md Slash Command · jeremylongshore/tons-of-skills-marketplace
- Severity Classify Classify an issue, finding, or vulnerability by severity level (S1-S4) Slash Command · jeremylongshore/tons-of-skills-marketplace
- Service Mesh Configure service mesh (Istio, Linkerd) for microservices Slash Command · jeremylongshore/tons-of-skills-marketplace