ollama-conventions
Skill7 starsChanged 5 days agoMITView on GitHub
Picking a model for Ollama or local inference. TRIGGER when: setting up Ollama; code or compose files that pull or run an Ollama model (`ollama pull`/`run`, `/api/chat`, `/api/generate`, `/api/embed`, `OLLAMA_*`, a `Modelfile`); choosing a local model tag; user asks which model to use with Ollama or self-hosted LLMs. SKIP when: a hosted provider only. The model-selection study is skipped when the user already chose the model.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- leroyguillaume/claudeword for word, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 1
- leroyguillaume/claude★ 7100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- adr-conventionsSkill
- api-conventionsSkill
- architecture-conventionsSkill
- argocd-conventionsSkill
- ci-conventionsSkill
- config-conventionsSkill
- contributing-conventionsSkill
- councilSkill
- cryptography-conventionsSkill
- dependency-update-conventionsSkill
- diagram-conventionsSkill
- docker-conventionsSkill
- documentation-conventionsSkill
- frontend-conventionsSkill
- github-actions-conventionsSkill
- github-issue-conventionsSkill
- github-pr-conventionsSkill
- github-repo-settingsSkill
- gitlab-ci-conventionsSkill
- helm-conventionsSkill
- herdr-core-delegationSkill
- herdr-delegationSkill
- herdr-tui-delegationSkill
- kopf-conventionsSkill
- kubernetes-operator-conventionsSkill
- logging-conventionsSkill
- logo-conventionsSkill
- mise-conventionsSkill
- openssf-conventionsSkill
- pr-conventionsSkill
- pre-commit-conventionsSkill
- project-metadata-conventionsSkill
- python-async-conventionsSkill
- python-conventionsSkill
- readme-conventionsSkill
- release-script-conventionsSkill
- release-supply-chain-conventionsSkill
- renovate-ci-conventionsSkill
- rest-conventionsSkill
- rust-build-conventionsSkill
- rust-conventionsSkill
- rust-http-conventionsSkill
- security-policy-conventionsSkill
- signal-handling-conventionsSkill
- sql-conventionsSkill
- starlight-conventionsSkill
- systemd-conventionsSkill
- system-user-conventionsSkill
- task-conventionsSkill
- terraform-conventionsSkill
- topic-splittingSkill
- ui-copy-conventionsSkill
- web-layout-conventionsSkill
- yaml-conventionsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
When the user asks you to pick, suggest, or hard-code an Ollama model — or when you would otherwise reach for a default tag — run a fresh …
- Very specific: line 36
What's new on Ollama: check the Ollama model library (https://ollama.com/library) and recent model announcements — the tag has to actually …
- Distinctive: line 42
Ask for or infer the available memory if it isn't obvious.
- Distinctive: line 43
Cite what you found: When you give the recommendation, briefly say *which benchmarks* and *how recent* they are, and name a runner-up.
- Distinctive: line 52
If web access is unavailable, say so and flag that the suggestion is from possibly-stale memory — don't present a remembered model as a …
- Very specific: line 60
Don't pin
:latest: Always use an explicit, reproducible model tag in code, compose files, Modelfiles, and docs. - Very specific: line 62
Document the choice: When you commit a model tag, leave a one-line note in ARCHITECTURE.md of *why* in terms of the task it serves.
≈ “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 conventions
Never recommend a model from memory
Local-model leaderboards move every few weeks: new releases, new quantizations, new fine-tunes. Whatever you "remember" as the best 7B/13B/70B is almost certainly stale. Before you name a model, do the homework.
When the user asks you to pick, suggest, or hard-code an Ollama model — or when you would otherwise reach for a default tag — run a fresh benchmark study first. This is non-negotiable for any recommendation; it does not apply when the user already told you exactly which model to use.
The study (do this before recommending)
- Search the web for current benchmarks and the latest releases, and
cross-check several sources when the choice is high-stakes. Cover at least:
- The task the user actually has — code, chat, reasoning, RAG/retrieval, embeddings, vision, tool/function calling, long context, non-English. A model that tops a chat leaderboard can be mediocre at code.
- Recent leaderboards and evals: LMArena, Artificial Analysis, LiveBench, task-specific evals (HumanEval / MBPP / LiveCodeBench / SWE-bench for code, MMLU / GPQA / MATH for reasoning, MTEB for embeddings, etc.).
- What's new on Ollama: check the Ollama model library
(
https://ollama.com/library) and recent model announcements — the tag has to actually exist and be pullable.
- Match the model to the hardware. A benchmark winner the user can't run
is useless. Account for parameter count, the quantization that fits
their VRAM/RAM (
q4_K_M,q5_K_M,q8_0, …), and context-window needs. Ask for or infer the available memory if it isn't obvious. - Cite what you found. When you give the recommendation, briefly say which benchmarks and how recent they are, and name a runner-up. The user should see the evidence, not just the verdict. Note the benchmark date — "as of <month/year>" — in the reply, so it's clear the data has a shelf life.
- Pin an exact tag. Recommend and hard-code a concrete, reproducible tag
(shaped
<family>:<size>-<variant>-<quant>, as listed on the model's page), never a floating:latest.
If web access is unavailable, say so and flag that the suggestion is from possibly-stale memory — don't present a remembered model as a current best.
Plumbing conventions
- Configuration via env vars. Honour
OLLAMA_HOSTand the standardOLLAMA_*names as they are — they are upstream's, not yours to rename or prefix. Your own variables followconfig-conventions. - Don't pin
:latest. Always use an explicit, reproducible model tag in code, compose files, Modelfiles, and docs. - Document the choice. When you commit a model tag, leave a one-line note
in
ARCHITECTURE.mdof why in terms of the task it serves. The benchmark snapshot and its date go in the commit message or PR description, never in the file — a dated ranking in a doc is stale the week it lands. - Embeddings go through
/api/embed, which takes a batchinput;/api/embeddingsis superseded upstream.
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.

