ollama-deploy
Skill1 starsChanged 2 months agoMITView on GitHub
Deploy and manage Ollama LLM on fleet hosts. Use when user mentions ollama, LLM, AI model, or language model deployment.
In this repository114 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ac-ideateSkill
- ac-listSkill
- ac-roadmapSkill
- agentbridge-mcpSkill
- almanacSkill
- almquist-shellSkill
- ansible-fleetSkill
- apfsSkill
- apple-siliconSkill
- arena-actorsSkill
- asustor-nasSkill
- a-teamSkill
- atem-miniSkill
- at-tuiSkill
- autoresearchSkill
- babysitSkill
- bonzibuddySkill
- bop-brainstormSkill
- bop-catalogSkill
- bop-onSkill
- bop-teamSkill
- bop-workflowSkill
- bsd-dog-opsSkill
- bsd-portabilitySkill
- code-refactoringSkill
- codex-personasSkill
- context-graphSkill
- councilSkill
- datadog-backupSkill
- dd-tagsSkill
- delegateSkill
- deming-pdsaSkill
- deterministic-replaySkill
- dispatch-nuSkill
- durable-commitSkill
- elixir-gastown-opsSkill
- ergo-ircSkill
- esp32-tang-bridgeSkill
- fleet-evalSkill
- fleet-ircSkill
- freebsd-build-vmSkill
- freebsd-piSkill
- freebsdSkill
- ganttSkill
- gastown-opsSkill
- gastown-slingSkill
- gh-authSkill
- gitea-releaseSkill
- gitea-runnerSkill
- henshuSkill
- irclaw-cluster-opsSkill
- irclaw-research-teamSkill
- irc-taskSkill
- jail-factorySkill
- jjSkill
- jobcard-systemSkill
- kubernetesSkill
- leptosSkill
- loreSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill for deploying and managing Ollama (local LLM runtime) on fleet hosts.
- Distinctive: line 16
Bash: - Run ollama commands, systemctl
- Distinctive: line 20
Read: - Check configs, model availability
- Distinctive: line 21
Write/Edit: - Create systemd units, configs
- Distinctive: line 44
After installing Ollama binary, pull models:
- Very specific: line 75
Fix: Run ollama pull as ubuntu user or directly without become_user
- Distinctive: line 87
Audit first: Check if Ollama already installed
- Distinctive: line 89
Extract & start: Use systemd
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ollama Deployment Skill
Overview
Use this skill for deploying and managing Ollama (local LLM runtime) on fleet hosts.
Tools Required
- Bash - Run ollama commands, systemctl
- SSH - Connect to hosts for direct access
- WebFetch - Download Ollama binaries, check releases
- Glob/Grep - Find existing Ollama installations
- Read - Check configs, model availability
- Write/Edit - Create systemd units, configs
Key Principles
1. Architecture Matters
- Raspberry Pis: use
ollama-linux-arm64.tgz - x86_64 hosts: use
ollama-linux-amd64.tgz - Verify with:
file /usr/local/bin/ollama
2. Staged Downloads for Large Files
Ollama binary is ~1.6GB. Download once locally, then distribute:
# Download to controller
curl -fsSL https://github.com/ollama/ollama/releases/download/v0.13.1/ollama-linux-arm64.tgz -o /tmp/ollama.tgz
# Distribute via Ansible copy (parallel, fast LAN)
ansible <hosts> -i inventory -b -m copy -a "src=/tmp/ollama.tgz dest=/tmp/ollama.tgz"
# Extract on hosts
ansible <hosts> -i inventory -b -m shell -a "tar -xzf /tmp/ollama.tgz -C /usr/local"3. Models Need Separate Pull
After installing Ollama binary, pull models:
ansible <hosts> -i inventory -b -m shell -a "/usr/local/bin/ollama pull kimi-k2.5:cloud"4. Use Systemd for Service Management
ansible <hosts> -i inventory -b -m systemd -a "name=ollama state=started enabled=yes"Common Playbooks
Install Ollama
ansible-playbook -i inventory 02-ollama.ymlCheck Status
ansible <hosts> -i inventory -m shell -a "/usr/local/bin/ollama list"
ansible <hosts> -i inventory -m systemd -a "name=ollama state=started"Known Issues
Wrong Architecture
- Problem: juju4.ollama role downloads AMD64 by default
- Fix: Manually specify ARM64 URL in playbook
Model Download Fails
- Problem: Permission errors when running
ollama pullas _ollama user - Fix: Run
ollama pullas ubuntu user or directly without become_user
Service Not Starting
- Check:
journalctl -u ollama -n 50 - Verify binary:
file /usr/local/bin/ollama
Reference Files
$HOME/rust-town/irclaw/ansible/02-ollama.ymlUsage
- Audit first: Check if Ollama already installed
- Stage download: Get binary once, distribute
- Extract & start: Use systemd
- Pull models: Pull required models (kimi-k2.5:cloud)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

