heroku-to-aws

heroku-to-aws is a skill for Claude Code from aws/agent-toolkit-for-aws. It costs 246 tokens per session (7,689 once invoked), scanned A, original, Apache-2.0.

A guided migration workflow for moving applications and their supporting services from Heroku to Amazon Web Services (AWS), a cloud platform. It covers compute, databases, caches, messaging, and other Heroku add-ons.

In plain words
What is it for?
Use it to plan migrations such as Heroku Postgres to Amazon RDS, Heroku Redis to ElastiCache, Kafka to Amazon MSK, or dynos to Elastic Beanstalk, Fargate, or ECS.
Why use it?
It replaces a Heroku setup with AWS services while helping identify what must move and how the pieces correspond. This avoids planning the migration service by service without a consistent method.

Skill for Claude Code

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

Part of the aws-startup-advisor plugin — 18 skills, 1 command, 7 agents shipped together

Good fit Use it to plan migrations such as Heroku Postgres to Amazon RDS, Heroku Redis to ElastiCache, Kafka to Amazon MSK, or dynos to Elastic Beanstalk, Fargate, or ECS.

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

Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.

aws/agent-toolkit-for-aws · 3,609 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 aws/agent-toolkit-for-aws --skill heroku-to-aws
Clone the repo
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws

Made for: Claude Code.

Or install aws-startup-advisor, the plugin that ships this one along with the rest of its 18 skills, 1 command, 7 agents.

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/aws/agent-toolkit-for-aws/heroku-to-aws/github.svg)](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/heroku-to-aws)
Your own site
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/heroku-to-aws"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/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/aws/agent-toolkit-for-aws/heroku-to-aws"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/heroku-to-aws.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 246 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,689 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
  • Socket pass 27 Nov 2026
  • Snyk fail 27 Nov 2026
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.00246 $0.07689
Opus 5.5 $0.00098 $0.03076
Sonnet 5.5 $0.00049 $0.01538
Haiku 4.5 $0.00025 $0.00769

Measured 2d ago against content hash 8d269ea223f2, 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/vendored/telemetry/cli.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.

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

How it starts

The opening of the file, as written. The whole thing — 391 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 plugin install root — two directories above <SKILL_BASE> — is $PLUGIN_ROOT.

Report validation is a two-command gate. The shared validator $PLUGIN_ROOT/scripts/validate-migration-report.py --profile heroku carries the structure and content standard every migration report in this plugin meets; the heroku add-on <SKILL_BASE>/scripts/validate-heroku-migration-report.py carries the heroku-only rules. Both must print REPORT_OK and exit 0; either REPORT_FAIL blocks, and a validator that does not run is not a pass. A skill-only install (npx skills add --skill heroku-to-aws) carries this skill's tree but not the plugin's top-level scripts/; without $PLUGIN_ROOT/scripts/validate-migration-report.py Generate and the Decision gate cannot complete — fail closed, exactly as for a missing python3. The gamma package maps the shared validator into <SKILL_BASE>/scripts/ so that build is self-contained.

Optional usage telemetry

Before starting or resuming, load references/vendored/telemetry/PROTOCOL.md and run its read-only status check. Use the returned reporting mode rather than the model's identity. Complete the existing notice exchange only when that protocol requires it; unavailable or declined telemetry never blocks this skill.

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 explains the targets in Heroku terms (what you deploy, what you operate, how you are billed), then 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; it also becomes the recommendation when every app already runs Heroku's container stack (the team already builds and owns its images) or the estate exceeds 40 process types. EKS remains the override for teams with Kubernetes expertise. On the Fargate override path, web formations default to ECS Express Mode (aws_config.ecs_mode: "express", see design-mapping.md 2A) unless Design records an eliminator; this is a shape of the Fargate override, not 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 allowlist 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. The one derived grouping, shared_data_stores.cohorts (apps attached to the same Postgres/Redis/Kafka add-on), is a reporting label written beside the flat list — it carries no ordering or edges and never changes how resources are processed.
  • 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 · 391 lines

Files

What ships with it

60 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. 2d ago Changed · +10 lines 8d269ea223f2
  2. 4d ago Changed 2139810fbf5d
  3. 6d ago Changed · +16 lines 20d9640c7a6a
  4. 13d ago Changed bcddc9bdf32d
  5. 16d ago Changed 813a8602e90d
  6. 18d ago Changed · +3 lines 604729647569
  7. 26d ago Changed · +4 tokens per session bca75ad71645
  8. 1mo ago Changed · +7 lines ab7765df4aeb
  9. 1mo ago Changed · +16 lines f04678096880
  10. 1mo ago First seen · 339 lines · 242 tokens per session scan A 0e624bf1d97c

Subscribe to this mod's changes

heroku-to-aws is a skill published in the GitHub repository aws/agent-toolkit-for-aws (3,609 stars, last pushed today), licensed Apache-2.0. It adds 246 tokens to every session and 7,689 once invoked, about $0.0010 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-09-26.

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-awsaws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0A246Claude Code
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25ktodayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2k2d agoApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3k3d agoMITA78Claude Code