ci-cd

ci-cd is a skill for Claude Code, Codex from kok-o/contextos-agents. It costs 35 tokens per session (580 once invoked), scanned A, original, Apache-2.0.

A set of practices for automating checks and software delivery with CI/CD. CI/CD means automatically building, testing, scanning, and sometimes releasing code when changes are made.

In plain words
What is it for?
Use it to set up GitHub Actions workflows with secret scanning, linting, type checks, unit tests, security checks, builds, and release gates.
Why use it?
It catches defects, leaked secrets, and quality problems before changes are merged or deployed, while preventing failed checks from being quietly bypassed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to set up GitHub Actions workflows with secret scanning, linting, type checks, unit tests, security checks, builds, and release gates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kok-o/contextos-agents/ci-cd
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 kok-o/contextos-agents --skill ci-cd
Clone the repo
git clone --depth 1 https://github.com/kok-o/contextos-agents

Made for: Claude Code, Codex.

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 ci-cd

README.md
[![agentmods](https://agentmods.dev/badge/skills/kok-o/contextos-agents/ci-cd/github.svg)](https://agentmods.dev/skills/kok-o/contextos-agents/ci-cd)
Your own site
<a href="https://agentmods.dev/skills/kok-o/contextos-agents/ci-cd"><img src="https://agentmods.dev/badge/skills/kok-o/contextos-agents/ci-cd/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 ci-cd

Your own site · 80×15
<a href="https://agentmods.dev/skills/kok-o/contextos-agents/ci-cd"><img src="https://agentmods.dev/badge/skills/kok-o/contextos-agents/ci-cd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 580 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.00035 $0.00580
Opus 5.5 $0.00014 $0.00232
Sonnet 5.5 $0.00007 $0.00116
Haiku 4.5 $0.00003 $0.00058

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

Security

Grade A, and why

ci-cd 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 today.

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.

catalog/skills/ci-cd/SKILL.md · 70 lines

How it starts

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

CI/CD and Automation

Automate quality gates so no change reaches production without passing tests, lint, type checking, security scans, and build verification.

Core Philosophy

  • Shift Left: Catch problems as early in the delivery lifecycle as possible. A defect caught during static analysis or linting takes seconds to fix; the same defect discovered in production takes hours and damages reliability.
  • Faster is Safer: Small, frequent, automated releases drastically lower blast radius and risk compared to infrequent bulk deployments.
  • Unskippable Gates Invariant: Never disable a failing rule or skip a test suite just to make a pipeline green. Fix the root cause in the code.

The Quality Gate Pipeline

Every Pull Request must successfully traverse these automated stages before merge approval:

Pull Request Opened
       │
       ▼
 1. Secret Scanning    (prevent credential leaks before running untrusted steps)
       │
       ▼
 2. Lint & Formatting  (eslint, prettier, markdownlint)
       │
       ▼
 3. Type Checking      (tsc --noEmit, pyright, mypy)
       │
       ▼
 4. Unit Tests         (vitest, jest, pytest with coverage thresholds)
       │
       ▼
 5. Production Build   (bundling, tree-shaking, static generation)
       │
       ▼
 6. Integration Tests  (API contracts, database migrations)
       │
       ▼
 7. Security Audit     (npm audit, trivy, dependency vulnerability checks)
       │
       ▼
 8. Bundle Budget      (bundle size checks against baseline thresholds)
       │
       ▼
   Merge Allowed

Hardened Pipeline Standards

  1. Least-Privilege Token Permissions: Explicitly declare workflow and job permissions at the top of the workflow file. Default to read-only access:
    permissions:
      contents: read
    
  2. Deterministic Dependency Installation: Always use frozen lockfiles (npm ci instead of npm install, uv sync --frozen instead of pip install).
  3. Concurrency Cancellation: Automatically cancel in-progress runs when a newer commit is pushed to the same Pull Request branch:
    concurrency:
      group: ${{ github.workflow }}-${{ github.ref }}
      cancel-in-progress: true
    
  4. Action Pinning: Reference trusted actions using verified release tags (e.g. actions/checkout@v4) or full commit SHAs.

Read the full file on GitHub · 70 lines

Files

What ships with it

4 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. today First seen · 70 lines · 35 tokens per session scan A c00cc54401e1

Subscribe to this mod's changes

ci-cd is a skill published in the GitHub repository kok-o/contextos-agents (10 stars, last pushed yesterday), licensed Apache-2.0. It adds 35 tokens to every session and 580 once invoked, about $0.0001 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-10-25.

Related

Other skills, from other repositories

pin-github-actions

Migrates GitHub Actions workflows to use pinned commit SHAs instead of tags, resolves the latest release versions, flags major version jumps, and configures Dependabot with grouped updates. Use when user mentions pin actions, pinned versions, SHA pinning, GitHub Actions security, dependabot setup, supply-chain…

rlespinasse/agent-skills · 92 tokens

verify-pr-logs

Checks GitHub Actions CI logs on a pull request, diagnoses failures, and guides the agent to implement fixes. Use when user mentions CI failing, check PR logs, fix pipeline, GitHub Actions errors, workflow failures, build broken, tests failing on PR, or debug CI. Focuses on PR-scoped CI analysis only. For pinning…

rlespinasse/agent-skills · 86 tokens

Prompt Version Control Workflow

Sets up a prompt versioning system with naming conventions, diff tracking, A/B evaluation gates before promotion, and rollback triggers.

Notysoty/openagentskills · 30 tokens

deploy-checklist

Pre-deploy and post-deploy checklist skill. Ensures env vars, migrations, CI, rollback plan, smoke tests, and monitoring are verified before and after every deployment.

wednesday-solutions/ai-agent-skills · 39 tokens

kubestellar-console

Multi-cluster Kubernetes dashboard with AI-powered operations via MCP server and 10+ built-in agent skills.

aboalrejal-ai/skills · 25 tokens

github-master

Expert Git & GitHub: workflows, history recovery, pull requests, branch protection, and Actions CI/CD. Trigger keywords: git, GitHub, merge conflict, rebase, cherry-pick, reflog, bisect, force push, pull request, branch protection, GitHub Actions, CI/CD, release, conventional commits. Use for Git troubleshooting…

Miaoge-Ge/coding-agent-skills · 85 tokens