Borrowing it
Nothing to install: this file belongs to Kynto-Consulting/capsule. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Kynto-Consulting/capsule/main/.claude/commands/deploy.mdgit clone --depth 1 https://github.com/Kynto-Consulting/capsuleWrote 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/commands/kynto-consulting/capsule/deploy)<a href="https://agentmods.dev/commands/kynto-consulting/capsule/deploy"><img src="https://agentmods.dev/badge/commands/kynto-consulting/capsule/deploy/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/commands/kynto-consulting/capsule/deploy"><img src="https://agentmods.dev/badge/commands/kynto-consulting/capsule/deploy.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.01243 |
| Opus 5.5 | $0.00000 | $0.00497 |
| Sonnet 5.5 | $0.00000 | $0.00249 |
| Haiku 4.5 | $0.00000 | $0.00124 |
Grade D, and why
deploy scanned grade D with 3 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 2mo 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.
sudo usermod -aG docker ubuntu Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://get.docker.com | sh Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://get.docker.com | sh How it starts
The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deploy Commands — Capsule
Overview
Instructions for deploying Capsule to an AWS EC2 instance. Capsule runs as Docker containers behind a Traefik reverse proxy with TLS termination.
Prerequisites
| Requirement | Details |
|---|---|
| AWS CLI | Configured with appropriate IAM credentials |
| SSH key | Access to the target EC2 instance |
| Docker & Compose | Installed on the EC2 instance |
| Domain | DNS pointing to the EC2 public IP |
| GitHub PAT | For pulling images from GHCR |
Deployment Architecture
┌──────────────────────────────────────────┐
│ EC2 Instance │
Internet ──► :443 ──┤ Traefik (TLS) │
│ ├── /api/* → capsule-server:8080 │
│ └── /* → capsule-frontend:3000 │
│ │
│ PostgreSQL :5432 │
│ Redis :6379 │
└──────────────────────────────────────────┘
Step 1: Prepare the EC2 Instance
# SSH into the instance
ssh -i ~/.ssh/capsule-key.pem ubuntu@<EC2_PUBLIC_IP>
# Install Docker (if not already installed)
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker ubuntu
# Install Docker Compose plugin
sudo apt-get update
sudo apt-get install docker-compose-plugin -y
# Create application directory
sudo mkdir -p /opt/capsule
sudo chown ubuntu:ubuntu /opt/capsule
Step 2: Configure Environment
# On the EC2 instance
cat > /opt/capsule/.env << 'EOF'
# Application
CAPSULE_ENV=production
CAPSULE_LOG_LEVEL=info
CAPSULE_SECRET_KEY=<generate-with-openssl-rand-hex-32>
# Database
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=capsule
POSTGRES_USER=capsule
POSTGRES_PASSWORD=<strong-password>
DATABASE_URL=postgresql://capsule:<password>@postgres:5432/capsule?sslmode=disable
# Redis
REDIS_URL=redis://redis:6379/0
# Domain & TLS
DOMAIN=capsule.yourdomain.com
[email protected]
# GHCR Auth
GHCR_TOKEN=<github-pat>
EOF
chmod 600 /opt/capsule/.env
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.
- 2mo ago First seen · 220 lines · 0 tokens per session scan D 9ee2af021207
deploy is a command published in the GitHub repository Kynto-Consulting/capsule (2 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,243 tokens. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
create-docker-mcp-tunnel
Stand up an Anthropic MCP tunnel locally with Docker Compose so Claude can call a private MCP server (manual-credentials quickstart).
k8s-manifest
Generate production-ready Kubernetes manifests for the current application.
snr-cloud
Cloud / PaaS / container security review — secrets architecture, blast radius, identity, network, runtime, IaC and rotation readiness. Assumes the platform can be breached.
extract-infrastructure
Extract Azure infrastructure and generate Docker Compose stack for local development.
deploy
Deploy an app to multiple clusters with smart placement.
aci-run
Run a container in Azure Container Instances for quick one-off tasks or scheduled jobs.