python-ci-setup

python-ci-setup is a skill for Claude Code, Codex from woliveiras/geremmyas. It costs 56 tokens per session (1,410 once invoked), scanned A, original, MIT.

A setup guide for continuous integration and delivery (CI/CD), automated checks that run when Python code changes.

In plain words
What is it for?
Use it to create or repair a Python workflow, including checks across supported Python versions and optional publishing to PyPI.
Why use it?
It catches formatting, code-quality, type, test, security, build, and publishing problems before code is merged or released.

Skill for Claude CodeCodex

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

Good fit Use it to create or repair a Python workflow, including checks across supported Python versions and optional publishing to PyPI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/woliveiras/geremmyas/python-ci-setup
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 woliveiras/geremmyas --skill python-ci-setup
Clone the repo
git clone --depth 1 https://github.com/woliveiras/geremmyas

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 python-ci-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/woliveiras/geremmyas/python-ci-setup/github.svg)](https://agentmods.dev/skills/woliveiras/geremmyas/python-ci-setup)
Your own site
<a href="https://agentmods.dev/skills/woliveiras/geremmyas/python-ci-setup"><img src="https://agentmods.dev/badge/skills/woliveiras/geremmyas/python-ci-setup/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 python-ci-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/woliveiras/geremmyas/python-ci-setup"><img src="https://agentmods.dev/badge/skills/woliveiras/geremmyas/python-ci-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,410 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.00056 $0.01410
Opus 5.5 $0.00022 $0.00564
Sonnet 5.5 $0.00011 $0.00282
Haiku 4.5 $0.00006 $0.00141

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

Security

Grade A, and why

python-ci-setup 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 2mo 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.

content/skills/python-ci-setup/SKILL.md · 203 lines

How it starts

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

Python CI Setup

Multi-step workflow to create a production-grade Python CI pipeline.

When to Use

  • New Python project needs CI from scratch
  • Existing project has incomplete or fragile CI
  • Adding security scanning, multi-version testing, or Trusted Publishing

Pipeline Layers (in order)

Each layer gates the next. If a layer fails, the pipeline stops.

  1. Format — ruff format --check . (or black --check .) must pass
  2. Lint — ruff check . (or flake8) must pass
  3. Type check — mypy src (or Pyright) must pass
  4. Test — pytest with coverage threshold
  5. Security scan — bandit -r src + pip-audit
  6. Build — python -m build produces valid sdist/wheel
  7. Publish (optional) — Trusted Publishing to PyPI via OIDC

Steps

1. Choose CI Platform

Default to GitHub Actions for GitHub-hosted repositories. Ensure matrix testing across supported Python versions (3.11, 3.12, 3.13, 3.14).

2. Create Quality Workflow

For GitHub Actions: .github/workflows/ci.yml

name: CI
on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  quality:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ["3.11", "3.12", "3.13", "3.14"]
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: ${{ matrix.python-version }}

      - run: python -m pip install -U pip
      - run: python -m pip install -e ".[dev]"

      - run: ruff format --check .
      - run: ruff check .
      - run: mypy src
      - run: pytest --tb=short
      - run: coverage run -m pytest && coverage report --fail-under=85
      - run: bandit -r src
      - run: pip-audit

3. Configure Tools in pyproject.toml

All tool configuration lives in pyproject.toml:

[tool.ruff]
line-length = 100
target-version = "py311"

[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]

[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"

[tool.coverage.run]
branch = true
source = ["src/my_package"]

[tool.coverage.report]
fail_under = 85

[tool.mypy]
python_version = "3.11"
strict = true
mypy_path = ["src"]

[tool.bandit]
exclude_dirs = ["tests"]

Read the full file on GitHub · 203 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. 2mo ago First seen · 203 lines · 56 tokens per session scan A e86f78b02901

Subscribe to this mod's changes

python-ci-setup is a skill published in the GitHub repository woliveiras/geremmyas (10 stars, last pushed 3mo ago), licensed MIT. It adds 56 tokens to every session and 1,410 once invoked, about $0.0002 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

python-ci-setup compared with skills from other repositories

python-ci-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
python-ci-setupwoliveiras/geremmyasSkill103mo agoMITA56Claude Code, Codex
pypi-ops0xDarkMatter/claude-modsSkill797d agoMITA74Claude Code
uv-package-managerGalaxy-Dawn/claude-scholarSkill6.0k18d agoMITC42Claude Code
ci-cdoborchers/fractional-ctoSkill3612d agoMITA80Claude Code
simple-modern-uvjlevy/simple-modern-uvSkill3032mo agoMITA98Claude Code, Codex
python-deploynixopus/nixopusSkill1.5k5d agononeA53Claude Code, Codex
scaffold-pythonurmzd/dotfilesSkill63d agoApache-2.0A135Claude Code