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

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.

agentmods
npx agentmods add skills/goodsmileduck/claude-registry/aws-codepipeline-codebuild
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00062 $0.02233
Sonnet 5 $0.00025 $0.00893
Haiku 4.5 $0.00012 $0.00447

Measured 5d ago against content hash 955e6eccad7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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. 5d 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 1mo ago), licensed MIT. It adds 123 tokens to every session and 4,467 once invoked, about $0.0006 per session on Opus 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

integrating-sast-into-github-actions-pipeline

This skill covers integrating Static Application Security Testing (SAST) tools—CodeQL and Semgrep—into GitHub Actions CI/CD pipelines. It addresses configuring automated code scanning on pull requests and pushes, tuning rules to reduce false positives, uploading SARIF results to GitHub Advanced Security, and…

xalgorix/xalgorix · 84 tokens

scanning-containers-with-trivy-in-cicd

This skill covers integrating Aqua Security's Trivy scanner into CI/CD pipelines for comprehensive container image vulnerability detection. It addresses scanning Docker images for OS package and application dependency CVEs, detecting misconfigurations in Dockerfiles, scanning filesystem and git repositories, and…

xalgorix/xalgorix · 74 tokens

implementing-infrastructure-as-code-security-scanning

This skill covers implementing automated security scanning for Infrastructure as Code (IaC) templates using tools like Checkov, tfsec, and KICS. It addresses detecting misconfigurations in Terraform, CloudFormation, Kubernetes manifests, and Helm charts before deployment, establishing policy-based governance, and…

xalgorix/xalgorix · 81 tokens

integrating-dast-with-owasp-zap-in-pipeline

This skill covers integrating OWASP ZAP (Zed Attack Proxy) for Dynamic Application Security Testing in CI/CD pipelines. It addresses configuring baseline, full, and API scans against running applications, interpreting ZAP findings, tuning scan policies, and establishing DAST quality gates in GitHub Actions and GitLab…

xalgorix/xalgorix · 76 tokens

performing-sca-dependency-scanning-with-snyk

This skill covers implementing Software Composition Analysis (SCA) using Snyk to detect vulnerable open-source dependencies in CI/CD pipelines. It addresses scanning package manifests and lockfiles, automated fix pull request generation, license compliance checking, continuous monitoring of deployed applications, and…

xalgorix/xalgorix · 77 tokens

securing-github-actions-workflows

This skill covers hardening GitHub Actions workflows against supply chain attacks, credential theft, and privilege escalation. It addresses pinning actions to SHA digests, minimizing GITHUBTOKEN permissions, protecting secrets from exfiltration, preventing script injection in workflow expressions, and implementing…

xalgorix/xalgorix · 68 tokens