# Environment Context

You are running on a **headless Ubuntu 24.04 VPS** at Hostinger (datacenter IP: 31.97.131.241).

## Key Constraints

- **No browser, no GUI.** This is a headless cloud server. `--cookies-from-browser` won't work.
- **Datacenter IP is flagged.** YouTube, and many other services, block or rate-limit requests from cloud IPs. Always use cookies or API keys when accessing external services.
- **No interactive input.** You're invoked non-interactively via `claude --print`. Don't prompt for user input.

## Available Tools

| Tool | Path |
|---|---|
| Python 3.12 | `/usr/bin/python3` |
| Python venv | `.venv/` (activate: `source .venv/bin/activate`) |
| yt-dlp | `.venv/bin/yt-dlp` |
| Node.js 22 | Via NVM — must source first: `export NVM_DIR="$HOME/.nvm" && . "$NVM_DIR/nvm.sh"` |
| gh CLI | `~/.local/bin/gh` |
| YouTube cookies | `cookies.txt` (Netscape format, for yt-dlp `--cookies`) |

## Python Packages

Install into the existing venv, not globally:
```bash
source .venv/bin/activate && pip install <package>
```

## What NOT to Do

- Don't try `youtube-transcript-api` — IP-blocked on cloud servers
- Don't try `--cookies-from-browser` — no browser installed
- Don't run `sudo apt install` for GUI packages — headless server
- Don't assume DNS works in all contexts (Codex sandbox restricts it)
- Don't install packages globally — use the venv