Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/georgekhananaev/claude-skills-vaultnpx agentmods add commands/georgekhananaev/claude-skills-vault/k8s-manifestWrote 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/georgekhananaev/claude-skills-vault/k8s-manifest)<a href="https://agentmods.dev/commands/georgekhananaev/claude-skills-vault/k8s-manifest"><img src="https://agentmods.dev/badge/commands/georgekhananaev/claude-skills-vault/k8s-manifest/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/georgekhananaev/claude-skills-vault/k8s-manifest"><img src="https://agentmods.dev/badge/commands/georgekhananaev/claude-skills-vault/k8s-manifest.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.17545 |
| Opus 5 | $0.00000 | $0.08773 |
| Sonnet 5 | $0.00000 | $0.03509 |
| Haiku 4.5 | $0.00000 | $0.01755 |
Grade D, and why
k8s-manifest 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 12d 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.
chmod +x kubectl && sudo mv kubectl /usr/local/bin/ 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 -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" How it starts
The opening of the file, as written. The whole thing — 2,778 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kubernetes Manifest Generation
You are a Kubernetes expert specializing in creating production-ready manifests, Helm charts, and cloud-native deployment configurations. Generate secure, scalable, and maintainable Kubernetes resources following best practices and GitOps principles.
Context
The user needs to create or optimize Kubernetes manifests for deploying applications. Focus on production readiness, security hardening, resource optimization, observability, and multi-environment configurations.
Requirements
$ARGUMENTS
Instructions
1. Application Analysis
Analyze the application to determine Kubernetes requirements:
Framework-Specific Analysis
import yaml
import json
from pathlib import Path
from typing import Dict, List, Any
class AdvancedK8sAnalyzer:
def __init__(self):
self.framework_patterns = {
'react': {
'files': ['package.json', 'src/App.js', 'src/index.js'],
'build_tool': ['vite', 'webpack', 'create-react-app'],
'deployment_type': 'static',
'port': 3000,
'health_check': '/health',
'resources': {'cpu': '100m', 'memory': '256Mi'}
},
'nextjs': {
'files': ['next.config.js', 'pages/', 'app/'],
'deployment_type': 'ssr',
'port': 3000,
'health_check': '/api/health',
'resources': {'cpu': '200m', 'memory': '512Mi'}
},
'nodejs_express': {
'files': ['package.json', 'server.js', 'app.js'],
'deployment_type': 'api',
'port': 8080,
'health_check': '/health',
'resources': {'cpu': '200m', 'memory': '512Mi'}
},
'python_fastapi': {
'files': ['main.py', 'requirements.txt', 'pyproject.toml'],
'deployment_type': 'api',
'port': 8000,
'health_check': '/health',
'resources': {'cpu': '250m', 'memory': '512Mi'}
},
'python_django': {
'files': ['manage.py', 'settings.py', 'wsgi.py'],
'deployment_type': 'web',
'port': 8000,
'health_check': '/health/',
'resources': {'cpu': '300m', 'memory': '1Gi'}
},
'go': {
'files': ['main.go', 'go.mod', 'go.sum'],
'deployment_type': 'api',
'port': 8080,
'health_check': '/health',
'resources': {'cpu': '100m', 'memory': '128Mi'}
},
'java_spring': {
'files': ['pom.xml', 'build.gradle', 'src/main/java'],
'deployment_type': 'api',
'port': 8080,
'health_check': '/actuator/health',
'resources': {'cpu': '500m', 'memory': '1Gi'}
},
'dotnet': {
'files': ['*.csproj', 'Program.cs', 'Startup.cs'],
'deployment_type': 'api',
'port': 5000,
'health_check': '/health',
'resources': {'cpu': '300m', 'memory': '512Mi'}
}
}
def analyze_application(self, app_path: str) -> Dict[str, Any]:
"""
Advanced application analysis with framework detection
"""
framework = self._detect_framework(app_path)
analysis = {
'framework': framework,
'app_type': self._detect_app_type(app_path),
'services': self._identify_services(app_path),
'dependencies': self._find_dependencies(app_path),
'storage_needs': self._analyze_storage(app_path),
'networking': self._analyze_networking(app_path),
'resource_requirements': self._estimate_resources(app_path, framework),
'security_requirements': self._analyze_security_needs(app_path),
'observability_needs': self._analyze_observability(app_path),
'scaling_strategy': self._recommend_scaling(app_path, framework)
}
return analysis
def _detect_framework(self, app_path: str) -> str:
"""Detect application framework for optimized deployments"""
app_path = Path(app_path)
for framework, config in self.framework_patterns.items():
if all((app_path / f).exists() for f in config['files'][:1]):
if any((app_path / f).exists() for f in config['files']):
return framework
return 'generic'
def generate_framework_optimized_manifests(self, analysis: Dict[str, Any]) -> Dict[str, str]:
"""Generate manifests optimized for specific frameworks"""
framework = analysis['framework']
if framework in self.framework_patterns:
return self._generate_specialized_manifests(framework, analysis)
return self._generate_generic_manifests(analysis)
def _detect_app_type(self, app_path):
"""Detect application type and stack"""
indicators = {
'web': ['nginx.conf', 'httpd.conf', 'index.html'],
'api': ['app.py', 'server.js', 'main.go'],
'database': ['postgresql.conf', 'my.cnf', 'mongod.conf'],
'worker': ['worker.py', 'consumer.js', 'processor.go'],
'frontend': ['package.json', 'webpack.config.js', 'angular.json']
}
detected_types = []
for app_type, files in indicators.items():
if any((Path(app_path) / f).exists() for f in files):
detected_types.append(app_type)
return detected_types
def _identify_services(self, app_path):
"""Identify microservices structure"""
services = []
# Check docker-compose.yml
compose_file = Path(app_path) / 'docker-compose.yml'
if compose_file.exists():
with open(compose_file) as f:
compose = yaml.safe_load(f)
for service_name, config in compose.get('services', {}).items():
services.append({
'name': service_name,
'image': config.get('image', 'custom'),
'ports': config.get('ports', []),
'environment': config.get('environment', {}),
'volumes': config.get('volumes', [])
})
return services
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.
- 12d ago First seen · 2,778 lines · 0 tokens per session scan D b93c24edd39e
k8s-manifest is a command published in the GitHub repository georgekhananaev/claude-skills-vault (28 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 17,545 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-30.
Other commands, from other repositories
iac
Hostile audit of infrastructure-as-code — container images (Dockerfiles), orchestration (Kubernetes, Compose, Helm), and cloud provisioning (Terraform, CloudFormation, Pulumi): assume every image runs as root, every network is open to the world, every store is unencrypted, and every credential is committed, until each…
generate-idl-client
Generate TypeScript client from Solana program IDL using Codama or Anchor.
k8s-manifest
Generate production-ready Kubernetes manifests for the current application.
explain-code
Explain complex Solana/blockchain code with visual diagrams and step-by-step breakdowns.
tanstack-start
Build a full-stack TanStack Start app on Cloudflare Workers from scratch.
nyann:apply
Apply an Infrastructure-as-Code change — the highest-stakes mutator in nyann; it can change real cloud infrastructure. Re-runs the plan, shows it, confirms, then applies. Unmistakably opt-in: apply is never the default and destructive applies require a second explicit confirm. For IaC apply intent only (not "apply a…