beitlab_home_lab_cluster: Skill for Cursor

.cursor/skills/homelab-cli/SKILL.md

homelab-cli is a skill for Cursor from AndresJejen/beitlab_home_lab_cluster. It costs 52 tokens per session (456 once invoked), scanned B, original, MIT.

A command-line tool for setting up and operating a home server cluster, including its Kubernetes installation. A cluster is a group of computers managed as one system.

In plain words
What is it for?
Use it to create inventory, test machine reachability, install k3s, retrieve configuration, check application health, back up secrets, and run Ansible playbooks.
Why use it?
It gives developers a documented command map and ensures the repository's configured Python and Ansible environment is used. This reduces mistakes from running the wrong tools or commands.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is AndresJejen/beitlab_home_lab_cluster's own configuration. It tells Cursor how to work on beitlab_home_lab_cluster itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything beitlab_home_lab_cluster configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AndresJejen/beitlab_home_lab_cluster. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AndresJejen/beitlab_home_lab_cluster/master/.cursor/skills/homelab-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AndresJejen/beitlab_home_lab_cluster

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for homelab-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/andresjejen/beitlab_home_lab_cluster/homelab-cli/github.svg)](https://agentmods.dev/skills/andresjejen/beitlab_home_lab_cluster/homelab-cli)
Your own site
<a href="https://agentmods.dev/skills/andresjejen/beitlab_home_lab_cluster/homelab-cli"><img src="https://agentmods.dev/badge/skills/andresjejen/beitlab_home_lab_cluster/homelab-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for homelab-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/andresjejen/beitlab_home_lab_cluster/homelab-cli"><img src="https://agentmods.dev/badge/skills/andresjejen/beitlab_home_lab_cluster/homelab-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 456 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00456
Opus 5 $0.00026 $0.00228
Sonnet 5 $0.00010 $0.00091
Haiku 4.5 $0.00005 $0.00046

Measured 11d ago against content hash 85ecf969b3e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

homelab-cli scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Do not commit it. Do not paste sudo passwords into it.
.cursor/skills/homelab-cli/SKILL.md · 54 lines

What it actually says

Homelab CLI

How to run

Always from the repo root, through uv:

uv run homelab --help
uv run homelab -K ping
uv run ansible-playbook site.yml

Do not use a system ansible if .venv exists. docs/cli.md is the human reference.

Command map

User intent Command
Create inventory uv run homelab setup --profile single or --profile cluster
Reachability uv run homelab ping
First k3s install uv run homelab bootstrap
Kubeconfig uv run homelab kubeconfig
Health uv run homelab status
Off-cluster AWS backup uv run homelab backup-secrets (see docs/secrets-off-cluster.md)
Named playbook uv run homelab playbook <name>
Extra Ansible args uv run homelab playbook site.yml -- --limit controllers

Playbook shortcuts: site, prep, install, longhorn-prereqs, status.

Destructive playbooks

Never wrap these in homelab bootstrap. Run the playbook only when the user typed the confirm string in this turn:

  • cluster-shutdown.yml needs -e confirm=SHUTDOWN
  • k3s-node-remove.yml needs -e confirm_remove=true

Prefer uv run ansible-playbook ... so the confirm extra-vars are obvious.

Inventory

  • File: ./inventory.ini (gitignored)
  • Examples: inventory.ini.example, inventory.ini.single.example
  • Do not commit it. Do not paste sudo passwords into it.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 54 lines · 52 tokens per session scan B 85ecf969b3e7

Subscribe to this mod's changes

homelab-cli is a skill published in the GitHub repository AndresJejen/beitlab_home_lab_cluster (5 stars, last pushed 11d ago), licensed MIT. It adds 52 tokens to every session and 456 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens