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.
npx agentmods add skills/rand/cc-polymath/discover-infranpx skills add rand/cc-polymath --skill discover-infragit clone --depth 1 https://github.com/rand/cc-polymathWrote 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/skills/rand/cc-polymath/discover-infra)<a href="https://agentmods.dev/skills/rand/cc-polymath/discover-infra"><img src="https://agentmods.dev/badge/skills/rand/cc-polymath/discover-infra.svg" alt="Measured on agentmods" 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 | $0.00043 | $0.00807 |
| Opus 5 | $0.00022 | $0.00404 |
| Sonnet 5 | $0.00009 | $0.00161 |
| Haiku 4.5 | $0.00004 | $0.00081 |
Grade A, and why
discover-infra 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Infrastructure & Cloud Skills Discovery
When This Skill Activates
- Cloud platforms (AWS, GCP, Azure)
- Serverless functions (Lambda, Cloud Functions, Modal)
- Infrastructure as Code (Terraform, IaC)
- Docker, containers, Kubernetes
- Container security, networking, registries
- Cloudflare Workers, edge computing
- Deployment platforms (Netlify, Heroku)
- Cost optimization, infrastructure security
- CI/CD deployment strategies, rollbacks
Available Skills (30 total)
Cloud (13 skills)
- aws-lambda-functions - Lambda development, triggers, optimization
- aws-api-gateway - REST/HTTP/WebSocket APIs, authorization
- aws-databases - RDS, DynamoDB, ElastiCache, Aurora
- aws-iam-security - IAM, Cognito, Secrets Manager, KMS
- aws-storage - S3, EBS, EFS, Glacier, lifecycle policies
- aws-ec2-compute - EC2, Auto Scaling, Load Balancing
- aws-networking - VPC, security groups, Route53, CloudFront
- gcp-serverless - Cloud Functions, Cloud Run, App Engine
- gcp-compute - Compute Engine, GKE, autoscaling
- gcp-databases - Cloud SQL, Firestore, Bigtable, Spanner
- gcp-storage - Cloud Storage, Persistent Disk, Filestore
- gcp-iam-security - IAM, service accounts, Secret Manager
- gcp-networking - VPC, firewall, Cloud DNS, Cloud CDN
Infrastructure (6 skills)
- terraform-patterns - Modules, state, workspaces, best practices
- kubernetes-basics - Pods, deployments, services, configuration
- cloudflare-workers - Edge functions, KV storage, Durable Objects
- infrastructure-security - Network security, secrets, hardening
- cost-optimization - Cloud cost reduction strategies
- aws-serverless - Serverless architecture patterns
Deployment (6 skills)
- heroku-deployment - Deployment, dynos, buildpacks
- heroku-addons - Databases, caching, monitoring addons
- heroku-troubleshooting - Common issues and debugging
- netlify-deployment - Build, deploy, previews, CDN
- netlify-functions - Serverless functions on Netlify
- netlify-optimization - Performance, caching, edge
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.
- 4d ago First seen · 75 lines · 43 tokens per session scan A 4f2954e3db3b
discover-infra is a skill published in the GitHub repository rand/cc-polymath (140 stars, last pushed 6mo ago), licensed MIT. It adds 43 tokens to every session and 807 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
wrangler
Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over…
aws-cloudformation-ecs
Provides AWS CloudFormation patterns for ECS clusters, task definitions, services, container definitions, auto scaling, blue/green deployments, CodeDeploy integration, ALB integration, service discovery, monitoring, logging, template structure, parameters, outputs, and cross-stack references. Use when creating ECS…
pentest-cloud-infrastructure
Cloud security posture management and container security assessment for AWS, Azure, GCP, and Kubernetes.
kubernetes-operations
Covers running workloads through Kubernetes's control loop — requests/limits, liveness/readiness/startup probes, reading describe/events to debug CrashLoopBackOff, OOMKilled, Pending, or empty endpoints, safe rollouts and undo, and guardrails like PodDisruptionBudgets. Use this whenever the user is debugging a pod…
aws-ecs-docs
Use when users ask how to create, configure, deploy, scale, network, secure, or troubleshoot Amazon ECS clusters, task definitions, services, and tasks, including Fargate, EC2 launch types, ECS Managed Instances, Service Connect, auto scaling, IAM roles, ECR integration, ECS Anywhere, or capacity providers, especially…
helm-docs
Use when users ask how to install, search, deploy, upgrade, rollback, uninstall, template, lint, package, or troubleshoot Helm charts and releases on Kubernetes, including chart development, values, repositories, hooks, plugins, OCI registries, Helm 4 changes, or the Helm Go SDK, especially when they need official…