setup-ci

setup-ci is a skill for Claude Code from kvothesson/ar-plugins. It costs 43 tokens per session (1,849 once invoked), scanned A, original, MIT.

A setup tool for configuring continuous integration and delivery (automated checks and release steps) in an ar-plugins repository.

In plain words
What is it for?
Use it to add GitHub workflows, configure commitlint and conventional commits, check version updates, and protect the master branch.
Why use it?
It adds consistent commit checks, version-bump checks where supported, and rules requiring pull requests and passing checks before changes reach the master branch.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions .claude-plugin.

Part of the ar-plugins plugin — 2 skills shipped together

Good fit Use it to add GitHub workflows, configure commitlint and conventional commits, check version updates, and protect the master branch.

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

Made for: Claude Code.

Or install ar-plugins, the plugin that ships this one along with the rest of its 2 skills.

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/kvothesson/ar-plugins/setup-ci/github.svg)](https://agentmods.dev/skills/kvothesson/ar-plugins/setup-ci)
Your own site
<a href="https://agentmods.dev/skills/kvothesson/ar-plugins/setup-ci"><img src="https://agentmods.dev/badge/skills/kvothesson/ar-plugins/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/kvothesson/ar-plugins/setup-ci"><img src="https://agentmods.dev/badge/skills/kvothesson/ar-plugins/setup-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,849 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.00043 $0.01849
Opus 5.5 $0.00017 $0.00740
Sonnet 5.5 $0.00009 $0.00370
Haiku 4.5 $0.00004 $0.00185

Measured 3mo ago against content hash 7bc487582d5f, 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 3mo 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.

skills/setup-ci/SKILL.md · 281 lines

How it starts

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

Skill: /ar-plugins:setup-ci

Dado un repo plugin, agrega:

  • Workflow de conventional commits (commitlint)
  • Workflow de version bump (solo en repos con plugin.json)
  • .commitlintrc.json
  • Branch protection ruleset en master (PR obligatorio + checks requeridos)

Uso

/ar-plugins:setup-ci kvothesson/<nombre>

Si no se pasa repo, preguntar al usuario cuál quiere configurar.


Paso 1 — Verificar y obtener scope workflow

gh auth status 2>&1 | grep "Token scopes"

Si el output no contiene workflow, correrlo automáticamente:

gh auth refresh -s workflow

Este comando abre el browser para que el usuario apruebe el scope. Avisarle antes:

Necesito el scope `workflow` para crear los archivos en .github/workflows/.
Abriendo el browser para que lo apruebes — es un solo click en "Authorize".

Esperar a que el comando termine (el usuario aprueba en el browser y el CLI confirma). Luego verificar que el scope quedó:

gh auth status 2>&1 | grep "Token scopes"

Si sigue sin tener workflow, reportar el error y detener.


Paso 2 — Detectar tipo de repo

gh api repos/<owner>/<repo>/contents/.claude-plugin/plugin.json 2>&1 | grep -c '"content"'
  • Si retorna 1 → repo plugin → setup completo (version-bump + commitlint + ruleset)
  • Si retorna 0 → repo sin plugin.json → solo commitlint + ruleset (ej: ar-plugins)

Paso 3 — Clonar y crear branch

gh repo clone <owner>/<repo> /tmp/<repo>-setup-ci
cd /tmp/<repo>-setup-ci
git checkout -b ci/setup-ci

Paso 4 — Agregar archivos

.commitlintrc.json (siempre)

cat > /tmp/<repo>-setup-ci/.commitlintrc.json << 'EOF'
{
  "extends": ["@commitlint/config-conventional"],
  "rules": {
    "type-enum": [
      2,
      "always",
      ["feat", "fix", "chore", "docs", "refactor", "test", "ci"]
    ],
    "subject-case": [2, "never", ["start-case", "pascal-case", "upper-case"]],
    "header-max-length": [2, "always", 100]
  }
}
EOF

Read the full file on GitHub · 281 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. 3mo ago First seen · 281 lines · 43 tokens per session scan A 7bc487582d5f

Subscribe to this mod's changes

setup-ci is a skill published in the GitHub repository kvothesson/ar-plugins (5 stars, last pushed 28d ago), licensed MIT. It adds 43 tokens to every session and 1,849 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

setup-ci compared with skills from other repositories

setup-ci next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-cikvothesson/ar-pluginsSkill528d agoMITA43Claude Code
autonomous-loopsaffaan-m/ECCSkill315ktodayMITA26Claude Code, Kiro
deployment-patternsaffaan-m/ECCSkill315ktodayMITA41Claude Code, Kiro
mcp-dependency-reviewaffaan-m/ECCSkill315ktodayMITA52Claude Code, Codex
baby-sitlangchain-ai/open-sweSkill11ktodayMITA30Claude Code, Codex
meta-long-running-build-watchdogopensquilla/opensquillaSkill7.2k6d agoApache-2.0A131Claude Code
swarm-migrateyonatangross/orchestkitSkill313todayMITA58Claude Code