ollama-result-handling

ollama-result-handling is a skill for Claude Code from darrylmorley/ollama-plugin-cc. It costs 18 tokens per session (434 once invoked), scanned A, a copy of codex-result-handling, Apache-2.0.

Guidance for presenting results produced by Ollama, a locally run AI model, to the user. It covers reviews, findings, uncertainty, edited files, and failed runs.

In plain words
What is it for?
Use it when returning Ollama review or rescue output, especially when findings, file locations, or open questions must be preserved.
Why use it?
It helps keep the reported result faithful to Ollama’s evidence and prevents a review from turning into unrequested code changes.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the ollama plugin — 3 skills, 12 commands, 1 agent, 3 hooks shipped together

Good fit Use it when returning Ollama review or rescue output, especially when findings, file locations, or open questions must be preserved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darrylmorley/ollama-plugin-cc/ollama-result-handling
Install

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.

Any agent
npx skills add darrylmorley/ollama-plugin-cc --skill ollama-result-handling
Clone the repo
git clone --depth 1 https://github.com/darrylmorley/ollama-plugin-cc

Made for: Claude Code.

Or install ollama, the plugin that ships this one along with the rest of its 3 skills, 12 commands, 1 agent, 3 hooks.

Wrote 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.

agentmods badge for ollama-result-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/darrylmorley/ollama-plugin-cc/ollama-result-handling/github.svg)](https://agentmods.dev/skills/darrylmorley/ollama-plugin-cc/ollama-result-handling)
Your own site
<a href="https://agentmods.dev/skills/darrylmorley/ollama-plugin-cc/ollama-result-handling"><img src="https://agentmods.dev/badge/skills/darrylmorley/ollama-plugin-cc/ollama-result-handling/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.

agentmods 80×15 button for ollama-result-handling

Your own site · 80×15
<a href="https://agentmods.dev/skills/darrylmorley/ollama-plugin-cc/ollama-result-handling"><img src="https://agentmods.dev/badge/skills/darrylmorley/ollama-plugin-cc/ollama-result-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 434 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 80% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00434
Opus 5 $0.00009 $0.00217
Sonnet 5 $0.00004 $0.00087
Haiku 4.5 $0.00002 $0.00043

Measured 11d ago against content hash bd12db629e11, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ollama-result-handling 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 11d 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.

Origin

This is a copy

80% identical to codex-result-handling — 21 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.

plugins/ollama/skills/ollama-result-handling/SKILL.md · 23 lines

What it actually says

Ollama Result Handling

When the helper returns Ollama output:

  • Preserve the helper's verdict, summary, findings, and next steps structure.
  • For review output, present findings first and keep them ordered by severity.
  • Use the file paths and line numbers exactly as the helper reports them.
  • Preserve evidence boundaries. If Ollama marked something as an inference, uncertainty, or follow-up question, keep that distinction.
  • Preserve output sections when the prompt asked for them, such as observed facts, inferences, open questions, touched files, or next steps.
  • If there are no findings, say that explicitly and keep the residual-risk note brief.
  • If Ollama made edits, say so explicitly and list the touched files when the helper provides them.
  • For ollama:ollama-rescue, do not turn a failed or incomplete Ollama run into a Claude-side implementation attempt. Report the failure and stop.
  • For ollama:ollama-rescue, if Ollama was never successfully invoked, do not generate a substitute answer at all.
  • CRITICAL: After presenting review findings, STOP. Do not make any code changes. Do not fix any issues. You MUST explicitly ask the user which issues, if any, they want fixed before touching a single file. Auto-applying fixes from a review is strictly forbidden, even if the fix is obvious.
  • If the helper reports malformed output or a failed Ollama run, include the most actionable stderr lines and stop there instead of guessing.
  • If Ollama returns malformed JSON despite JSON-mode being enabled, surface the raw response verbatim with a clear error label ("Ollama returned malformed JSON:") rather than trying to extract or infer fields from it. Prompt the user to retry with a stronger model or to run /ollama:review --wait manually.
  • If the helper reports that setup or authentication is required, direct the user to /ollama:setup and do not improvise alternate auth flows.
Changes

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.

  1. 11d ago First seen · 23 lines · 18 tokens per session scan A bd12db629e11

Subscribe to this mod's changes

ollama-result-handling is a skill published in the GitHub repository darrylmorley/ollama-plugin-cc (4 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 18 tokens to every session and 434 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 80% identical to codex-result-handling, differing in 21 lines, and is treated as a copy.

Related

Other skills, from other repositories

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and generates guidance to design and deploy a governed, secure agentic-analytics solution for data that's distributed across Google Cloud, other cloud providers, or on-premises. Data that's outside Google Cloud (such as data from Databricks, Snowflake, Salesforce, SAP, or Oracle systems) is…

google/skills · 138 tokens

training-check

Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.

wanshuiyin/Auto-claude-code-research-in-sleep · 35 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens