Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Lykhoyda/ask-llm/plugin install 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/skills/lykhoyda/ask-llm/ask-llm-ollama-review)<a href="https://agentmods.dev/skills/lykhoyda/ask-llm/ask-llm-ollama-review"><img src="https://agentmods.dev/badge/skills/lykhoyda/ask-llm/ask-llm-ollama-review/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/skills/lykhoyda/ask-llm/ask-llm-ollama-review"><img src="https://agentmods.dev/badge/skills/lykhoyda/ask-llm/ask-llm-ollama-review.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.00066 | $0.00439 |
| Opus 5.5 | $0.00026 | $0.00176 |
| Sonnet 5.5 | $0.00013 | $0.00088 |
| Haiku 4.5 | $0.00007 | $0.00044 |
Grade A, and why
ask-llm-ollama-review 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.
What it actually says
Portable contract
Gather the relevant staged, unstaged, and untracked code changes; build a bounded context brief; request a local Ollama review; verify each reported finding against source; and return only prioritized, source-supported findings. Never imply external data transfer and surface unavailable local models actionably.
Host adapters
Pi adapter
Call the native ask-ollama tool and apply the portable contract above.
Other hosts adapter
Codex, Cursor Agent, Antigravity, Grok Build, Gemini CLI and OpenCode get this skill from their skills folder, not from a plugin. Apply the portable contract above inline with an Ollama call as described in ../ask-llm-review/transport.md (provider: "ollama").
Claude Code adapter
The existing detailed workflow below is the Claude Code adapter. Its Agent, MCP, hook, CLAUDE_PLUGIN_ROOT, and AskUserQuestion mechanics apply only on Claude Code; they do not override the Pi adapter above.
Ollama Code Review
Review current code changes by delegating to the ollama-reviewer agent.
Instructions
-
Gather the diff to review:
- Run
git diffto get unstaged changes - Run
git diff --cachedto get staged changes - Combine both into a single diff
- Run
-
If the diff is empty, inform the user there are no changes to review.
-
Launch the
ollama-revieweragent with the diff content. The agent handles the Ollama prompt structure and output formatting.
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 First seen · 45 lines · 66 tokens per session scan A b321fd985745
ask-llm-ollama-review is a skill published in the GitHub repository Lykhoyda/ask-llm (20 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 439 once invoked, about $0.0003 per session on Opus 5.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-10-03.
ask-llm-ollama-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ask-llm-ollama-reviewLykhoyda/ask-llm | Skill | 20 | yesterday | MIT | A | 66 | Claude Code |
| verify-changefengshao1227/ccg-workflow | Skill | 6.0k | 12d ago | MIT | A | 65 | Claude Code |
| verify-modulefengshao1227/ccg-workflow | Skill | 6.0k | 12d ago | MIT | A | 61 | Claude Code |
| verify-qualityfengshao1227/ccg-workflow | Skill | 6.0k | 12d ago | MIT | A | 64 | Claude Code |
| agtx-reviewfynnfluegge/agtx | Skill | 1.8k | 2d ago | Apache-2.0 | A | 32 | Claude Code |
| review-preflightsonichi/sutando | Skill | 413 | today | MIT | A | 45 | Claude Code |
| octocode-pr-reviewbgauryy/octocode | Skill | 971 | today | MIT | A | 40 | Claude Code, Codex |