Skip to content
Back to skills

Ask Llm Ollama Review

ASecurity

Get a second opinion from a local Ollama LLM on your current code changes. Analyzes staged/unstaged diffs and returns prioritized findings. No API keys needed. Use when user asks to "review with Ollama", "local code review", or "review offline".

  • 18 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 2, 2026
ai-agentsgitapi

Works with

  • claude code
  • cursor
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add Lykhoyda/ask-llm --skill ask-llm-ollama-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ask Llm Ollama Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ask Llm Ollama Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lykhoyda-ask-llm-ollama-review/badge)](https://www.skillsdirectory.com/skills/lykhoyda-ask-llm-ollama-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ask-llm-ollama-review
description: Get a second opinion from a local Ollama LLM on your current code changes. Analyzes staged/unstaged diffs and returns prioritized findings. No API keys needed. Use when user asks to "review with Ollama", "local code review", or "review offline".
---

<!-- PORTABLE-CONTRACT:START -->
## 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.
<!-- PORTABLE-CONTRACT:END -->

## 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"`).

<!-- HOST-ADAPTER:CLAUDE-CODE:START -->
### 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

1. Gather the diff to review:
   - Run `git diff` to get unstaged changes
   - Run `git diff --cached` to get staged changes
   - Combine both into a single diff

2. If the diff is empty, inform the user there are no changes to review.

3. Launch the `ollama-reviewer` agent with the diff content. The agent handles the Ollama prompt structure and output formatting.

<!-- HOST-ADAPTER:CLAUDE-CODE:END -->

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.