ci-generate

ci-generate is a skill for Claude Code from mgiovani/cc-arsenal. It costs 122 tokens per session (2,274 once invoked), scanned A, original, MIT.

A guide for generating continuous integration and delivery configuration, which automatically checks, builds, scans, and optionally deploys a project when changes are made. It supports GitHub Actions, GitLab CI, CircleCI, and Jenkins after inspecting the project's actual setup.

In plain words
What is it for?
Use it to add or generate a CI workflow for a new project, a missing pipeline file, a multi-project repository (monorepo), or a deployment process.
Why use it?
It avoids pipelines that reference the wrong package manager, commands, runtime versions, services, or configuration format. This makes the generated workflow fit the repository instead of relying on guesses.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the cc-arsenal-dev plugin — 19 skills shipped together , and of cc-arsenal

Good fit Use it to add or generate a CI workflow for a new project, a missing pipeline file, a multi-project repository (monorepo), or a deployment process.

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

Made for: Claude Code.

Or install cc-arsenal-dev, the plugin that ships this one along with the rest of its 19 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 ci-generate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mgiovani/cc-arsenal/ci-generate"><img src="https://agentmods.dev/badge/skills/mgiovani/cc-arsenal/ci-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,274 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00122 $0.02274
Opus 5.5 $0.00049 $0.00910
Sonnet 5.5 $0.00024 $0.00455
Haiku 4.5 $0.00012 $0.00227

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

Security

Grade A, and why

ci-generate scanned grade A with 1 finding 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 22d 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.

Makes network callslowCapability

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

| Jenkins | the declarative linter, if the Jenkins instance is reachable (`curl -X POST -F "jenkinsfile=<Jenkinsfile" $JENKINS_URL/pipeline-model-converter/validate`) | none |
skills/ci-generate/SKILL.md · 213 lines

How it starts

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

CI/CD Pipeline Generator

Generate a CI/CD pipeline config for the detected project stack, covering lint, test, build, security, and (when requested) deploy. Start by parsing the arguments passed to this skill invocation (platform, --deploy, --monorepo): see Phase 0 below.

Anti-hallucination guidelines

Pipeline configurations must always match actual project tooling. This is critical:

  1. Discover before generating: never assume the project's tooling, check what it actually uses first.
  2. Verify commands exist: check the project's own config (e.g. package.json scripts, Makefile targets) before referencing them.
  3. Match real versions: use the actual language/runtime version pinned in the project's own config files, not a guess.
  4. No phantom dependencies: only include services (Redis, PostgreSQL, etc.) confirmed in project dependencies.
  5. Platform-specific syntax: each CI platform has distinct YAML structure, so never mix syntax between platforms.

Workflow

Phase 0: Parse Arguments

Extract configuration from the arguments passed to this skill:

Arguments:
- <platform>: Target CI platform (default: auto-detect from existing config)
 - "github" or "gh": GitHub Actions
 - "gitlab" or "gl": GitLab CI
 - "circle" or "circleci": CircleCI
 - "jenkins": Jenkins (Jenkinsfile)
- "--deploy <target>": Deployment target (optional)
 - "vercel", "netlify", "aws", "gcp", "azure", "docker", "k8s", "fly", "railway"
- "--monorepo": Generate matrix/path-filtered workflows
- No args: Auto-detect platform from existing CI config files, default to GitHub Actions

If no platform specified, detect from existing files:
- `.github/workflows/*.yml` → GitHub Actions
- `.gitlab-ci.yml` → GitLab CI
- `.circleci/config.yml` → CircleCI
- `Jenkinsfile` → Jenkins
- No CI config found → Default to GitHub Actions

Phase 1: Project Stack Detection

Explore the codebase to discover the complete project technology stack.

Phase 2: Research Best Practices (only if needed)

Read the full file on GitHub · 213 lines

Files

What ships with it

3 files 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. 22d ago Changed · -21 lines f7bc44a7e73e
  2. 1mo ago Changed · -4 lines 96e046392a66
  3. 1mo ago Changed · +1 lines d7b145338c2e
  4. 1mo ago First seen · 237 lines · 122 tokens per session scan A c24ab2c43d58

Subscribe to this mod's changes

ci-generate is a skill published in the GitHub repository mgiovani/cc-arsenal (8 stars, last pushed 2d ago), licensed MIT. It adds 122 tokens to every session and 2,274 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.