elastic-beanstalk-deployment

elastic-beanstalk-deployment is a skill for Claude Code from pr-pm/prpm. It costs 38 tokens per session (2,417 once invoked), scanned C, original, MIT.

A guide for deploying Node.js applications to AWS Elastic Beanstalk, an AWS service that manages application deployment and servers. It covers how the service installs or packages project dependencies.

In plain words
What is it for?
It helps choose a dependency strategy, deploy applications with private packages, handle workspace packages, and troubleshoot Elastic Beanstalk deployments.
Why use it?
It helps resolve missing-package errors and dependency problems, especially in monorepos, which are repositories containing multiple related projects.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node dist/index.js # Should start without errors.

Good fit It helps choose a dependency strategy, deploy applications with private packages, handle…

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/pr-pm/prpm
agentmods
npx agentmods add skills/pr-pm/prpm/elastic-beanstalk-deployment

Made for: Claude Code.

Wrote 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.

agentmods badge for elastic-beanstalk-deployment

README.md
[![agentmods](https://agentmods.dev/badge/skills/pr-pm/prpm/elastic-beanstalk-deployment.svg)](https://agentmods.dev/skills/pr-pm/prpm/elastic-beanstalk-deployment)
Your own site
<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>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,417 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 7d ago against content hash d0be35129ec9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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
.claude/skills/elastic-beanstalk-deployment/SKILL.md · 359 lines

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

Read the full file on GitHub · 359 lines

Changes

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.

  1. 7d ago First seen · 359 lines · 38 tokens per session scan C d0be35129ec9

Subscribe to this mod's changes

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.