Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

delegar-ollama

Skill by MauricioPerera

Launches and verifies any Ollama-served model in headless mode through `ollama launch claude`. It is a base layer for other skills that delegate work to a model via Ollama.

  • Score 61
  • 12 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install delegar-ollama

Built from the published package, never by AI.

git clone --depth 1 https://github.com/MauricioPerera/KDD /tmp/KDD && mkdir -p ~/.claude/skills && cp -r /tmp/KDD/skills/delegar-ollama ~/.claude/skills/delegar-ollama

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install delegar-ollama in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

delegar-ollama is a base skill that explains how to run any model served by Ollama, such as glm-5.2:cloud or kimi-k2.7-code:cloud, in headless mode through `ollama launch claude`. It covers the launch command, a liveness probe, the required `< /dev/null` redirect, a minimal MCP config, anti-hang rules, and checks that the model actually did the work instead of only saying it finished. It also covers quota behavior, such as empty or false "done" replies near the weekly limit.

The skill is written to be model and task agnostic. It does not decide what to delegate or validate CCDD contracts, since the source says that belongs to the skill that calls it. The source names pm-glm-ccdd and delegar-glm-ccdd as examples of skills that can build on it. It is aimed at developers who orchestrate Ollama-hosted models and need reliable background runs, with guidance on recovering work after a host crash and on limiting parallel runs.

Written from the project's SKILL.md and checked against it.

What it can do

  • Headless launch commandRuns `ollama launch claude` with a prompt file, MCP config and permission flags.
  • Liveness probeSends a short test prompt to confirm the model responds before real work.
  • Tools probeAsks the model to create a file and checks the file exists, to detect degraded replies.
  • Anti-hang rulesGuidance on foreground servers, background tasks and processes that must exit on their own.
  • /goal variantKeeps the model working until a stated condition is met, with a required turn cap.
  • Subagents and agent teamsNotes on using subagents and experimental agent teams inside a delegated run.
  • Host crash recoverySteps to audit disk and relaunch the same spec after the host application dies.
  • Staggered launchesSpacing launches 25-35 seconds apart to avoid a plan verification error.

What you need

  • Ollama with access to cloud models (ollama signin)
  • Claude Code CLI, run as claude through ollama launch claude
  • Claude Code 2.1.139 or later for the /goal variant

Try asking

  • Run a liveness probe on glm-5.2:cloud through ollama launch claude
  • Launch kimi-k2.7-code:cloud headless with a prompt file and log output
  • Check that the delegated model created the expected file, not just said LISTO

Good to know

  • Cloud usage limits apply to the whole Ollama account, not to one model.
  • agy (Antigravity) and codex hang in non-interactive mode and should not be used for delegation.
  • About 3 concurrent cloud models is the practical cap.
  • Does not decide which task to delegate or validate CCDD contracts.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/delegar-ollama/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to delegar-ollama

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

delegar-ollama: common questions

Why must I add &lt; /dev/null to the launch command?

Without it, claude waits for stdin and the launch exits with code 0 and no work done.

Why does an empty log not mean the run is stuck?

In headless -p mode the log is written only at the end. Check modification times of deliverables and build artifacts to see if the run is still active.

Does switching models fix a quota error?

No. The limit belongs to the Ollama account, so the source suggests restoring quota, waiting for the reset, or using a local model.

How do I install delegar-ollama?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is delegar-ollama free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is delegar-ollama safe to use?

It scores 61 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to delegar-ollama?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

delegar-ollama Install

Add to stack

Loading.