ci-guard

ci-guard is a skill for Claude Code, Codex from Benkapner/claude-code-basecamp. It costs 53 tokens per session (849 once invoked), scanned A, original, MIT.

A repository check that looks for continuous integration, or CI, configuration. CI automatically runs project checks when code changes, using systems such as GitHub Actions, GitLab CI, or CircleCI.

In plain words
What is it for?
It helps check repositories for common CI configuration files and identify projects that need a CI workflow.
Why use it?
It alerts you when a repository may have no automated checks to catch broken builds or tests. Research-only repositories can be marked as exempt.

Skill for Claude CodeCodex

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

Good fit It helps check repositories for common CI configuration files and identify projects that need a CI workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benkapner/claude-code-basecamp/ci-guard
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 Benkapner/claude-code-basecamp --skill ci-guard
Clone the repo
git clone --depth 1 https://github.com/Benkapner/claude-code-basecamp

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-guard

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/benkapner/claude-code-basecamp/ci-guard"><img src="https://agentmods.dev/badge/skills/benkapner/claude-code-basecamp/ci-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.00849
Opus 5.5 $0.00021 $0.00340
Sonnet 5.5 $0.00011 $0.00170
Haiku 4.5 $0.00005 $0.00085

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

Security

Grade A, and why

ci-guard 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-ci.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/ci-guard/SKILL.md · 119 lines

How it starts

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

CI Guard

Repositories benefit from CI, but this skill is advisory. It checks for CI configuration and alerts when it is missing, while allowing research, prototypes, and intentionally local projects.

When to Activate

  • At session start, after repository status is reported
  • When a user clones or creates a new repo under repositories/
  • When running /verify or /quality-gate in a repo without CI

How to Check

Run the check script against any repo:

uv run skills/ci-guard/scripts/check-ci.py <repo-path>

The script checks for common CI indicators and the research exemption.

CI Indicators (any one is sufficient)

Provider Path
GitHub Actions .github/workflows/ (with at least one .yml/.yaml)
GitLab CI .gitlab-ci.yml
CircleCI .circleci/config.yml
Jenkins Jenkinsfile
Travis .travis.yml
Azure azure-pipelines.yml

Research Exemption

A repo is exempt from the CI requirement if:

  1. A .research file exists in the repo root, OR
  2. pyproject.toml contains purpose = "research" in [project.optional] or as a comment marker

To mark a repo as research: touch <repo>/.research

Alert Behavior

When CI is missing and the repo is not research:

  1. Warn clearly at session start: "This repo has no CI configuration."
  2. Suggest a starter workflow based on the detected stack (Python/Node/Rust/Go)
  3. Reference the basecamp's own CI (.github/workflows/ci.yml) as a working template
  4. Do not block work - this is an alert, not a gate

Starter Templates

Python (uv-based, matching basecamp conventions)

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

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: astral-sh/setup-uv@v6
      - run: uv python install 3.12
      - run: uv sync --group dev
      - run: uv run ruff check .
      - run: uv run ruff format --check .

  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: astral-sh/setup-uv@v6
      - run: uv python install 3.12
      - run: uv sync --group dev
      - run: uv run pytest -v

Read the full file on GitHub · 119 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed fb60d4a0d476
  2. 2mo ago First seen · 119 lines · 53 tokens per session scan A df381d3e8fa8

Subscribe to this mod's changes

ci-guard is a skill published in the GitHub repository Benkapner/claude-code-basecamp (18 stars, last pushed 2mo ago), licensed MIT. It adds 53 tokens to every session and 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-09-04.

Related

ci-guard compared with skills from other repositories

ci-guard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ci-guardBenkapner/claude-code-basecampSkill182mo agoMITA53Claude Code, Codex
ci-cd-and-automationaddyosmani/agent-skillsSkill121k6d agoMITA45Claude Code
google-cloud-slo-alert-configurationgoogle/skillsSkill25ktodayApache-2.0A65Claude Code, Codex
google-cicd-pipeline-designgoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
chinese-git-workflowjnMetaCode/superpowers-zhSkill8.6k14d agoMITA69Claude Code
configure-env-variablesmicrosoft/power-platform-skillsSkill1.2ktodayMITA119Claude Code
huashu-material-searchalchaincyf/huashu-skillsSkill2.4kyesterdayMITA48Claude Code, Codex