aws/agent-toolkit-for-aws
Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS
Python★ 3,190+13 that day#3 on trending
E29/100
Duplication13
25.7% in python, typescript, bash, hcl, javascript, java, sql, dockerDead code49
7.8%Complexity41
65.4% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
33.46%duplicated code · 35,389 of 105,755 lines
309clones in code
333code files of 5,563 scanned
25.71%duplicated over all files · 2,736 clones
Most complex files
- plugins/aws-startup-advisor/scripts/validate-migration-report.py571 cx
- plugins/aws-startup-advisor/scripts/validate-artifacts.py469 cx
- plugins/aws-startup-advisor/skills/heroku-to-aws/scripts/validate-heroku-migration-report.py381 cx
- skills/specialized-skills/database-skills/amazon-dynamodb/scripts/calculate_costs.py329 cx
- plugins/aws-startup-advisor/fixtures/azure-iac-terraform/check_expected_design.py311 cx
- skills/specialized-skills/database-skills/amazon-dynamodb/scripts/generate_perf_report.py306 cx
- plugins/aws-startup-advisor/skills/agent-advisor/scripts/openai_model_recommendation.py266 cx
- plugins/aws-startup-advisor/tools/application-source-review.ts249 cx
- skills/specialized-skills/database-skills/amazon-documentdb/scripts/wa_review.py222 cx
- skills/specialized-skills/database-skills/amazon-dynamodb/scripts/benchmark_model.py221 cx
Dead code 7.83% unused · 89 findings
- skills/specialized-skills/aws-marketplace-skills/aws-marketplace-metering/scripts/metering_core.pyunused-file
- plugins/aws-core/skills/aws-ai-ml/references/model-evaluation/scripts/nova_reward_function_source_template.pyunused-file
- skills/core-skills/aws-ai-ml/references/model-evaluation/scripts/nova_reward_function_source_template.pyunused-file
- plugins/aws-core/skills/aws-ai-ml/references/finetuning/templates/nova_rlvr_reward_function_source_template.pyunused-file
- skills/core-skills/aws-ai-ml/references/finetuning/templates/nova_rlvr_reward_function_source_template.pyunused-file
- plugins/aws-core/skills/aws-ai-ml/references/endpoint-diagnostics/scripts/collect_diagnostics.pyunused-file
- skills/core-skills/aws-ai-ml/references/endpoint-diagnostics/scripts/collect_diagnostics.pyunused-file
- skills/specialized-skills/aws-marketplace-skills/aws-marketplace-metering/scripts/subscription.pyunused-file
- skills/specialized-skills/aws-marketplace-skills/aws-marketplace-metering/scripts/submitter.pyunused-file
- skills/specialized-skills/aws-marketplace-skills/aws-marketplace-metering/scripts/register.pyunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.
Largest clones in the code
- 562 lines in 6 placespython3,777 tokensplugins/aws-startup-advisor/scripts/telemetry/metric_emission/migration.py:1–562plugins/aws-startup-advisor/skills/azure-to-aws/references/vendored/telemetry/metric_emission/migration.py:1–562plugins/aws-startup-advisor/skills/gcp-to-aws/references/vendored/telemetry/metric_emission/migration.py:1–562plugins/aws-startup-advisor/skills/heroku-to-aws/references/vendored/telemetry/metric_emission/migration.py:1–562plugins/aws-startup-advisor/skills/llm-to-bedrock/references/vendored/telemetry/metric_emission/migration.py:1–562and 1 more
1#!/usr/bin/env python3 2"""Hook: report a migration run's progress as MigrationActivity telemetry. 3 4 python3 scripts/telemetry/metric_emission/migration.py # PostToolUse (Write|Edit|Bash) 5 python3 scripts/telemetry/metric_emission/migration.py --reconcile # Stop 6 python3 scripts/telemetry/metric_emission/migration.py --session-end # SessionEnd 7 python3 scripts/telemetry/metric_emission/migration.py --reconcile --via cli # other hosts 8 9Nothing is inferred from the conversation and no skill instruction has to be 10followed. The migration skills maintain `.migration/<id>/.phase-status.json` (andFirst 10 of 562 lines.
- 525 lines in 6 placespython3,426 tokensplugins/aws-startup-advisor/scripts/telemetry/metric_emission/migration_attributes.py:1–525plugins/aws-startup-advisor/skills/azure-to-aws/references/vendored/telemetry/metric_emission/migration_attributes.py:1–525plugins/aws-startup-advisor/skills/gcp-to-aws/references/vendored/telemetry/metric_emission/migration_attributes.py:1–525plugins/aws-startup-advisor/skills/heroku-to-aws/references/vendored/telemetry/metric_emission/migration_attributes.py:1–525plugins/aws-startup-advisor/skills/llm-to-bedrock/references/vendored/telemetry/metric_emission/migration_attributes.py:1–525and 1 more
1#!/usr/bin/env python3 2"""Attributes for a migration telemetry event, derived from the run's own artifacts. 3 4Every value is a lookup over files the migration skills already write into 5`.migration/<id>/`: no inference, no free text. Unknown or unmodelled values drop 6the attribute, never the event, because the service rejects a whole event on one 7bad enum member. Phase facts attach only to the PHASE_COMPLETED event of the 8phase that produced them, so no aggregation double counts; `complexityTier` is 9the exception, riding every Design-onward and terminal event because it segments 10the funnel.First 10 of 525 lines.
- 291 lines in 6 placespython1,494 tokensplugins/aws-startup-advisor/scripts/telemetry/metric_emission/client.py:1–291plugins/aws-startup-advisor/skills/azure-to-aws/references/vendored/telemetry/metric_emission/client.py:1–291plugins/aws-startup-advisor/skills/gcp-to-aws/references/vendored/telemetry/metric_emission/client.py:1–291plugins/aws-startup-advisor/skills/heroku-to-aws/references/vendored/telemetry/metric_emission/client.py:1–291plugins/aws-startup-advisor/skills/llm-to-bedrock/references/vendored/telemetry/metric_emission/client.py:1–291and 1 more
1#!/usr/bin/env python3 2"""POST a PluginTelemetryEvent to the Startups Advisor IDE Extension API. 3 4 POST /v1/plugin-telemetry-event 5 { 6 "installId": "<uuid>", # @required, UUID shape 7 "source": "CLAUDE_CODE", # @required, PluginSource enum 8 "pluginVersion": "2.0.2", # @required, ExtensionVersion shape 9 "occurredAt": 1759276800000, # @required, epoch milliseconds 10 "pluginTelemetryEvent": {...} # the PluginTelemetryEvent unionFirst 10 of 291 lines.
7 more
- 1619 lines in 2 placespython6,562 tokens
- 982 lines in 2 placespython5,555 tokens
- 194 lines in 6 placespython978 tokensplugins/aws-startup-advisor/scripts/telemetry/consent/record.py:1–194plugins/aws-startup-advisor/skills/azure-to-aws/references/vendored/telemetry/consent/record.py:1–194plugins/aws-startup-advisor/skills/gcp-to-aws/references/vendored/telemetry/consent/record.py:1–194plugins/aws-startup-advisor/skills/heroku-to-aws/references/vendored/telemetry/consent/record.py:1–194plugins/aws-startup-advisor/skills/llm-to-bedrock/references/vendored/telemetry/consent/record.py:1–194and 1 more
- 1185 lines in 2 placespython4,583 tokens
- 929 lines in 2 placespython4,204 tokens
- 658 lines in 2 placespython3,777 tokens
- 709 lines in 2 placespython3,730 tokens
Largest clones over all files, tests and data included
- 565 lines in 4 placesmarkdowndocs and examples13,116 tokensplugins/aws-startup-advisor/skills/agent-advisor/references/vendored/ai/bedrock-pricing-cache.md:1–565plugins/aws-startup-advisor/skills/azure-to-aws/references/vendored/ai/bedrock-pricing-cache.md:1–565plugins/aws-startup-advisor/skills/gcp-to-aws/references/vendored/ai/bedrock-pricing-cache.md:1–565plugins/aws-startup-advisor/skills/shared/ai/bedrock-pricing-cache.md:1–565
1# Amazon Bedrock Pricing Cache 2 3**Last updated:** 2026-10-05 (re-verified via the AWS Pricing MCP server, aws.amazon.com/bedrock/pricing, and the Bedrock model cards' Geo/Global inference ID … 4**Region:** us-east-1 5**Currency:** USD 6**Accuracy:** ±15-25% for AI/Bedrock models and services (sourced from public pricing pages) 7 8> Prices may vary by region and change over time. Use for estimation only; there is no live pricing lookup — for the latest rates, check the public AWS pricing… 9> **Staleness warning:** If today's date is more than 30 days after the **Last updated** date above, treat AI model prices as potentially stale (±15-25% accura… 10>First 10 of 565 lines.
- 638 lines in 4 placesmarkdowndocs and examples10,612 tokensplugins/aws-startup-advisor/skills/agent-advisor/references/vendored/dsl/INTERPRETER.md:1–638plugins/aws-startup-advisor/skills/azure-to-aws/references/vendored/dsl/INTERPRETER.md:1–638plugins/aws-startup-advisor/skills/heroku-to-aws/references/vendored/dsl/INTERPRETER.md:1–638plugins/aws-startup-advisor/skills/shared/dsl/INTERPRETER.md:1–638
1# Interpreter 2 3The plugin-shared contract for DSL-driven migration skills: how to read and act on 4the structured frontmatter that phase files carry. It is skill-AGNOSTIC — any 5migration skill under this plugin can author its phases to this grammar and drive 6execution from this one interpreter. When a phase file begins with a `---` YAML 7block, read it first and act on the keys below, then execute the phase's prose body. 8 9Frontmatter is being introduced phase-by-phase. A phase file with no frontmatter 10runs entirely from its prose, as before.First 10 of 638 lines.
- 1786 lines in 2 placesmarkdowndocs and examples22,768 tokensplugins/aws-core/skills/aws-observability/references/cloudwatch-omni/alerts.md:1–1786skills/core-skills/aws-observability/references/cloudwatch-omni/alerts.md:1–1786
1# CloudWatch Omni Alerts 2 3Reference for **CloudWatch Omni alerts** — what they are, how they are evaluated, how 4to create, update, delete, tag, and fetch them through the public API, and a section 5per API operation. 6 7On an Omni-enabled account "alert" and "alarm" both mean the Omni alert resource 8described here — a separate resource from a CloudWatch alarm, with its own API. 9 10Alert operations are part of the `cloudwatch-omni` service (`aws cloudwatchomniFirst 10 of 1786 lines.
- 1272 lines in 2 placesmarkdowndocs and examples18,978 tokens
- 562 lines in 6 placespython3,777 tokensplugins/aws-startup-advisor/scripts/telemetry/metric_emission/migration.py:1–562plugins/aws-startup-advisor/skills/azure-to-aws/references/vendored/telemetry/metric_emission/migration.py:1–562plugins/aws-startup-advisor/skills/gcp-to-aws/references/vendored/telemetry/metric_emission/migration.py:1–562plugins/aws-startup-advisor/skills/heroku-to-aws/references/vendored/telemetry/metric_emission/migration.py:1–562plugins/aws-startup-advisor/skills/llm-to-bedrock/references/vendored/telemetry/metric_emission/migration.py:1–562and 1 more
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 290 | 94,798 | 295 | 35,163 | 37.09% |
| bash | 21 | 4,731 | 9 | 68 | 1.44% |
| typescript | 15 | 5,782 | 5 | 158 | 2.73% |
| java | 1 | 218 | 0 | 0 | 0% |
| javascript | 5 | 187 | 0 | 0 | 0% |
| sql | 1 | 39 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| markdown | 2,682 | 449,318 | 1,571 | 118,094 | 26.28% |
| python | 572 | 138,578 | 432 | 39,508 | 28.51% |
| json | 519 | 42,519 | 211 | 9,364 | 22.02% |
| bash | 537 | 19,364 | 169 | 3,429 | 17.71% |
| text | 477 | 10,380 | 128 | 2,438 | 23.49% |
| yaml | 293 | 11,383 | 64 | 2,538 | 22.3% |
| typescript | 112 | 11,699 | 50 | 1,010 | 8.63% |
| sql | 101 | 4,265 | 43 | 1,620 | 37.98% |
| java | 43 | 2,730 | 19 | 1,060 | 38.83% |
| javascript | 62 | 2,445 | 16 | 416 | 17.01% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Oct 25, 2026 | #3 | 3,190 (+13) | 5,563 | 701,969 | 2,736 | 25.71% | 33.46% | E 29 | e8c6309 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.