Manage Ollama task queue and code generation on a remote worker machine via SSH. Provides queue health checks and task execution with exclusivity locking.
ollama status [clean] [--force] [--kill-ollama]#Check queue status and Ollama server health.
clean: remove stale locks (prompts if Ollama is busy)clean --force: remove stale locks without promptingclean --kill-ollama: stop and restart Ollama server to cancel active generationollama run <task>#Execute a task on the worker machine. Available tasks:
TaskUsageDescriptionping``ollama run pingCheck runner is alivecodegen``ollama run codegen <instruction>Generate code via Ollamawrite``ollama run write <file> <instruction>Generate and write code to filetest``ollama run test [suite]Run project testsexec``ollama run exec <command>Run arbitrary shell commandlist-projects``ollama run list-projectsList available projects
VariableDefaultDescriptionOLLAMA_WORKER_HOST``worker-macSSH host aliasOLLAMA_RUNNER_PATH``~/worker/runnerRunner scripts path on workerWORKER_ROOT``$HOME/workerWorker root directoryPROJECTS_DIR``$WORKER_ROOT/projectsProjects directoryDEFAULT_PROJECT_(none)_Default project for contextOLLAMA_MODEL``qwen2.5-coder:32bOllama modelOLLAMA_URL``http://localhost:11434/api/generateOllama API endpoint
text
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