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 skills add monkilabs/opencastle --skill deployment-infrastructuregit clone --depth 1 https://github.com/monkilabs/opencastleWrote 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/monkilabs/opencastle/deployment-infrastructure)<a href="https://agentmods.dev/skills/monkilabs/opencastle/deployment-infrastructure"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/deployment-infrastructure/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/skills/monkilabs/opencastle/deployment-infrastructure"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/deployment-infrastructure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00052 | $0.00580 |
| Opus 5.5 | $0.00021 | $0.00232 |
| Sonnet 5.5 | $0.00010 | $0.00116 |
| Haiku 4.5 | $0.00005 | $0.00058 |
Grade A, and why
deployment-infrastructure scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Gate a release on lint + test + build all exiting 0 and no draft PRs, then semver-tag with a changelog in the **technical-writing** format. Verify with `curl -sI https://example.com | grep -E 'HTTP|Strict'` — homepage 20 What it actually says
Deployment Infrastructure
See .opencastle/stack/deployment-config.md, when the project has one, for full architecture, env vars, cron jobs, caching headers.
Environment Variables
Precedence: .env (committed defaults) → .env.local (git-ignored) → .env.production / .env.preview → platform-injected (highest). Gitignore .env.local, .env.*.local.
Validate the whole environment with one Zod schema at startup, not at point of use. SCREAMING_SNAKE_CASE; PUBLIC_*/NEXT_PUBLIC_* is browser-exposed, SECRET_*/*_SECRET server-only.
CI/CD Pipeline
main → production, every other branch (feat/*, fix/*, …) → preview, all automatic. Stages in order: install (always --frozen-lockfile in CI) → lint → test → production build → deploy.
Cron route handlers must return 401 unless the authorization header equals Bearer ${process.env.CRON_SECRET}.
Caching Strategy
Set per-asset via framework headers() config or CDN rules — never a blanket no-store.
| Asset Type | Cache-Control |
|---|---|
| Hashed assets (JS, CSS), images, fonts | public, max-age=31536000, immutable |
| Favicon / manifest | public, max-age=86400 |
| SSG HTML | public, max-age=0, must-revalidate |
| API responses | private, no-cache |
| ISR pages | public, s-maxage=3600, stale-while-revalidate=86400 |
Security Headers
Load security-hardening skill for full CSP inventory and header configuration.
Release & Rollback
Gate a release on lint + test + build all exiting 0 and no draft PRs, then semver-tag with a changelog in the technical-writing format. Verify with curl -sI https://example.com | grep -E 'HTTP|Strict' — homepage 200, headers correct.
A failed release gets rolled back immediately, not patched forward: the platform's instant rollback (e.g. Vercel or Netlify, promote the last good deploy) first, then a revert PR (git revert, on a branch) so main matches what runs. Re-run the curl -sI check before calling it resolved.
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.
- 1mo ago Changed c4ea003d99b3
- 1mo ago Changed · +4 tokens per session 7ef77c708c90
- 3mo ago First seen · 43 lines · 48 tokens per session scan A a814ae351450
deployment-infrastructure is a skill published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 52 tokens to every session and 580 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
deployment-infrastructure compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| deployment-infrastructuremonkilabs/opencastle | Skill | 82 | 10d ago | MIT | A | 52 | Claude Code, Codex |
| azure-app-service-production-readinessVincentChuWaiChow/vanguard-frontier-agentic | Skill | 26 | yesterday | Apache-2.0 | A | 63 | Claude Code |
| azure-aks-platform-operatorVincentChuWaiChow/vanguard-frontier-agentic | Skill | 26 | yesterday | Apache-2.0 | A | 51 | Claude Code |
| alibaba-ack-container-platform-operatorVincentChuWaiChow/vanguard-frontier-agentic | Skill | 26 | yesterday | Apache-2.0 | A | 50 | Claude Code |
| aws-ecs-fargate-platform-operatorVincentChuWaiChow/vanguard-frontier-agentic | Skill | 26 | yesterday | Apache-2.0 | A | 76 | Claude Code |
| aws-eks-platform-operatorVincentChuWaiChow/vanguard-frontier-agentic | Skill | 26 | yesterday | Apache-2.0 | A | 73 | Claude Code |
| azure-aks-governanceAgenticPawan/FullStack-Pilot | Skill | 2 | 4mo ago | MIT | A | 87 | Claude Code |