ci-cd

ci-cd is a skill for Claude Code from oborchers/fractional-cto. It costs 80 tokens per session (2,666 once invoked), scanned A, original, MIT.

A guide to setting up continuous integration and delivery for Python packages. This means automatically checking code and tests, building packages, and publishing releases through services such as GitHub Actions and PyPI.

In plain words
What is it for?
Use it when creating GitHub Actions workflows, testing across Python versions, publishing to PyPI, adding dependency update tools, or signing release files.
Why use it?
It helps catch problems before release and separates checking, testing, building, and publishing into manageable steps. It also covers safer publishing without storing long-lived credentials.

Skill for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uses: ./.github/workflows/ci.yml.

Part of the python-package plugin — 13 skills, 2 commands, 1 agent shipped together

Good fit Use it when creating GitHub Actions workflows, testing across Python versions, publishing to PyPI, adding dependency update tools, or signing release files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/oborchers/fractional-cto
agentmods
npx agentmods add skills/oborchers/fractional-cto/ci-cd

Made for: Claude Code.

Or install python-package, the plugin that ships this one along with the rest of its 13 skills, 2 commands, 1 agent.

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/oborchers/fractional-cto/ci-cd/github.svg)](https://agentmods.dev/skills/oborchers/fractional-cto/ci-cd)
Your own site
<a href="https://agentmods.dev/skills/oborchers/fractional-cto/ci-cd"><img src="https://agentmods.dev/badge/skills/oborchers/fractional-cto/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/oborchers/fractional-cto/ci-cd"><img src="https://agentmods.dev/badge/skills/oborchers/fractional-cto/ci-cd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,666 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.00080 $0.02666
Opus 5.5 $0.00032 $0.01066
Sonnet 5.5 $0.00016 $0.00533
Haiku 4.5 $0.00008 $0.00267

Measured 3d ago against content hash 52171a09b308, 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 3d 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.

python-package/skills/ci-cd/SKILL.md · 270 lines

How it starts

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

Architect CI/CD as Separate Jobs with Trusted Publishing

A Python package without CI is a Python package with bugs you discover after release. Every serious package -- FastAPI, Pydantic, httpx, Ruff, uv, Polars -- follows the same five-stage pipeline: lint, type-check, test, build, publish. These stages run as separate jobs, not steps, because separate jobs enable parallel execution, clear failure attribution, and conditional downstream gates. The publish job uses OIDC trusted publishing with zero long-lived secrets -- API tokens are a supply chain risk that PyPI's trusted publishing eliminates entirely.

Workflow Architecture

Structure every CI pipeline as a dependency graph of discrete jobs:

  lint + type-check   (parallel)
        |
      tests           (matrix: Python versions x OS)
        |
      build           (sdist + wheel, upload artifact)
        |
     publish          (trusted publishing, environment protection)
Principle Rule
Separate jobs, not steps Each stage is its own job for parallelism and clear failure
needs for dependencies Tests need lint + type-check; build needs tests; publish needs build
fail-fast: false See all failures across the matrix, not just the first
Build once, publish once Pass artifacts via upload-artifact/download-artifact -- never rebuild in publish
Concurrency control Cancel stale runs with concurrency + cancel-in-progress: true

Test Matrix

Run the full Python version matrix on Linux. Add macOS and Windows only if your package has platform-specific behavior (path handling, native extensions, OS-specific dependencies). When cross-platform testing is needed, test oldest + newest Python versions only to keep CI costs manageable.

strategy:
  fail-fast: false
  matrix:
    python-version: ["3.10", "3.11", "3.12", "3.13"]
    os: [ubuntu-latest]
    include:
      # Add these only if your package has platform-specific behavior
      - { python-version: "3.10", os: macos-latest }
      - { python-version: "3.13", os: macos-latest }
      - { python-version: "3.10", os: windows-latest }
      - { python-version: "3.13", os: windows-latest }

Read the full file on GitHub · 270 lines

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. 3d ago First seen · 270 lines · 80 tokens per session scan A 52171a09b308

Subscribe to this mod's changes

ci-cd is a skill published in the GitHub repository oborchers/fractional-cto (32 stars, last pushed 3d ago), licensed MIT. It adds 80 tokens to every session and 2,666 once invoked, about $0.0003 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-13.

Related

Other skills, from other repositories

pypi-ops

Publish Python packages to PyPI via OIDC Trusted Publishing (PEP 740 attestations, gh-action-pypi-publish) instead of stored tokens. Use for: invalid-publisher errors, pending-publisher 404s, uv publish/twine, TestPyPI, environment approval gates, and rotating/auditing publish tokens.

0xDarkMatter/claude-mods · 74 tokens

uv-package-manager

Master the uv package manager for fast Python dependency management, virtual environments, and modern Python project workflows. Use when setting up Python projects, managing dependencies, or optimizing Python development workflows with uv.

Galaxy-Dawn/claude-scholar · 42 tokens

simple-modern-uv

Start, selectively modernize, fully migrate, or update Python projects using simple-modern-uv practices: uv, ruff, BasedPyright, pytest, GitHub Actions CI, and tag-driven PyPI publishing. Use when creating a Python project; adding selected tooling or repository practices to an existing project; migrating from Poetry…

jlevy/simple-modern-uv · 98 tokens

python-deploy

Build and deploy Python applications — uv, poetry, pdm, pipenv, pip, framework detection, and Dockerfile patterns. Use when deploying a Python project, or when requirements.txt, pyproject.toml, or Pipfile is detected.

nixopus/nixopus · 53 tokens

setup-python-project

Scaffold a new Python project with uv, ruff, pytest, and GitHub Actions CI. Use when the user says "set up a new Python project", "scaffold a project", "create a new Python app", or similar.

phobologic/claude_code_helpers · 53 tokens

scaffold-python

Scaffold a complete Python project with CI/CD, release pipeline, justfile, sr.yaml, pyproject.toml, .envrc, and standard files. Uses uv, ruff, and justfile (Python lacks a native task runner like pnpm scripts, so just fills that gap). Loads on top of scaffold-project (run that first for cross-language standard files).…

urmzd/dotfiles · 135 tokens