gitlab-ci-kiro-pipeline

gitlab-ci-kiro-pipeline is a skill for Claude Code from timwukp/agent-skills-best-practice. It costs 207 tokens per session (3,006 once invoked), scanned B, original, MIT.

A GitLab CI/CD setup that runs Kiro CLI without an interactive terminal to review merge requests and analyze project changes. GitLab CI/CD is the system that automatically runs checks during software development.

In plain words
What is it for?
Use it to add jobs for code review, secret or personal-data scans, failed-test analysis, build-failure investigation, configuration drift, cross-repository checks, duplication checks, and change-risk analysis.
Why use it?
It avoids manually running recurring review and diagnostic checks, and can either report results for humans or block a merge when a check fails.

Skill for Claude Code

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

Part of the engineering-skills plugin — 18 skills shipped together

Good fit Use it to add jobs for code review, secret or personal-data scans, failed-test analysis, build-failure investigation, configuration drift, cross-repository checks, duplication checks, and change-risk analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/timwukp/agent-skills-best-practice/gitlab-ci-kiro-pipeline
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 timwukp/agent-skills-best-practice --skill gitlab-ci-kiro-pipeline
Clone the repo
git clone --depth 1 https://github.com/timwukp/agent-skills-best-practice

Made for: Claude Code.

Or install engineering-skills, the plugin that ships this one along with the rest of its 18 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 gitlab-ci-kiro-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/timwukp/agent-skills-best-practice/gitlab-ci-kiro-pipeline/github.svg)](https://agentmods.dev/skills/timwukp/agent-skills-best-practice/gitlab-ci-kiro-pipeline)
Your own site
<a href="https://agentmods.dev/skills/timwukp/agent-skills-best-practice/gitlab-ci-kiro-pipeline"><img src="https://agentmods.dev/badge/skills/timwukp/agent-skills-best-practice/gitlab-ci-kiro-pipeline/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 gitlab-ci-kiro-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/timwukp/agent-skills-best-practice/gitlab-ci-kiro-pipeline"><img src="https://agentmods.dev/badge/skills/timwukp/agent-skills-best-practice/gitlab-ci-kiro-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 207 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,006 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 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.00207 $0.03006
Opus 5.5 $0.00083 $0.01202
Sonnet 5.5 $0.00041 $0.00601
Haiku 4.5 $0.00021 $0.00301

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

Security

Grade B, and why

gitlab-ci-kiro-pipeline scanned grade B with 3 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 3mo 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.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- curl -fsSL https://cli.kiro.dev/install | bash

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Unrestricted tool accesslowExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

- **`--trust-tools=read,grep`** grants only read-only tools. The agent can inspect the checked-out repo but cannot edit files or run arbitrary commands inside your runner. Widen this only deliberately.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- apt-get update && apt-get install -y curl git unzip
skills/skills/gitlab-ci-kiro-pipeline/SKILL.md · 136 lines

How it starts

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

GitLab CI/CD Pipelines with Kiro CLI Headless Mode

Build .gitlab-ci.yml pipelines where Kiro CLI acts as an AI reviewer/analyst on merge requests. The pattern: each job installs Kiro CLI in a throwaway container, gathers context (the MR diff, config files, failure logs), and runs kiro-cli chat --no-interactive with a role-scoped prompt. Output goes to the job log and optionally gates the merge.

Workflow

  1. Understand the repo and goals. Ask (or infer from the repo) which checks the user wants: advisory review only, or merge-blocking gates? Which languages/config layouts exist? Is there an existing .gitlab-ci.yml to extend?
  2. Pick jobs from the recipe catalog. Read references/job-recipes.md for nine proven job patterns (code review, PII/secrets scan, test-failure analysis, diff issue detection, build-failure remediation, config drift, cross-repo config validation, duplication sync check, change-impact analysis). Copy only the ones the user needs.
  3. Start from the template. assets/gitlab-ci-template.yml is a complete, working pipeline skeleton. Adapt stages and jobs rather than writing from scratch.
  4. Decide advisory vs. gating per job (see below) and set allow_failure accordingly.
  5. Verify prerequisites with the user: the KIRO_API_KEY CI/CD variable must be set (masked, protected) in GitLab → Settings → CI/CD → Variables, and confirm your runners have internet access to https://cli.kiro.dev/install. If your GitLab Runner sandbox lives inside your VPC and has NO outbound internet access at all (no NAT gateway, no internet gateway, no proxy), refer to the "Air-gapped runners" section in references/kiro-cli-headless.md for the no-internet VPC approach — the API side works over AWS PrivateLink, but the CLI binary must be staged internally.
  6. Lint before delivering. If the user has GitLab access, validate with the CI Lint API or glab ci lint; otherwise at minimum check YAML validity (python3 -c "import yaml,sys; yaml.safe_load(open('.gitlab-ci.yml'))").

Read the full file on GitHub · 136 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. 3mo ago First seen · 136 lines · 207 tokens per session scan B f39c58315e4a

Subscribe to this mod's changes

gitlab-ci-kiro-pipeline is a skill published in the GitHub repository timwukp/agent-skills-best-practice (14 stars, last pushed 2mo ago), licensed MIT. It adds 207 tokens to every session and 3,006 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it B with 3 findings (downloads and executes remote code, unrestricted tool access, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

gitlab-ci-kiro-pipeline compared with skills from other repositories

gitlab-ci-kiro-pipeline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitlab-ci-kiro-pipelinetimwukp/agent-skills-best-practiceSkill142mo agoMITB207Claude Code
suede-ci-gateJasonColapietro/suede-creator-skillsSkill121todayMITA85Claude Code, Codex
risk-scorethoughtbot/rails-consultantSkill3910d agoMITA46Claude Code
devops-platformKin9Zeus/senior-engineer-skillsSkill3todayMITA148Claude Code
project-blueprintKin9Zeus/senior-engineer-skillsSkill3todayMITA148Claude Code
agentmd-standardsAaditya1273/Agent.mdSkill1111d agoMITA147Claude Code, Codex
github-actionsanmolnagpal/devops-skillsSkill93d agoMITB66Claude Code