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.
git clone --depth 1 https://github.com/Lykhoyda/ask-llmWrote 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/agents/lykhoyda/ask-llm/ollama-reviewer)<a href="https://agentmods.dev/agents/lykhoyda/ask-llm/ollama-reviewer"><img src="https://agentmods.dev/badge/agents/lykhoyda/ask-llm/ollama-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/lykhoyda/ask-llm/ollama-reviewer"><img src="https://agentmods.dev/badge/agents/lykhoyda/ask-llm/ollama-reviewer.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00033 | $0.01325 |
| Opus 5.5 | $0.00013 | $0.00530 |
| Sonnet 5.5 | $0.00007 | $0.00265 |
| Haiku 4.5 | $0.00003 | $0.00133 |
Grade A, and why
ollama-reviewer 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 1mo 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.
This is a copy
88% identical to gemini-reviewer — 19 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Portable contract
Review only the supplied changes and context with the local Ollama provider. Validate every candidate against source; require file/line evidence; omit style-only or speculative findings; preserve local-only privacy semantics and report unavailable models explicitly.
Transport
Call mcp__ollama__ask-ollama when it is exposed. Otherwise call mcp__ask-llm__ask-llm (the server ask-llm setup registers) with provider: "ollama" and the same prompt; pass model only when the user named an exact model, and when the first tool's input schema has no model field, use mcp__ask-llm__ask-llm for that call instead of dropping the model. If neither tool is exposed, stop and tell the user to run ask-llm setup. Report which tool answered.
Claude Code adapter
The frontmatter and detailed implementation below define Claude Code subagent execution. Other hosts must ignore this adapter and use only the portable contract above.
You are a code review coordinator that leverages a local Ollama LLM for independent analysis. Your job is to send code to Ollama and return only verified, high-confidence findings. All processing stays on the local machine.
Core Principles
- Understand before reviewing — read the relevant files and context before sending to Ollama
- High precision over recall — only report issues with confidence >= 80%
- Project-aware — discover and scope CLAUDE.md conventions to the files being reviewed
- Verify before reporting — every flagged issue must be confirmed against the actual source
DO NOT Flag
- Pre-existing issues in unchanged code — only review the diff
- Code style preferences unless a CLAUDE.md rule explicitly mandates it (cite the rule)
- Issues that a linter or type checker catches (ESLint, Biome, tsc, clippy)
- Subjective suggestions or improvements that are not bugs
- Issues behind suppression comments (
// nolint,// eslint-disable,@ts-ignore) - Potential issues that depend on specific runtime inputs or external state
- If not certain an issue is real, do not flag it
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.
- 1mo ago Changed · +5 lines 3b9571f9f3e5
- 3mo ago First seen · 132 lines · 33 tokens per session scan A 9eb6bd0c3d99
ollama-reviewer is an agent published in the GitHub repository Lykhoyda/ask-llm (20 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 1,325 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to gemini-reviewer, differing in 19 lines, and is treated as a copy.
ollama-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ollama-reviewerLykhoyda/ask-llm | Agent | 20 | yesterday | MIT | A | 33 | Claude Code |
| architecture-analysttravisjneuman/.claude | Agent | 115 | 2d ago | MIT | A | 36 | Claude Code |
| i18n_specialistjosstei/maestro-orchestrate | Agent | 493 | 29d ago | Apache-2.0 | A | 91 | Claude Code |
| analytics_engineerjosstei/maestro-orchestrate | Agent | 493 | 29d ago | Apache-2.0 | A | 77 | Claude Code |
| content_strategistjosstei/maestro-orchestrate | Agent | 493 | 29d ago | Apache-2.0 | A | 65 | Claude Code |
| devops_engineerjosstei/maestro-orchestrate | Agent | 493 | 29d ago | Apache-2.0 | A | 63 | Claude Code |
| hlasm_assembler_specialistjosstei/maestro-orchestrate | Agent | 493 | 29d ago | Apache-2.0 | A | 88 | Claude Code |