cluster
Skill2 starsChanged 3 months agoMITView on GitHub
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 mentions homelab, cluster, idle machines, load balancing, or distributing work across machines.
3 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- zedarvates/frugal-skillsedited, first seen Nov 8, 2026
- mkreindel/seo-toolkit-templatetheir own version, first seen May 27, 2026
- rainday/smart-blog-skillstheir own version, first seen May 15, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- zedarvates/frugal-skills★ 153% same
Wrote their own version · 2
- rainday/smart-blog-skills★ 35same name
- mkreindel/seo-toolkit-template★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository75 other files it gives its agents.
- AGENTS.mdAGENTS.md
- clean-cacheSkill
- agent-cacheSkill
- app_testSkill
- asset-qualitySkill
- auto_distillSkill
- auto-memorySkill
- auto_routerSkill
- benchSkill
- bootstrapSkill
- botte-proxySkill
- cacheSkill
- capabilitiesSkill
- cardinalSkill
- cavemanSkill
- checkupSkill
- clarificationSkill
- code_fingerprintSkill
- completion_proofSkill
- conductorSkill
- context_budgetSkill
- context_profilerSkill
- context_slicerSkill
- context_windowsSkill
- control_loopSkill
- cost_estimatorSkill
- cwe_kbSkill
- dag_optimizerSkill
- dashboardSkill
- decision-ladderSkill
- demoSkill
- diff_languageSkill
- directives_auditSkill
- docgenSkill
- docs_stewardSkill
- eventsSkill
- fallow_likeSkill
- fast_contextSkill
- fixSkill
- harness_deltaSkill
- hermes-bridgeSkill
- hf_provenanceSkill
- infra_advisorSkill
- ingestSkill
- llm_backendsSkill
- llm_mcpSkill
- loaderSkill
- mcp_gatewaySkill
- meta_harnessSkill
- metricsSkill
- migration_auditSkill
- monte_cristoSkill
- mousquetairesSkill
- nlp_deterministicSkill
- nn_auditSkill
- prefix-prunerSkill
- prefix_treeSkill
- preflightSkill
- prompt_improverSkill
- reportSkill
- The first 60 shown.
The file
Files
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
lruchooses the least-recently-used capable chat backend, so the next task lands on an under-used box — work spreads across the cluster. - pick
latencychooses the most responsive backend.
Delegation (hand-off only)
delegate(host, task) POSTs {"task": …} to a machine's agent endpoint
(BOTTE_AGENT_<host> env or --url). The endpoint host must match host;
non-loopback delegation requires HTTPS and a token from
BOTTE_AGENT_TOKEN_<host> or BOTTE_AGENT_TOKEN. 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. The bundled HTTP receiver is for loopback use; expose it on a LAN only behind a trusted HTTPS reverse proxy.
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 --token "$BOTTE_AGENT_TOKEN"
# then from the cluster:
python -m skills.cluster.cli delegate 127.0.0.1 machine_status --url http://127.0.0.1:8799/taskPrivileged 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 [[llm_mcp]] as cluster_status. Related: [[llm_backends]]
(discovery), [[infra_advisor]] (per-machine tips), [[auto_router]].
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

