aws-codepipeline-codebuild

aws-codepipeline-codebuild is a skill for Claude Code from Goodsmileduck/claude-registry. It costs 123 tokens per session (4,467 once invoked), scanned A, original, MIT.

A guide for building and fixing AWS CodePipeline and CodeBuild workflows. CodePipeline moves work through stages, while CodeBuild runs the builds.

In plain words
What is it for?
Use it to write buildspec.yml files, configure triggers and caches, fix ECR and IAM errors, connect source providers, and debug Lambda or cross-account deployment stages.
Why use it?
It helps resolve failures where these services exchange source files, build outputs, credentials, or deployment permissions incorrectly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cicd-skills plugin — 2 skills shipped together

Good fit Use it to write buildspec.yml files, configure triggers and caches, fix ECR and IAM errors, connect source providers, and debug Lambda or cross-account deployment stages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goodsmileduck/claude-registry/aws-codepipeline-codebuild
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 Goodsmileduck/claude-registry --skill aws-codepipeline-codebuild
Clone the repo
git clone --depth 1 https://github.com/Goodsmileduck/claude-registry

Made for: Claude Code.

Or install cicd-skills, the plugin that ships this one along with the rest of its 2 skills.

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 aws-codepipeline-codebuild

README.md
[![agentmods](https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/aws-codepipeline-codebuild/github.svg)](https://agentmods.dev/skills/goodsmileduck/claude-registry/aws-codepipeline-codebuild)
Your own site
<a href="https://agentmods.dev/skills/goodsmileduck/claude-registry/aws-codepipeline-codebuild"><img src="https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/aws-codepipeline-codebuild/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 aws-codepipeline-codebuild

Your own site · 80×15
<a href="https://agentmods.dev/skills/goodsmileduck/claude-registry/aws-codepipeline-codebuild"><img src="https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/aws-codepipeline-codebuild.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,467 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.
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.00123 $0.04467
Opus 5.5 $0.00049 $0.01787
Sonnet 5.5 $0.00025 $0.00893
Haiku 4.5 $0.00012 $0.00447

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

Security

Grade A, and why

aws-codepipeline-codebuild 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 1mo ago.

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/cicd-skills/skills/aws-codepipeline-codebuild/SKILL.md · 381 lines

How it starts

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

AWS CodePipeline + CodeBuild

These two services are tightly coupled in practice: CodePipeline orchestrates stages, CodeBuild does the build action. Most friction lives at the boundary (artifact handoff, IAM roles, source authentication).

When to invoke

Symptoms:

  • CodeBuild fails immediately with CannotPullContainerError: pull access denied for an ECR image.
  • A Lambda invoke action in CodePipeline hangs for 30+ minutes even though the function returns quickly.
  • npm ci / pip install / Maven dependency resolution dominates build time and the configured cache isn't helping.
  • The source action shows OAuth-style GitHub auth and we want to migrate to the modern GitHub App.
  • Cross-account deploy stage fails with assume-role errors.
  • Build succeeds but the next stage receives empty / missing artifacts.
  • A buildspec.yml referenced in CodeBuild silently runs without env vars from Parameter Store / Secrets Manager.
  • Pipeline service role attached an AWS-managed policy and we want to scope it down.

Cross-cutting rules

  1. Always set imagePullCredentialsType explicitly when using ECR base images. Default (CODEBUILD) requires an ECR repository policy trusting codebuild.amazonaws.com. Setting SERVICE_ROLE pulls under the project's IAM role — usually what you want. See ECR base images.
  2. Lambda actions are async from CodePipeline's perspective. The Lambda MUST call PutJobSuccessResult / PutJobFailureResult before returning. Returning is not signaling. See Lambda invoke action.
  3. Never edit buildspec.yml and the source CodeBuild project's buildspec field at the same time — one shadows the other. The inline buildspec field on the project (when set) overrides the file in source. Pick one; document which.
  4. Pipeline service role and CodeBuild service role are different roles. Pipeline's role does NOT confer permissions on the build. Each build action has its own service role, set on the CodeBuild project (NOT the pipeline action).
  5. Artifact bucket is encrypted by default. Cross-account artifact reads require the destination account's role to have decrypt access on the source account's KMS key — and the key policy must grant cross-account use. Symptom of missing this: AccessDenied on artifact download even when bucket policy looks correct.

Read the full file on GitHub · 381 lines

Files

What ships with it

3 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. 1mo ago First seen · 381 lines · 123 tokens per session scan A 955e6eccad7f

Subscribe to this mod's changes

aws-codepipeline-codebuild is a skill published in the GitHub repository Goodsmileduck/claude-registry (1 stars, last pushed 3mo ago), licensed MIT. It adds 123 tokens to every session and 4,467 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

cicd-expert

Expert-level CI/CD with GitHub Actions, Jenkins, deployment pipelines, and automation. Use when the user mentions CI/CD, GitHub Actions, Jenkins, GitLab CI, deployment, or automation, or when the task involves CI/CD Fundamentals, Pipeline Design, Workflow Basics, or Docker Build and Push.

personamanagmentlayer/pcl · 67 tokens

cicd-agent

CI/CD pipeline design and review — GitHub Actions, pipeline best practices, secrets management, deployment strategies, and release automation.

chandrudp29/skillhub · 29 tokens

devops-best-practices

Opinionated production-grade DevOps defaults for Terraform, Kubernetes, CI/CD, Docker, cloud security, observability, cost, and disaster recovery. ALWAYS use when generating, reviewing, or modifying any infrastructure code, Kubernetes manifests (Deployment, Service, StatefulSet, Helm, Kustomize), Terraform (.tf…

ronalships/claude-devops-skill · 209 tokens

autonomous-loops

Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.

affaan-m/ECC · 26 tokens

deployment-patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

affaan-m/ECC · 41 tokens

mcp-dependency-review

Statically review MCP configuration for mutable package references before approval or CI, without executing discovered MCP servers. Use when reviewing .mcp.json, Cursor, VS Code, Claude, Windsurf, or other repo-scoped MCP config.

affaan-m/ECC · 52 tokens