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/pr-pm/prpmnpx agentmods add skills/pr-pm/prpm/elastic-beanstalk-deploymentWrote 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/pr-pm/prpm/elastic-beanstalk-deployment)<a href="https://agentmods.dev/skills/pr-pm/prpm/elastic-beanstalk-deployment"><img src="https://agentmods.dev/badge/skills/pr-pm/prpm/elastic-beanstalk-deployment.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.1 | $0.00038 | $0.02417 |
| Opus 5 | $0.00019 | $0.01208 |
| Sonnet 5 | $0.00008 | $0.00483 |
| Haiku 4.5 | $0.00004 | $0.00242 |
Grade C, and why
elastic-beanstalk-deployment scanned grade C 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 7d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf packages/app/node_modules How it starts
The opening of the file, as written. The whole thing — 359 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Elastic Beanstalk Node.js Deployment
Overview
AWS Elastic Beanstalk automates Node.js application deployment but has specific behaviors around dependency installation that can cause issues, especially with monorepos. Understanding when EB installs dependencies vs when it skips installation is critical for successful deployments.
Core principle: Choose between letting EB install dependencies (smaller packages, slower) or bundling node_modules (larger packages, more reliable).
When to Use
Use when:
- Deploying Node.js applications to AWS Elastic Beanstalk
- Encountering "Cannot find package" errors during deployment
- Working with monorepo workspace packages
- Need reliable deployments without npm registry dependencies
- Deploying applications with private packages
Don't use for:
- Non-AWS deployments
- Docker-based deployments (different dependency strategy)
- Simple apps with only public npm packages (standard approach works fine)
Official AWS Documentation
Reference: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/nodejs-platform-dependencies.html
Quick Reference: EB Dependency Installation Behavior
| Condition | EB Action | npm Command |
|---|---|---|
package.json exists, NO node_modules/ |
Installs dependencies | npm install --omit=dev (npm 7+) |
node_modules/ directory present |
Skips installation | None - uses bundled modules |
Deployment Strategies
Strategy 1: Let EB Install Dependencies (Standard)
Best for: Simple apps, all packages in npm registry, no monorepo
# GitHub Actions workflow
- name: Build application
run: npm run build
- name: Create deployment package
run: |
zip -r app.zip \
dist/ \
package.json \
package-lock.json \
.ebextensions/
Pros:
- Smaller deployment packages (5-10MB typical)
- Consistent with npm ecosystem
- Uses platform's npm version
Cons:
- Slower deployments (installs on every deploy)
- Requires all packages in npm registry
- Can fail with network/registry issues
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.
- 7d ago First seen · 359 lines · 38 tokens per session scan C d0be35129ec9
elastic-beanstalk-deployment is a skill published in the GitHub repository pr-pm/prpm (120 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 2,417 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
cloudflare-hono
Hono lightweight web framework on Cloudflare Workers.
cloudflare-workers
Cloudflare Workers edge computing platform.
cost-optimization
Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.
linkerd-patterns
Implement Linkerd service mesh patterns for lightweight, security-focused service mesh deployments. Use when setting up Linkerd, configuring traffic policies, or implementing zero-trust networking with minimal overhead.
lov-deploy-to-vercel
A deployment workflow for publishing Vite, Next.js, Create React App, or static frontend projects on Vercel, a hosting service for web applications. It can also connect a custom domain and configure Cloudflare DNS records.
cloudflare-deploy
Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare. Do NOT use for deploying to Vercel, Netlify, or Render (use their respective skills).