AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Cluster

skill-zedarvates-botte-secrete-cluster · by zedarvates

Treat the homelab/micro-cluster as one schedulable resource — discover every reachable machine and spread cheap work across them (least-recently-used first) so idle boxes get the next task, recovering wasted local capacity instead of paying the cloud. Use to see cluster status, route a task to the idlest machine, or hand a task to a trusted agent on another machine. Also use when the user mention…

No reviews yet
0 installs
40 views
0.0% view→install

Install

$ agentstack add skill-zedarvates-botte-secrete-cluster

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-zedarvates-botte-secrete-cluster)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Cluster? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

cluster — the homelab as one schedulable resource

Idle local capacity is recovered cost. Instead of always hitting the same backend (or the cloud), spread work across every reachable machine.

python -m skills.cluster.cli status --subnet      # all machines + recommended target
python -m skills.cluster.cli pick --strategy lru  # spread to the idlest machine
python -m skills.cluster.cli pick --strategy latency
python -m skills.cluster.cli delegate 192.168.1.38 "restart the model server"

How it routes

  • status groups discovered backends (LM Studio, Ollama, LocalAI, ComfyUI,

Qdrant…) by host → the cluster view, with latency and the recommended target.

  • pick lru chooses the least-recently-used capable chat backend, so the

next task lands on an under-used box — work spreads across the cluster.

  • pick latency chooses the most responsive backend.

Delegation (hand-off only)

delegate(host, task) POSTs {"task": …} to a machine's agent endpoint (BOTTE_AGENT_ env or --url). It never runs privileged maintenance itself — wire a trusted agent (e.g. Hermes, which has the rights to do simple machine maintenance) on each box to receive and execute tasks. No endpoint configured → safe no-op that tells you how to wire one.

> Security: elevated-rights machine maintenance stays in your agent on each > machine; botte only routes and hands off.

Reference machine-agent (deploy on each box)

Until your agent (Hermes) exposes an endpoint, run the bundled receiver — it accepts delegated tasks safely: a whitelist of named read-only actions (ping, machine_status, disk, local_backends), never arbitrary shell, loopback by default, token-gated for any non-loopback bind. Privileged maintenance handlers are deliberately absent until you scope the policy.

python -m skills.cluster.agent serve --host 0.0.0.0 --token "$BOTTE_AGENT_TOKEN"
# then from the cluster:
python -m skills.cluster.cli delegate  machine_status --url http://:8799/task

Privileged maintenance (operator-approved, confirm-gated)

To let the cluster trigger real maintenance (restart a model server, pull/update a model, clear a cache), the operator pre-approves a named whitelist on each machine — the remote caller can only trigger commands by name and must pass confirm: true. There is no arbitrary shell from the network.

# operator, on the machine (example: examples/cluster/maintenance-commands.json)
python -m skills.cluster.agent serve --host 0.0.0.0 --token "$BOTTE_AGENT_TOKEN"        --commands examples/cluster/maintenance-commands.json
# caller: list what's permitted, then run with confirmation
#   {"task":"list_commands"}
#   {"task":{"action":"run","args":{"name":"restart_ollama","confirm":true}}}

Defaults are safe: with no --commands file, no maintenance is possible — only the read-only actions. Maintenance on a non-loopback bind requires a token.

Exposed via [[llmmcp]] as cluster_status. Related: [[llmbackends]] (discovery), [[infraadvisor]] (per-machine tips), [[autorouter]].

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.