简介
IdleClaw
原始描述
Share your idle Ollama inference with the community, or use community inference when your API credits run out.
通过你的 Agent 添加
安装目录:idleclaw/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: idleclaw
description: Share your idle Ollama inference with the community, or use community
inference when your API credits run out.
tools: Bash, Read
metadata: {"clawdbot":{"emoji":"🦀","os":["darwin","linux"],"requires":{"bins":["python3","ollama"]}}}
IdleClaw
A distributed inference network for Ollama. Contributors share idle GPU/CPU capacity, consumers use community compute when their API credits run out.
Modes
Contribute — Share your idle inference
Start your machine as an inference node. Your local Ollama models become available to the community.
cd "$SKILL_DIR" && python scripts/contribute.py
This connects to the IdleClaw routing server, registers your available models, and begins accepting inference requests. Press Ctrl+C to stop.
Requirements: Ollama must be running with at least one model pulled.
Consume — Use community inference
Send a chat request to the community network instead of running locally.
cd "$SKILL_DIR" && python scripts/consume.py --model <model-name> --prompt "<your message>"
Streams the response to stdout as tokens arrive.
Status — Check network health
See how many nodes are online and what models are available.
cd "$SKILL_DIR" && python scripts/status.py
Configuration
Variable
Default
Description
IDLECLAW_SERVER
https://api.idleclaw.com
Routing server URL
OLLAMA_HOST
http://localhost:11434
Local Ollama endpoint
Security
External Endpoints
| Variable | Default | Description |
|---|---|---|
IDLECLAW_SERVER |
https://api.idleclaw.com |
Routing server URL |
OLLAMA_HOST |
http://localhost:11434 |
Local Ollama endpoint |
External Endpoints
This skill contacts the following external endpoints:
-
IdleClaw Routing Server (
IDLECLAW_SERVER, defaulthttps://api.idleclaw.com)- Contribute mode: Opens a WebSocket connection to register as an inference node. Sends: node ID, available model names, and inference response tokens. Receives: inference requests (model name + chat messages from consumers).
- Consume mode: Sends HTTP POST to
/api/chatwith model name and chat messages. Receives: streaming token response via SSE. - Status mode: Sends HTTP GET to
/healthand/api/models. Receives: server health info and available model list.
-
Local Ollama (
OLLAMA_HOST, defaulthttp://localhost:11434)- Contribute mode only: Calls Ollama's API to list models and run inference. All communication stays on localhost.
Privacy & Trust Model
Contribute mode risks:
- Running contribute mode allows remote parties to execute arbitrary prompts on your local Ollama models via the routing server.
- Model outputs (including tool_call results and all response fields) are streamed back to the routing server and visible to the server operator and the requesting consumer.
- There is no authentication or access control on who can send inference requests to your node — any consumer on the network can use your GPU.
- Do not run contribute mode on machines with sensitive data or private models. Consider running in a container or VM for isolation.
Consume mode risks:
- Your prompts are sent to the routing server and forwarded to a community contributor's machine for inference. The contributor node operator can see your prompts.
- Do not send sensitive or private information through community inference.
General:
- No user data is persisted locally or on the server beyond the active session.
- No credentials or API keys are required or stored.
- No telemetry or analytics are collected.
- The default server (
api.idleclaw.com) is operated by the project maintainers. You can pointIDLECLAW_SERVERto a self-hosted server you control for greater trust.
Input Sanitization
- Model names are validated against a strict pattern (alphanumeric, colons, periods, hyphens only).
- Server URLs are validated as HTTP/HTTPS URLs before use.
- No shell commands are constructed from user input — all execution is Python-only.
- No local files are read or accessed — the skill only communicates with Ollama and the routing server.
Installation
Run the installer to set up Python dependencies:
cd "$SKILL_DIR" && bash install.sh
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。