AWS Cdk Development
zxkane/aws-skills
AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.
Diagnose and fix common ABCA issues: deployment failures, preflight errors, authentication problems, agent failures, and build issues.
$ npx skills add aws-samples/sample-autonomous-cloud-coding-agents --skill troubleshoot -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aws-samples/sample-autonomous-cloud-coding-agents troubleshoot --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aws-samples/sample-autonomous-cloud-coding-agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/abca-plugin/skills/troubleshoot .claude/skills/troubleshoot && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "troubleshoot" agent skill from https://github.com/aws-samples/sample-autonomous-cloud-coding-agents/tree/main/docs/abca-plugin/skills/troubleshoot into .claude/skills/troubleshoot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "troubleshoot", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aws-samples/sample-autonomous-cloud-coding-agents/tree/main/docs/abca-plugin/skills/troubleshootType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aws-samples/sample-autonomous-cloud-coding-agents --skill troubleshoot -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aws-samples/sample-autonomous-cloud-coding-agents troubleshoot --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aws-samples/sample-autonomous-cloud-coding-agents.git skills-src && mkdir -p .agents/skills && cp -r skills-src/docs/abca-plugin/skills/troubleshoot .agents/skills/troubleshoot && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "troubleshoot" agent skill from https://github.com/aws-samples/sample-autonomous-cloud-coding-agents/tree/main/docs/abca-plugin/skills/troubleshoot into .agents/skills/troubleshoot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "troubleshoot", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aws-samples/sample-autonomous-cloud-coding-agents --skill troubleshoot -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aws-samples/sample-autonomous-cloud-coding-agents troubleshoot --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aws-samples/sample-autonomous-cloud-coding-agents.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/docs/abca-plugin/skills/troubleshoot .cursor/skills/troubleshoot && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "troubleshoot" agent skill from https://github.com/aws-samples/sample-autonomous-cloud-coding-agents/tree/main/docs/abca-plugin/skills/troubleshoot into .cursor/skills/troubleshoot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "troubleshoot", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aws-samples/sample-autonomous-cloud-coding-agents.git --path docs/abca-plugin/skills/troubleshoot--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aws-samples/sample-autonomous-cloud-coding-agents --skill troubleshoot -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aws-samples/sample-autonomous-cloud-coding-agents troubleshoot --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aws-samples/sample-autonomous-cloud-coding-agents.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/docs/abca-plugin/skills/troubleshoot .gemini/skills/troubleshoot && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "troubleshoot" agent skill from https://github.com/aws-samples/sample-autonomous-cloud-coding-agents/tree/main/docs/abca-plugin/skills/troubleshoot into .gemini/skills/troubleshoot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "troubleshoot", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aws-samples/sample-autonomous-cloud-coding-agents troubleshootInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aws-samples/sample-autonomous-cloud-coding-agents --skill troubleshoot -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aws-samples/sample-autonomous-cloud-coding-agents.git skills-src && mkdir -p .github/skills && cp -r skills-src/docs/abca-plugin/skills/troubleshoot .github/skills/troubleshoot && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "troubleshoot" agent skill from https://github.com/aws-samples/sample-autonomous-cloud-coding-agents/tree/main/docs/abca-plugin/skills/troubleshoot into .github/skills/troubleshoot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "troubleshoot", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aws-samples/sample-autonomous-cloud-coding-agents --skill troubleshoot -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aws-samples/sample-autonomous-cloud-coding-agents troubleshoot --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aws-samples/sample-autonomous-cloud-coding-agents.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/docs/abca-plugin/skills/troubleshoot .opencode/skills/troubleshoot && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "troubleshoot" agent skill from https://github.com/aws-samples/sample-autonomous-cloud-coding-agents/tree/main/docs/abca-plugin/skills/troubleshoot into .opencode/skills/troubleshoot/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "troubleshoot", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
troubleshootDiagnose and fix common ABCA issues: deployment failures, preflight errors, authentication problems, agent failures, and build issues.
Troubleshoot is an agent skill from aws-samples/sample-autonomous-cloud-coding-agents, published by the product's own GitHub organization. Diagnose and fix common ABCA issues: deployment failures, preflight errors, authentication problems, agent failures, and build issues. Use when the user says "troubleshoot", "debug", "not working", "error", "failed", "help me fix", "preflightfailed", "task failed", "deploy failed", "auth error", "401", "422", "503", or describes something not working as expected.
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in DevOps & Cloud, covering Deployment and Authentication. It works with Amazon Web Services. The repository describes itself as: Autonomous background coding agents on AWS. Turn tasks into pull requests via isolated runtimes, with built-in orchestration, observability, and governance. The licence is MIT-0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit dfcde8d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
awsnodemisedockerFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
docs.aws.amazon.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GITHUB_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Troubleshoot loads about 2.7k tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 1,107 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aws-samples/sample-autonomous-cloud-coding-agents at commit dfcde8d, republished under its MIT-0 licence (© aws-samples). 1,107 words, ~2,734 tokens.
.claude/skills/troubleshoot/SKILL.md (or your agent's skills folder).You are diagnosing an issue with the ABCA platform. Follow a systematic approach: gather symptoms, check the most common causes, and apply targeted fixes.
Running the CLI: commands below call
node cli/lib/bin/bgagent.js …. In a non-interactive or mise-managed shellnodemay not be onPATH— prefix withmise exec --. Ironically,node: command not foundis itself a common symptom (the shell hasn't activated mise); that's a missing prefix, not a broken install.
Determine which area the issue falls into:
export MISE_EXPERIMENTAL=1
mise //cdk:compile 2>&1 | tail -50 # TypeScript errors
mise //cdk:test 2>&1 | tail -50 # Test failuresCommon causes:
mise run install after pulling changesyarn: command not found — Run corepack enable && corepack prepare yarn@1.22.22 --activatecdk/src/handlers/shared/types.ts without updating cli/src/types.ts# Check CloudFormation events for the failed stack
aws cloudformation describe-stack-events --stack-name backgroundagent-dev \
--query 'StackEvents[?ResourceStatus==`CREATE_FAILED` || ResourceStatus==`UPDATE_FAILED`].[LogicalResourceId,ResourceStatusReason]' \
--output tableCommon causes:
mise //cdk:bootstrapaws sts get-caller-identity# Verify credentials
aws sts get-caller-identity
# Check Cognito user exists
aws cognito-idp admin-get-user \
--user-pool-id $USER_POOL_ID \
--username user@example.comCommon causes:
bgagent login"Repository not onboarded" / REPO_NOT_ONBOARDED (422):
bgagent repo onboard <owner/repo> (operator path — writes the RepoTable record at runtime, no redeploy). A CDK Blueprint is only needed for declarative config. Use the onboard-repo skill for details.owner/repo matches exactly what you pass to bgagent submit --repo."GUARDRAIL_BLOCKED" (400):
Validation errors:
repo is required, plus at least one of issue_number, task_description, pr_numbermax_turns range: 1-500max_budget_usd range: $0.01-$100# Check task events for details
node cli/lib/bin/bgagent.js events <TASK_ID> --output jsonpreflight_failed:
reason and detail fields for specificstask_failed / task completes with 0 tokens and no PR:
aws logs filter-log-events \
--log-group-name "/aws/vendedlogs/bedrock-agentcore/runtime/APPLICATION_LOGS/jean_cloude" \
--filter-pattern "<TASK_ID>" \
--region us-west-2 --query 'events[*].message' --output text403 "not authorized to perform bedrock:InvokeModelWithResponseStream":
model_id is a model the runtime IAM role wasn't granted. The runtime only has grantInvoke for the models in the stack's configured set — read it from the BedrockModelIds stack output rather than a list here (Sonnet 4.6, Opus 4.8, Opus 5, Haiku 4.5 by default).bgagent repo onboard <owner/repo> --model global.anthropic.claude-opus-5 (no redeploy).cdk/src/constructs/bedrock-models.ts — add the model via the bedrockModels CDK context (cdk.json) so both the AgentCore and ECS backends grant it (#433). Adding a model also requires account-level Bedrock access for it (separate from IAM — see the next row).Model not enabled / "not available on your Bedrock deployment" (often immediate failure, few turns, zero or near-zero tokens):
bedrock:InvokeModel*, but the account must also satisfy Amazon Bedrock model access: Marketplace subscription flow on first serverless use (with aws-marketplace:Subscribe / ViewSubscriptions where needed), Anthropic first-time use details (PutUseCaseForModelAccess or the console model catalog), and a valid payment method for Marketplace-backed models.model_id when Bedrock requires it for on-demand invocation (for example global.anthropic.claude-opus-5 for global Opus 5). See Use an inference profile in model invocation. Raw anthropic.* IDs often hit "on-demand not supported" or wrong routing — see the 400 row below.ResultMessage.is_error, the agent marks the task FAILED (not COMPLETED) and persists error_message in DynamoDB.400 "Invocation with on-demand throughput isn't supported":
modelId uses a raw foundation model ID (e.g. anthropic.claude-opus-4-8)BedrockGeoRegion output (e.g. global.anthropic.claude-opus-4-8) — then update
DynamoDB via redeploy. A prefix from a different geography raises AccessDenied
rather than this 400, since the IAM grant is scoped per geography.503 "Too many connections" / task completes with 0 tokens after long duration:
COMPLETED if the SDK does not flag ResultMessage.is_error (unlike hard Bedrock entitlement errors, which surface as FAILED once the CLI sets is_error on the result)"text": "API Error: 503 Too many connections"aws dynamodb get-item \
--table-name <RepoTableName> \
--key '{"repo": {"S": "owner/repo"}}' \
--query 'Item.model_id' --output textonUpdate only sets fields present in props; removing a modelId prop does NOT remove the field from DynamoDB. The task keeps using the old model.model_id if present:aws dynamodb update-item \
--table-name <RepoTableName> \
--key '{"repo": {"S": "owner/repo"}}' \
--update-expression "REMOVE model_id"InvokeModel RPM on your modeltask_timed_out:
max_turns for complex tasksConcurrency limit:
# Verify Docker is running
docker info
# Test locally with dry run
DRY_RUN=1 ./agent/run.sh "owner/repo" "Test task"Common causes:
GITHUB_TOKEN, AWS_REGION# Stack status
aws cloudformation describe-stacks --stack-name backgroundagent-dev --query 'Stacks[0].StackStatus'
# Stack outputs
aws cloudformation describe-stacks --stack-name backgroundagent-dev --query 'Stacks[0].Outputs' --output table
# Task status (use --verbose for HTTP-level debug output)
node cli/lib/bin/bgagent.js --verbose status <TASK_ID>
node cli/lib/bin/bgagent.js events <TASK_ID> --output json
# Watch task progress in real time
node cli/lib/bin/bgagent.js watch <TASK_ID>
# Download full execution trace (task must have been submitted with --trace)
node cli/lib/bin/bgagent.js trace download <TASK_ID>
# List running tasks
node cli/lib/bin/bgagent.js list --status RUNNING
# Build health
mise run buildTip: Add --verbose to any bgagent command to see the full HTTP request/response cycle on stderr. This is the fastest way to diagnose auth, network, or API contract issues.
© aws-samples, MIT-0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in docs/abca-plugin/skills/troubleshoot of aws-samples/sample-autonomous-cloud-coding-agents.
Open the folder on GitHubat commit dfcde8d
Troubleshoot next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Troubleshoot this skillaws-samples/sample-autonomous-cloud-coding-agents | 158 | — | ~2.7k | Automated safety check: Pass | MIT-0 | |
| AWS Cdk Developmentzxkane/aws-skills | 367 | 2 repos | ~2.5k | Automated safety check: Pass | MIT | |
| Senior DevOps Toolkitmaslennikov-ig/claude-code-orchestrator-kit | 260 | 6 repos | ~1.1k | Automated safety check: Notes | Custom licence | |
| Ecspressokayac/ecspresso | 1.1k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Spa Create Configsplunk/splunk-platform-automator | 138 | — | ~3.5k | Automated safety check: Pass | Proprietary | |
| Kcli Cluster Deploymentkarmab/kcli | 653 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 |
zxkane/aws-skills
AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.
maslennikov-ig/claude-code-orchestrator-kit
Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…
kayac/ecspresso
ECS deployment tool - deploy, manage, and troubleshoot ECS services
splunk/splunk-platform-automator
A skill your agent uses when creating or updating splunkconfig.yml, designing Splunk Enterprise lab topology, multisite IDXC, SHC layout, architecture plan before config, or AWS Terraform block for…
karmab/kcli
Guides deployment and management of Kubernetes clusters with kcli.
splunk/splunk-platform-automator
A skill your agent uses when adding app scope/routing test coverage (deployer, CM, DS, direct).
aws-samples/sample-autonomous-cloud-coding-agents
Deploy, diff, or destroy the ABCA CDK stack. An agent skill from aws-samples/sample-autonomous-cloud-coding-agents.
aws-samples/sample-autonomous-cloud-coding-agents
Onboard a new GitHub repository to the ABCA platform so the agent can target it.
aws-samples/sample-autonomous-cloud-coding-agents
Guided installation and first-time setup for ABCA. An agent skill from aws-samples/sample-autonomous-cloud-coding-agents.
aws-samples/sample-autonomous-cloud-coding-agents
Submit a coding task to the ABCA platform via CLI or REST API.
aws-samples/sample-autonomous-cloud-coding-agents
Check ABCA platform status — stack health, running tasks, and recent task history.
Works with
Categories
Diagnose and fix common ABCA issues: deployment failures, preflight errors, authentication problems, agent failures, and build issues. Troubleshoot is an agent skill from aws-samples/sample-autonomous-cloud-coding-agents, published by the product's own GitHub organization. Diagnose and fix common ABCA issues: deployment failures, preflight errors, authentication problems, agent failures, and build issues.
Troubleshoot fits situations like: the user says troubleshoot; preflightfailed; describes something not working as expected.
Run `npx skills add aws-samples/sample-autonomous-cloud-coding-agents --skill troubleshoot -a claude-code`. Or copy the skill folder (docs/abca-plugin/skills/troubleshoot in aws-samples/sample-autonomous-cloud-coding-agents) into .claude/skills/troubleshoot in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aws-samples/sample-autonomous-cloud-coding-agents --skill troubleshoot -a codex`. Or copy the skill folder (docs/abca-plugin/skills/troubleshoot in aws-samples/sample-autonomous-cloud-coding-agents) into .agents/skills/troubleshoot in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aws-samples/sample-autonomous-cloud-coding-agents --skill troubleshoot -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/troubleshoot, .gemini/skills/troubleshoot, .github/skills/troubleshoot and .opencode/skills/troubleshoot in your project.
Going by SKILL.md and its folder, Troubleshoot needs the command-line tools its instructions call (aws, node, mise and docker) and credentials named GITHUB_TOKEN. Our summary lists: Docker; A credential in GITHUB_TOKEN.
SKILL.md names 1 domain. As links in the text: docs.aws.amazon.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Troubleshoot is published under the MIT-0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Troubleshoot: AWS Cdk Development (zxkane/aws-skills, 367 stars), Senior DevOps Toolkit (maslennikov-ig/claude-code-orchestrator-kit, 260 stars), Ecspresso (kayac/ecspresso, 1.1k stars) and Spa Create Config (splunk/splunk-platform-automator, 138 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aws-samples (a GitHub organization, an official publisher) maintains it in aws-samples/sample-autonomous-cloud-coding-agents, which has 158 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 8, 2026.
Source: aws-samples/sample-autonomous-cloud-coding-agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.