setup-ci

setup-ci is a skill for Claude Code from urmzd/dotfiles. It costs 119 tokens per session (973 once invoked), scanned A, original, Apache-2.0.

A guide to the shared structure and rules for GitHub Actions, the service that runs automated checks and releases when code changes.

In plain words
What is it for?
Use it when setting up or reviewing CI checks and automated releases, together with a language-specific setup guide such as scaffold-go or scaffold-python.
Why use it?
It prevents different projects from using inconsistent workflow names, triggers, release settings, and reusable pipeline steps.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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.

Good fit Use it when setting up or reviewing CI checks and automated releases, together with a language-specific setup guide such as scaffold-go or scaffold-python.

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/urmzd/dotfiles
agentmods
npx agentmods add skills/urmzd/dotfiles/setup-ci

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/urmzd/dotfiles/setup-ci"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/setup-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 973 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.00119 $0.00973
Opus 5.5 $0.00048 $0.00389
Sonnet 5.5 $0.00024 $0.00195
Haiku 4.5 $0.00012 $0.00097

Measured 9d ago against content hash 57f1bd5e6a5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-ci 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 9d 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.

dot_agents/skills/setup-ci/SKILL.md · 141 lines

How it starts

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

CI/CD Standards

Universal conventions that apply across all languages. For language-specific CI jobs, build matrices, and caching, see the corresponding scaffold-* skill.

Workflow Naming Convention

File Trigger Purpose
ci.yml pull_request: branches: [main] + workflow_call Quality gate: fmt, lint, test
release.yml push: branches: [main] + workflow_dispatch Automated releases
  • No build.yml or publish.yml build and publish are jobs within release.yml
  • Specialized workflows allowed for domain-specific needs (e.g., experiments.yml)
  • Exception: Terraform uses a single terraform.yml (see scaffold-terraform)

Pipeline Flow

PR -> ci.yml (fmt -> lint -> test)
Push main -> release.yml:
  fsrc -> ci -> sr release -> build -> publish -> teasr

sr v9+ syncs lock files (Cargo.lock, uv.lock, poetry.lock, package-lock.json) during the version bump and commits them in the release commit, so release.yml needs no separate lock sync step or [skip ci] lock commit. See sync-release for details.

Release Config

  • Canonical filename: sr.yaml (not .urmzd.sr.yml)
  • floating_tags: true in all configs
  • tag_prefix: "v" and Angular commit pattern
  • See sync-release for full sr.yaml reference

Concurrency

# CI workflows: cancel stale runs
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

# Release workflows: never cancel mid-release
concurrency:
  group: release
  cancel-in-progress: false

Bot Skip

Prevent infinite loops from bot commits:

if: github.actor != 'sr[bot]'

CI Reuse Pattern

ci.yml exposes workflow_call so release.yml can gate on it:

# ci.yml
on:
  pull_request:
    branches: [main]
  workflow_call:

# release.yml
jobs:
  ci:
    uses: ./.github/workflows/ci.yml
  release:
    needs: ci

App Token Pattern

Release workflows use a GitHub App for bot commits that can trigger further workflows:

Read the full file on GitHub · 141 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. 9d ago Changed · +2 lines 57f1bd5e6a5f
  2. 1mo ago First seen · 139 lines · 119 tokens per session scan A 97f88f71c7f0

Subscribe to this mod's changes

setup-ci is a skill published in the GitHub repository urmzd/dotfiles (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 119 tokens to every session and 973 once invoked, about $0.0005 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.