← 返回
未分类 中文

ollama-task-orchestrator

Manage and execute Ollama tasks via SSH on a remote worker, providing queue status, exclusive task locking, and code generation commands.
通过 SSH 在远程节点管理和执行 Ollama 任务,提供队列状态、独占任务锁定以及代码生成命令。
rajeshhuria rajeshhuria 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 330
下载
💾 0
安装
1
版本
#latest

概述

Ollama Task Orchestrator — Skill Specification

Overview

Manage Ollama task queue and code generation on a remote worker machine via SSH.

Provides queue health checks and task execution with exclusivity locking.

Commands

ollama status [clean] [--force] [--kill-ollama]

Check queue status and Ollama server health.

  • No args: show status only
  • clean: remove stale locks (prompts if Ollama is busy)
  • clean --force: remove stale locks without prompting
  • clean --kill-ollama: stop and restart Ollama server to cancel active generation

ollama run

Execute a task on the worker machine. Available tasks:

TaskUsageDescription
---------
pingollama run pingCheck runner is alive
codegenollama run codegen Generate code via Ollama
writeollama run write Generate and write code to file
testollama run test [suite]Run project tests
execollama run exec Run arbitrary shell command
list-projectsollama run list-projectsList available projects

Configuration

VariableDefaultDescription
---------
OLLAMA_WORKER_HOSTworker-macSSH host alias
OLLAMA_RUNNER_PATH~/worker/runnerRunner scripts path on worker
WORKER_ROOT$HOME/workerWorker root directory
PROJECTS_DIR$WORKER_ROOT/projectsProjects directory
DEFAULT_PROJECT_(none)_Default project for context
OLLAMA_MODELqwen2.5-coder:32bOllama model
OLLAMA_URLhttp://localhost:11434/api/generateOllama API endpoint

Files

skill.py                  OpenClaw skill entry point
runner/
  queue_status.sh         Queue and server health checker
  run_task.sh             Task executor with Ollama integration
README.md                 Setup and usage guide
SKILL.md                  This file

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 17:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 834 📥 307,111
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,396 📥 322,575
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,099 📥 826,238