heroku-to-aws

heroku-to-aws is a skill for Claude Code from awslabs/startups. It costs 396 tokens per session (6,313 once invoked), scanned A, original, Apache-2.0.

A migration workflow for moving applications and managed services from Heroku, a platform that runs applications for you, to Amazon Web Services (AWS), Amazon's cloud platform. It covers application compute, databases, caches, message systems, and background processes.

In plain words
What is it for?
Moving Heroku applications, Heroku Postgres databases, Redis caches, Kafka workloads, and dynos to AWS services such as RDS, ElastiCache, MSK, Elastic Beanstalk, or Fargate.
Why use it?
It helps replace Heroku-specific infrastructure with AWS services while accounting for how each part of the application runs. It provides a path for leaving Heroku rather than treating the move as only a code change.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the aws-startup-advisor plugin — 11 skills, 7 agents, 1 hook, 1 MCP server shipped together

Good fit Moving Heroku applications, Heroku Postgres databases, Redis caches, Kafka workloads, and dynos to AWS services such as RDS, ElastiCache, MSK, Elastic Beanstalk, or Fargate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/awslabs/startups/heroku-to-aws
About the project

AWS Startups is an official AWS repository containing plugins, skills, tools, and other resources for people building startup products on Amazon Web Services. Its add-ons support startup-focused architecture, migration, and development work on AWS.

awslabs/startups · 32 stars · on GitHub

Install

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.

Any agent
npx skills add awslabs/startups --skill heroku-to-aws
Clone the repo
git clone --depth 1 https://github.com/awslabs/startups

Made for: Claude Code.

Or install aws-startup-advisor, the plugin that ships this one along with the rest of its 11 skills, 7 agents, 1 hook, 1 MCP server.

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 heroku-to-aws

README.md
[![agentmods](https://agentmods.dev/badge/skills/awslabs/startups/heroku-to-aws/github.svg)](https://agentmods.dev/skills/awslabs/startups/heroku-to-aws)
Your own site
<a href="https://agentmods.dev/skills/awslabs/startups/heroku-to-aws"><img src="https://agentmods.dev/badge/skills/awslabs/startups/heroku-to-aws/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.

agentmods 80×15 button for heroku-to-aws

Your own site · 80×15
<a href="https://agentmods.dev/skills/awslabs/startups/heroku-to-aws"><img src="https://agentmods.dev/badge/skills/awslabs/startups/heroku-to-aws.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 396 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,313 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 166
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 170
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 172
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.00396 $0.06313
Opus 5.5 $0.00158 $0.02525
Sonnet 5.5 $0.00079 $0.01263
Haiku 4.5 $0.00040 $0.00631

Measured 2mo ago against content hash 1a34f85c0adb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

heroku-to-aws 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 2mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/emit-plan-json.py, scripts/test_validate_heroku_migration_report_cost.py, scripts/test_validate_heroku_migration_report_currency.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

advisor/plugins/aws-startup-advisor/skills/heroku-to-aws/SKILL.md · 339 lines

How it starts

The opening of the file, as written. The whole thing — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Heroku-to-AWS Migration Skill

The skill base directory is given in the "Base directory for this skill: X" line the harness emits at load time. Call it <SKILL_BASE>. The report validator lives at <SKILL_BASE>/scripts/validate-heroku-migration-report.py — resolve it relative to <SKILL_BASE>, never assume a plugin-root scripts/ directory, since a standalone npx skills add --skill heroku-to-aws install carries only this skill's own directory tree, not the plugin's top-level scripts/.

Philosophy

  • Full platform exit by default: Heroku is in sustaining engineering (KTLO) — stability and support only, no new investment. Enterprise contracts are no longer sold to new customers. This skill assumes complete departure from Heroku (compute, data, and add-ons) within a user-defined window. Do not recommend indefinite continued use of Heroku.
  • PaaS-to-PaaS by default, recommendation-shaped: Elastic Beanstalk (Docker platform, AL2023) is the default compute target because it preserves Heroku's managed platform model (source deployment, platform-managed environments, and lower operational burden than direct container orchestration). Clarify presents a per-formation compute recommendation before asking for confirmation. Fargate remains the override for direct container control and is used automatically for horizontally scaled non-web processes that EB SingleInstance cannot preserve; EKS remains the override for teams with Kubernetes expertise. ECS Express Mode may be mentioned only as a forward-look for the Fargate override path, not as a replacement for the EB default. Do not recommend AWS App Runner (no longer accepting new customers as of April 2026).
  • Interim cutover is bounded: If a user chooses data-first migration (database on AWS, app temporarily on Heroku), treat this as a bounded phase (weeks, not quarters). Require a target exit date and surface KTLO platform risk warnings.
  • Re-platform by default: Select AWS services that match Heroku workload types (e.g., Dynos → Elastic Beanstalk, Heroku Postgres → RDS/Aurora, Heroku Redis → ElastiCache, Kafka → MSK).
  • Dev sizing unless specified: Default to development-tier capacity (e.g., db.t4g.micro, single AZ). Upgrade only on user direction.
  • No human one-time migration costs: Do not present human labor, professional services, or people-time work as dollar estimates or "one-time migration cost" budget categories. Vendor charges grounded in data (for example Heroku invoice line items in the infra estimate when billing exists) are allowed.
  • Live-first discovery, read-only and consent-gated: The user's authenticated Heroku CLI is a first-class discovery source — most startups have no heroku_* Terraform, and the account is authoritative for what actually runs. Live capture is strictly read-only (an exact-command whitelist of list/info commands), requires explicit consent, never captures config var values (key names only), and never extracts the API token. Terraform files (.tf with heroku_* resources) and repo artifacts (Procfile, app.json) remain fully supported; when both live and Terraform data exist, live wins for current state, Terraform supplements structure and provenance, and disagreements are surfaced as drift — never silently resolved.
  • Flat resource model: Heroku resources are organized per-app without dependency graphs or clustering. No topological sorting, typed edges, or cluster formation logic. Resources are processed as a flat list in input order.
  • Deterministic mappings: Core services use fixed lookup tables (Dyno Type Table, Postgres Plan Table, Redis Plan Table, Kafka Plan Table). Common add-ons use the Fast-Path Table. Unknown add-ons hit the specialist gate.
  • DMS has Heroku constraints: AWS DMS cannot perform continuous replication (CDC) with Heroku Postgres because Heroku does not grant the REPLICATION role. DMS is for one-time bulk migration with a cutover window only. The skill must surface this constraint when DMS is selected.
  • What-if after Estimate: After costs are computed, SAs can enter an optional what-if workshop sidebar (references/phases/workshop/workshop.md) to change region, HA, compute target, or CPU architecture (x86 vs Graviton), refresh Design + Estimate, and compare up to 5 priced scenarios — without re-running Discover. Rates are cache-based (us-east-1 anchor; regional deltas are noted qualitatively). Workshop arch defaults to x86_64 here (EB tables historically x86-first).

Read the full file on GitHub · 339 lines

Files

What ships with it

59 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · +2 lines 1a34f85c0adb
  2. 2mo ago Changed · +9 lines · +16 tokens per session ae19694a93cb
  3. 2mo ago Changed · +44 lines f1e127dd5c7a
  4. 2mo ago Changed · +18 lines 416b6d9084b0
  5. 2mo ago Changed · +29 lines 78b5a2b0411b
  6. 3mo ago First seen · 237 lines · 380 tokens per session scan A 59c032c94975

Subscribe to this mod's changes

heroku-to-aws is a skill published in the GitHub repository awslabs/startups (32 stars, last pushed 19d ago), licensed Apache-2.0. It adds 396 tokens to every session and 6,313 once invoked, about $0.0016 per session on Opus 5.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.

Related

heroku-to-aws compared with skills from other repositories

heroku-to-aws next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
heroku-to-awsawslabs/startupsSkill3219d agoApache-2.0A396Claude Code
gke-compute-classesgoogle/skillsSkill25kyesterdayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25kyesterdayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25kyesterdayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25kyesterdayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code