ci-cd

ci-cd is a skill for Claude Code, Codex from LuuOW/meridian-mcp. It costs 48 tokens per session (2,178 once invoked), scanned C, original, MIT.

Automated workflows that check code, build Docker images, and deploy applications. CI means continuous integration—automatically checking changes; CD means continuous delivery or deployment—moving approved changes to a server.

In plain words
What is it for?
Setting up GitHub Actions for linting, type checks, tests, Docker builds, registry uploads, staged deployments, and service restarts with PM2 or systemd.
Why use it?
It provides a repeatable path from a code push to testing, deployment, health checks, and rollback when a release fails.

Skill for Claude CodeCodex

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

Good fit Setting up GitHub Actions for linting, type checks, tests, Docker builds, registry uploads, staged deployments, and service restarts with PM2 or systemd.

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

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/luuow/meridian-mcp/ci-cd.svg)](https://agentmods.dev/skills/luuow/meridian-mcp/ci-cd)
Your own site
<a href="https://agentmods.dev/skills/luuow/meridian-mcp/ci-cd"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/ci-cd.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,178 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00048 $0.02178
Opus 5 $0.00024 $0.01089
Sonnet 5 $0.00010 $0.00436
Haiku 4.5 $0.00005 $0.00218

Measured 8d ago against content hash ee25fcd75f3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

ci-cd scanned grade C with 2 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 8d 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

# Add deploy_key.pub to VPS: ~/.ssh/authorized_keys

Makes network callslowCapability

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

test: ["CMD", "curl", "-f", "http://localhost:9002/health"]
skills/ci-cd/SKILL.md · 308 lines

How it starts

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

ci-cd

Practical CI/CD patterns for Python/FastAPI and Node/Astro/Next.js projects using GitHub Actions. Covers pipeline structure, secrets management, Docker image builds, staged deployments, and zero-downtime restarts.

1) Pipeline Mental Model

Code push → Lint/Type-check → Unit tests → Build image → Push to registry
                                                              ↓
                                            Deploy to VPS (pull + restart)
                                                              ↓
                                            Health check → rollback if fail

Branch strategy:

  • main → production deploy
  • feature/* / development → run tests only, no deploy
  • release/* → staging deploy

2) Standard GitHub Actions Workflow

# .github/workflows/ci.yml
name: CI

on:
  push:
    branches: ["**"]
  pull_request:
    branches: [main, development]

jobs:
  lint-and-test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: "3.12"
          cache: "pip"

      - name: Install dependencies
        run: pip install -r requirements.txt -r requirements-dev.txt

      - name: Lint
        run: |
          ruff check app/ shared/ --output-format=github
          mypy app/ --ignore-missing-imports

      - name: Test
        env:
          TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test_db
          MOCK_MODE: "true"
          JWT_SECRET_KEY: test-secret
        run: pytest tests/ -v --tb=short -m "not slow"

    services:
      postgres:
        image: postgres:16
        env:
          POSTGRES_PASSWORD: postgres
          POSTGRES_DB: test_db
        ports: ["5432:5432"]
        options: >-
          --health-cmd pg_isready
          --health-interval 5s
          --health-timeout 3s
          --health-retries 5
# .github/workflows/deploy.yml
name: Deploy

on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    needs: []   # add lint-and-test job name here if in same file
    environment: production

    steps:
      - uses: actions/checkout@v4

      - name: Build and push Docker image
        uses: docker/build-push-action@v5
        with:
          context: .
          push: true
          tags: |
            ghcr.io/${{ github.repository }}:latest
            ghcr.io/${{ github.repository }}:${{ github.sha }}
          cache-from: type=gha
          cache-to: type=gha,mode=max
        env:
          DOCKER_BUILDKIT: 1

      - name: Deploy to VPS
        uses: appleboy/ssh-action@v1
        with:
          host: ${{ secrets.VPS_HOST }}
          username: ${{ secrets.VPS_USER }}
          key: ${{ secrets.VPS_SSH_KEY }}
          script: |
            cd /opt/myapp
            docker pull ghcr.io/${{ github.repository }}:latest
            docker compose up -d --no-deps --build app
            sleep 5
            docker compose ps | grep "Up" || (echo "Deploy failed" && exit 1)

Read the full file on GitHub · 308 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. 8d ago First seen · 308 lines · 48 tokens per session scan C ee25fcd75f3e

Subscribe to this mod's changes

ci-cd is a skill published in the GitHub repository LuuOW/meridian-mcp (0 stars, last pushed 4d ago), licensed MIT. It adds 48 tokens to every session and 2,178 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.