Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/hackmods/cursor-proxmox-mcpWrote 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.
[](https://agentmods.dev/rules/hackmods/cursor-proxmox-mcp/lxc-exec-ssh)<a href="https://agentmods.dev/rules/hackmods/cursor-proxmox-mcp/lxc-exec-ssh"><img src="https://agentmods.dev/badge/rules/hackmods/cursor-proxmox-mcp/lxc-exec-ssh/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.
<a href="https://agentmods.dev/rules/hackmods/cursor-proxmox-mcp/lxc-exec-ssh"><img src="https://agentmods.dev/badge/rules/hackmods/cursor-proxmox-mcp/lxc-exec-ssh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00454 |
| Opus 5.5 | $0.00000 | $0.00182 |
| Sonnet 5.5 | $0.00000 | $0.00091 |
| Haiku 4.5 | $0.00000 | $0.00045 |
Grade A, and why
lxc-exec-ssh scanned grade A with 0 findings 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 1mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
LXC exec, guest IP, QEMU vs LXC
Hard facts (do not regress)
- Proxmox has no REST endpoint for LXC shell. Never call
/nodes/{n}/lxc/{vmid}/exec— it 501s. execute_lxc_command= opt-in configssh+ hostpct exec(paramiko). Clear error if SSH off.get_vmsis QEMU-only. LXC →get_containersorget_cluster_resources(type=vm).- Create returns UPID immediately — agents must
wait_for_taskbefore start (do not auto-wait inside create without a new decision). keyctl/fuse beyond nesting are privilege-gated; do not silently strip flags.- Prefer
bootstrap_docker_lxcwhen the user asks for a Docker LXC; fall back to raw create/prepare tools for debugging. - On keyctl 403: return structured
feature_acl_deniedwithrecommended_fallback: crun; useprepare_lxc_for_docker(docker_mode=auto|crun)orpct_set_lxc— never claim Docker-ready with nesting-only + stock runc.
When changing this area
- Update D4/D24,
agent-feedback-log.md,revisions.md, SETUP SSH section, SECURITY. - Prefer keys at create (
ssh_public_keys), orset_lxc_password(enable_password_ssh=true)after start when host SSH/pct is on. update_lxc_configdoes not set password/keys.- Create ≠ Docker/app deploy; keep success messaging honest.
- Docker path: require
nesting=1,keyctl=1when ACL allows; if keyctl denied, install Docker with modern crun asdefault-runtimeand report that fallback.
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.
- 1mo ago First seen · 26 lines · 0 tokens per session scan A 52f203ec8c97
lxc-exec-ssh is a cursor rule published in the GitHub repository hackmods/cursor-proxmox-mcp (1 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 454 tokens. A static security scan graded it A with 0 findings. It comes from a forked repository.
Other cursor rules, from other repositories
python-containerization-cursorrules-prompt-file
Cursor rules for Python development with containerization integration.
docker
Docker production rules. Pinned versions, multi-stage builds, non-root user, minimal attack surface.
cloud-native-and-kubernetes-expertise-rules
Cloud-native and Kubernetes rules guide technical documentation about Kubernetes, a system for running containerized applications. They cover versions, major cloud providers, security, troubleshooting, and performance settings.
containerization-rules
A collection of coding rules covering frontend, backend, AI, DevOps, and other areas, including Dockerfile practices. Dockerfiles describe how to build software containers.
containerization
Container and Docker best practices.
yaml-config
Rules for YAML / config / infra files (Docker, K8s, Terraform, GitHub Actions, etc.).