CommunityCoding & Developmentgithub.com

alexaiarchitect/agentcore-skills

>- Estimate what Amazon Bedrock AgentCore will cost per month from a usage profile, line by line with the formula for each line, and put a budget and a usage alarm around it. Prices the published AgentCore rate card (Gateway invocations, search and tool indexing; Identity token requests, free through Runtime or Gateway; Runtime vCPU-hours billed only while active and GB-hours; Memory short-term events — per 1,000 events until 2026-10-05, per GB from 2026-10-06 — and long-term records and retrievals; Evaluations tokens), prices model tokens only at the user's own per-1,000 rates, and lists what it does not price (Lambda, API Gateway, CloudWatch, X-Ray, DynamoDB) so the total is never mistaken for the bill. Generates an AWS Budget filtered to AgentCore with forecast and actual alerts, plus a CloudWatch alarm on gateway invocations, as Terraform after a dry run. Findings are the `CST0xx` band. Use when asked "what will AgentCore cost", "estimate the gateway bill", "is there a free tier", "memory pricing chang...

What is agentcore-skills?

agentcore-skills is a Claude Code agent skill that >- Estimate what Amazon Bedrock AgentCore will cost per month from a usage profile, line by line with the formula for each line, and put a budget and a usage alarm around it. Prices the published AgentCore rate card (Gateway invocations, search and tool indexing; Identity token requests, free through Runtime or Gateway; Runtime vCPU-hours billed only while active and GB-hours; Memory short-term events — per 1,000 events until 2026-10-05, per GB from 2026-10-06 — and long-term records and retrievals; Evaluations tokens), prices model tokens only at the user's own per-1,000 rates, and lists what it does not price (Lambda, API Gateway, CloudWatch, X-Ray, DynamoDB) so the total is never mistaken for the bill. Generates an AWS Budget filtered to AgentCore with forecast and actual alerts, plus a CloudWatch alarm on gateway invocations, as Terraform after a dry run. Findings are the `CST0xx` band. Use when asked "what will AgentCore cost", "estimate the gateway bill", "is there a free tier", "memory pricing chang...

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/alexaiarchitect/agentcore-skills/tree/HEAD/skills/agentcore-cost

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What will AgentCore cost?

AgentCore bills each service on its own dimension, and the services a gateway-fronted Lambda uses most (Lambda, API Gateway, CloudWatch, X-Ray) are not AgentCore at all. So an honest estimate prices exactly what the AgentCore rate card covers, shows its arithmetic, and lists what is left out.

${CLAUDE_SKILL_DIR} is set by the skill runtime to this skill's own directory. Use it verbatim in every command below; a sibling skill's scripts are at ${CLAUDE_SKILL_DIR}/../<skill>/scripts/.

Flow

  1. Build a profile with the user. Start from the example and ask for the numbers that drive cost: requests per day, tool calls per request, Runtime sessions and their length, Memory events and records. Fields: usage-profile.md.

    cp ${CLAUDE_SKILL_DIR}/assets/profile.example.json ./agentcore-profile.json
    

    Writing the profile is a file write: confirm it first.

  2. Estimate.

    python3 ${CLAUDE_SKILL_DIR}/scripts/cost_estimate.py agentcore-profile.json
    

    --as-of 2026-10-06 to apply the new Memory rate card; --json for the lines.

  3. Report the total as "AgentCore lines only", the per-service split, the largest line and its formula, and the unpriced list. Quote the pricing source and its checked date; every figure is a list-price estimate.

  4. Options: a budget and alarm module (free to generate); a cheaper design for the largest line (e.g. no semantic search, fewer memory strategies); nothing. Confirm with AskUserQuestion, then:

    python3 ${CLAUDE_SKILL_DIR}/scripts/gen_budget.py <project> --monthly-usd 20 --email [email protected] --profile agentcore-profile.json --dry-run
    
  5. Verify with review.py on the project after writing.

The CST0xx band

IdSeverityTrigger
CST001warnthe profile's region does not offer Gateway
CST002infowhat is not priced (always listed)
CST003infoMemory priced on the per-event card that ends 2026-10-05
CST004warnthe rate card is more than 90 days older than --as-of
CST005infothe page publishes one rate card, not per-region prices
CST010infothe project already has budgets

Decision rules

  • Never call the total "the bill". It is the AgentCore lines at list price.
  • Model tokens are the user's numbers. Bedrock model prices vary by model and region; the profile supplies them or they are left out.
  • Identity through Runtime or Gateway is free; outside them it is $0.010 per 1,000 requests.
  • Alarms beat budgets for runaways. Budgets lag by hours; an invocation alarm fires within the hour.

References

QuestionFile
Every pricing dimension, with the rate and its datepricing-dimensions.md
The profile format, field by fieldusage-profile.md
The budget and alarm modulebudget-alarms.md

Scripts

CommandDoesExit codes
scripts/cost_estimate.py <profile.json> [--as-of DATE] [--json]the line-by-line estimate0 estimated, 2 bad profile
scripts/gen_budget.py <project> --monthly-usd N [--email E] [--profile P] [--dry-run] [--force] [--json]budget + invocation alarm module0 planned/written, 1 nothing, 2 bad arguments

Completion checklist

  • The profile's numbers came from the user, and the file was written only after confirmation.
  • The estimate was reported as AgentCore lines only, with the unpriced list.
  • The pricing source and checked date were quoted; Memory's rate-card date was applied.
  • Any budget module was shown as a write plan and confirmed before writing.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

alexaiarchitect/agentcore-skills

>- Put Amazon Bedrock AgentCore infrastructure behind a plan-only CI gate. Generates a GitHub Actions workflow that, on pull requests touching the infrastructure, runs the static AgentCore review (`ACR0xx`), `terraform fmt -check`, `init`, `validate`, a saved `plan` (Terraform or Terragrunt) with a read-only OIDC role, `show -json`, and the plan policy (`CI0xx`: no delete or replace of memories, gateways, credential providers, workload identities, user pools or tables without an explicit per-address allowance; no `*` on `*`; no gateway with `authorizer_type = NONE`; pinned MCP revisions), then uploads the plan JSON. Nothing in it applies. The plugin's stdlib-only library is vendored into `ci/agentcore/` so the job needs nothing from the plugin, and action pins are reused from the repository's own SHA-pinned workflows. `policy_check.py` also runs locally on any saved plan. Use when asked to "add CI for the AgentCore Terraform", "gate the plan", "block destructive changes", "policy check the plan", "plan on ...

alexaiarchitect/agentcore-skills

>- Scaffold Amazon Bedrock AgentCore resources as infrastructure as code: a Runtime (ECR repository, service role, `aws_bedrockagentcore_agent_runtime` with a JWT authorizer and lifecycle settings), a Gateway (role, JWT authorizer, pinned MCP revisions, one target), Identity (Cognito M2M client plus an OAuth2 credential provider with write-only secrets) or Memory (memory, strategies, customer-managed key). Terraform modules are the default and the recommendation; a TypeScript CDK stack with the `aws-bedrockagentcore` L1 constructs and the AgentCore CLI (`@aws/agentcore`) commands are offered for teams already on them. Every write is shown as a plan first (`--dry-run`), existing files are never overwritten without `--force`, and nothing is planned or applied. Use when asked to "create an AgentCore runtime", "scaffold a gateway", "add AgentCore memory", "write the Terraform for AgentCore", "start a new AgentCore stack", or "give me the CDK for this". Don't use for a gateway in front of an existing Lambda, HT...

alexaiarchitect/agentcore-skills

>- Plan the deployment of Amazon Bedrock AgentCore infrastructure and its rollback, and hand the user the exact commands — never running them. Finds the root module (or Terragrunt stack) that actually reaches the AgentCore resources, orders what comes up (identity and roles, then gateway, runtime and memory, then targets and strategies, then log delivery), flags where a first apply trips (IAM propagation, creation-only semantic search, Transaction Search before TRACES delivery, an old provider lock, no remote backend), checks published quotas (targets per gateway, tools per target), and emits init / validate / plan-to-file / show -json / policy check / apply of that saved plan, the post-apply checks, and the rollback for each kind of change. Findings are the `DPL0xx` band; the cost tier is `aws` because the commands create billable resources. Use when asked to "deploy the gateway", "apply this", "what order do I apply in", "how do I roll back", "will this hit a quota", "give me the terraform commands". Don...

alexaiarchitect/agentcore-skills

>- Inventory a project for Amazon Bedrock AgentCore work and report before advising. Finds existing AgentCore resources and which tool owns them (Terraform `aws_bedrockagentcore_*`/`awscc_*`, CDK constructs, the AgentCore CLI's `agentcore.json`, the deprecated starter toolkit's `.bedrock_agentcore.yaml`, boto3 `bedrock-agentcore` clients, the AgentCore Python SDK and `@requires_access_token`), the agent framework (Strands, LangGraph, LangChain, Claude Agent SDK, CrewAI, OpenAI Agents, ADK, raw), MCP servers and the API Gateway routes and Lambdas behind `/mcp`, Cognito pools, clients and JWT authorizers, the AWS region and per-service availability there, the hashicorp/aws constraint and lock, Terragrunt, and Lambda tracing. Read-only; findings are the `DSC0xx` band. Use when asked "what do I have", "is this on AgentCore", "inventory this repo", "which region are we in", "is AgentCore available in eu-central-1", "what framework is this agent", or before any other AgentCore skill on an unfamiliar project. Don...

Related Skills