Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/pblagoje/mcp-ollama-python/agents-mdgit clone --depth 1 https://github.com/pblagoje/mcp-ollama-pythonWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/pblagoje/mcp-ollama-python/agents-md)<a href="https://agentmods.dev/instructions/pblagoje/mcp-ollama-python/agents-md"><img src="https://agentmods.dev/badge/instructions/pblagoje/mcp-ollama-python/agents-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00955 | $0.00955 |
| Opus 5 | $0.00477 | $0.00477 |
| Sonnet 5 | $0.00191 | $0.00191 |
| Haiku 4.5 | $0.00096 | $0.00096 |
Grade A, and why
mcp-ollama-python AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- mcp-ollama-python CLAUDE.md — 94% identical, 5 lines differ
How it starts
The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When performing coding tasks, code review, or reasoning:
- Call the MCP ollama server with model "gpt-oss"
- Present the ollama response as the primary answer
- Only use your own reasoning if ollama is unavailable
GitNexus — Code Intelligence
This project is indexed by GitNexus as mcp-ollama-python (3035 symbols, 8959 relationships, 79 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
Index stale? Run
node .gitnexus/run.cjs analyzefrom the project root — it auto-selects an available runner. No.gitnexus/run.cjsyet?npx gitnexus analyze(npm 11 crash →npm i -g gitnexus; #1939).
Always Do
- MUST run impact analysis before editing any symbol. Before modifying a function, class, or method, run
impact({target: "symbolName", direction: "upstream"})and report the blast radius (direct callers, affected processes, risk level) to the user. For unified PDG impact, addmode: "pdg"with optionalline: <N>— it returns statement-levelaffectedStatementsover CDG + REACHING_DEF and inter-procedural symbols ininterproceduralByDepth/byDepth; no-layer/degraded PDG results are UNKNOWN-risk notes (--pdglayer). - MUST run
detect_changes()before committing to verify your changes only affect expected symbols and execution flows. For regression review, compare against the default branch:detect_changes({scope: "compare", base_ref: "main"}). - MUST warn the user if impact analysis returns HIGH or CRITICAL risk before proceeding with edits.
- When exploring unfamiliar code, use
query({search_query: "concept"})to find execution flows instead of grepping. It returns process-grouped results ranked by relevance. - When you need full context on a specific symbol — callers, callees, which execution flows it participates in — use
context({name: "symbolName"}). - For security review,
explain({target: "fileOrSymbol"})lists taint findings (source→sink flows; needsanalyze --pdg). - For control/data dependence,
pdg_query({mode: "controls", target: "fileOrSymbol"})answers "under what condition does X run?" (CDG, incl. guard clauses) andpdg_query({mode: "flows", target, variable})traces "where does variable Y flow?" (REACHING_DEF).--pdglayer.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 51 lines · 955 tokens per session scan A e4dd153a5e1a
mcp-ollama-python AGENTS.md is an instructions file published in the GitHub repository pblagoje/mcp-ollama-python (5 stars, last pushed 11d ago), licensed MIT. It adds 955 tokens to every session, about $0.0048 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
Ollama-Workbench CLAUDE.md
Instructions for marc-shade/Ollama-Workbench, covering claude.md, project overview, commands, run the app (recommended - handles ollama server startup) and run manually.
agent-skills AGENTS.md
AGENTS.md instructions for helderberto/agent-skills, covering agents.md, repository overview, project structure, integration model and opencode integration.
ai-prompts AGENTS.md
Instructions for liatrio-labs/ai-prompts, covering ai agent instructions, context marker, local skill scripts, standard workflow and initialize.
locode AGENTS.md
Instructions for chocks/locode, covering locode — agent guidelines, project overview, architecture, development rules and testing.
comfy-prompt-studio AGENTS.md
Instructions for yxhpy/comfy-prompt-studio, covering agents.md - ai 代理配置文档, ai 提供商, 1. ollama (默认), 2. gemini and 提示词生成服务.
local_faiss_mcp CLAUDE.md
Instructions for nonatofabio/local_faiss_mcp, covering claude.md, project overview, architecture, key design principles and development commands.