claude-code-vm CLAUDE.md

Project instructions for an Ansible system that runs on your computer to deploy Claude Code and development tools to remote Debian virtual machines.

In plain words
What is it for?
Use them when maintaining deployment templates or setting up remote environments with tools such as Git, Docker, Kubernetes, and MCP servers.
Why use it?
They clarify the deployment direction and document the project’s architecture and configuration choices.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/intelligentcode-ai/claude-code-vm/claude-md
Clone the repo
git clone --depth 1 https://github.com/intelligentcode-ai/claude-code-vm
Per session 2,379 This file is loaded in full into every session.
When invoked 2,379 The same file β€” it is already loaded in full.
Security scan D 2 findings. Scan, not verified.
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 $0.02379 $0.02379
Opus 5 $0.01189 $0.01189
Sonnet 5 $0.00476 $0.00476
Haiku 4.5 $0.00238 $0.00238

Measured 2d ago against content hash 942cd539fb81, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade D, and why

claude-code-vm CLAUDE.md scanned grade D with 2 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 2d 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.

3. Ensure target VM is Debian 12+ with sudo access

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- βœ… **Allowed**: Docker, Kubernetes, Git (branch/merge, no basic push), Make, npm, find, file operations, SSH to private networks (10.0.0.*, 192.168.*), project-safe rm -rf
CLAUDE.md Β· 260 lines

How it starts

The opening of the file, as written. The whole thing β€” 260 lines β€” stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md - Claude Code VM Deployment System

This file guides Claude Code when working with this Ansible-based deployment system for setting up development environments on remote Debian VMs.

🎯 Project Purpose

This project automates the deployment of Claude Code and associated development tools to remote Debian VMs. It creates fully-configured development environments with Git, Docker, Kubernetes, and AI-enhanced capabilities through MCP servers.

Key Point: This runs on your LOCAL machine to deploy TO remote VMs. It does NOT run on the target VMs themselves.

πŸ—οΈ Architecture Overview

Project Structure

claude-code-vm/
β”œβ”€β”€ config/                     # Default configuration templates
β”‚   β”œβ”€β”€ env.example            # Template for credentials and API keys
β”‚   β”œβ”€β”€ mcp-servers.template.json  # MCP server definitions
β”‚   β”œβ”€β”€ git-repos.env.example  # Git repository management template
β”‚   β”œβ”€β”€ CLAUDE.common.md       # Base CLAUDE.md template (shared by all)
β”‚   β”œβ”€β”€ CLAUDE.minimal.md      # Minimal deployment template
β”‚   β”œβ”€β”€ CLAUDE.enhanced.md     # Enhanced deployment with MCP/Docker
β”‚   β”œβ”€β”€ CLAUDE.containerized.md # Containerized with Docker Compose
β”‚   └── CLAUDE.full.md         # Full deployment with Kubernetes
β”œβ”€β”€ ansible/
β”‚   β”œβ”€β”€ playbooks/             # Main orchestration
β”‚   β”‚   β”œβ”€β”€ site.yml          # Primary deployment playbook
β”‚   β”‚   └── validate.yml      # Validation playbook
β”‚   └── roles/                 # Modular components
β”‚       β”œβ”€β”€ common/           # System preparation
β”‚       β”œβ”€β”€ git/              # Git + credential management
β”‚       β”œβ”€β”€ docker/           # Docker CE installation
β”‚       β”œβ”€β”€ nodejs/           # Node.js 22 LTS
β”‚       β”œβ”€β”€ claude-code/      # Claude Code CLI
β”‚       β”œβ”€β”€ kubernetes/       # k8s tools (kubectl, k3s/kind)
β”‚       β”œβ”€β”€ mcp/              # MCP server configuration
β”‚       └── claude-config/    # CLAUDE.md deployment and inheritance
└── Makefile                   # User interface for all operations

Read the full file on GitHub Β· 260 lines

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. 2d ago First seen Β· 260 lines Β· 2,379 tokens per session scan D 942cd539fb81

Subscribe to this mod's changes

claude-code-vm CLAUDE.md is an instructions file published in the GitHub repository intelligentcode-ai/claude-code-vm (34 stars, last pushed 1y ago), licensed MIT. It adds 2,379 tokens to every session, about $0.0119 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.