Agent skill

CI

by softspark in softspark/ai-toolkit

Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI).

Apache-2.0Auto-check: notesDevOps & Cloud

Install CI

skills CLI
$ npx skills add softspark/ai-toolkit --skill ci -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install softspark/ai-toolkit ci --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/softspark/ai-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/skills/ci .claude/skills/ci && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ci
GitHub stars
179
Token cost
~1.1k tokens
SKILL.md length
444 words
Files
4 (incl. scripts)
Skills in repo
112
Repo updated
First seen
Licence
Apache-2.0

At a glance

Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI).

  • Works in 4 steps: Lint - Static analysis, formatting checks → Test - Unit tests, integration tests… → Build - Compile, bundle, Docker image → …
  • Tasks that involve CI/CD
  • SKILL.md covers What This Command Does, Project context, CI Detection Script and Auto-Detection, plus 7 more sections
  • Runs Python scripts from its folder; calls git and python3

What it does

CI is an agent skill from softspark/ai-toolkit. Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI). Triggers: CI setup, build pipeline, GitHub Actions config, debug CI, GitLab CI.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `scripts/ci-detect.py`, `templates/github-actions-node.yml` and `templates/github-actions-python.yml`).

It sits in DevOps & Cloud, covering CI/CD. It works with GitHub Actions, GitLab, Docker and Rust. The repository describes itself as: Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, Augment, Antigravity, Codex CLI… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve CI/CD

Example prompts

  • “/ci”

Requirements

  • Python 3
  • Node.js
  • Docker
  • Pre-approved tools (allowed-tools): Bash, Read, Write

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Lint - Static analysis, formatting checks
  2. Test - Unit tests, integration tests with coverage
  3. Build - Compile, bundle, Docker image
  4. Deploy (optional) - Deploy to staging/production

What it can do on your machine

Read from SKILL.md and the folder at commit d64db2b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

CI loads about 1.1k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 444 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from softspark/ai-toolkit at commit d64db2b, republished under its Apache-2.0 licence (© softspark). 444 words, ~1,100 tokens.

Download SKILL.mdSave it as .claude/skills/ci/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
ci
description
Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI). Triggers: CI setup, build pipeline, GitHub Actions config, debug CI, GitLab CI.
allowed-tools
Bash, Read, Write
effort
medium
disable-model-invocation
true
argument-hint
[platform]
agent
devops-implementer
context
fork
scripts
scripts/ci-detect.py

/ci - CI/CD Pipeline Management

$ARGUMENTS

What This Command Does

Generate, update, or troubleshoot CI/CD pipeline configuration based on project type.

Project context

  • CI config: !cat .github/workflows/*.yml 2>/dev/null || cat .gitlab-ci.yml 2>/dev/null || echo "no-ci"

CI Detection Script

Detect CI platform and analyze configuration:

bash
python3 ${CLAUDE_SKILL_DIR}/scripts/ci-detect.py [directory]

Returns JSON with:

  • platform - detected CI platform (github-actions, gitlab-ci, jenkins, bitbucket, circleci)
  • config_files[] - CI config file paths
  • project_type - detected project type (python, node, flutter, go, rust, php, docker)
  • jobs_found[] - job/stage names extracted from config
  • stages_detected[] - best-practice stages found (lint, test, build, deploy)
  • missing_stages[] - recommended stages not yet configured
  • suggested_template - pointer to ci-cd-patterns skill for templates

Auto-Detection

File FoundProject TypePipeline
package.jsonNode.js/TypeScriptnpm ci, lint, test, build
pyproject.toml / setup.pyPythonpip install, ruff, mypy, pytest
pubspec.yamlFlutter/Dartdart analyze, flutter test, build
composer.jsonPHPcomposer install, phpstan, phpunit
go.modGogo vet, go test, go build
Cargo.tomlRustcargo clippy, cargo test, cargo build
DockerfileDockerBuild and push image

Supported Platforms

  • GitHub Actions (default): .github/workflows/ci.yml
  • GitLab CI: .gitlab-ci.yml

Pipeline Stages

  1. Lint - Static analysis, formatting checks
  2. Test - Unit tests, integration tests with coverage
  3. Build - Compile, bundle, Docker image
  4. Deploy (optional) - Deploy to staging/production

Usage Examples

/ci                          # Generate CI config for detected project type
/ci github-actions           # Explicitly use GitHub Actions
/ci add deploy staging       # Add deployment stage for staging
/ci fix                      # Troubleshoot failing pipeline
/ci add matrix node 18,20,22 # Add matrix testing

Reference Skill

Use ci-cd-patterns skill for pipeline templates and best practices.

Rules

  • MUST detect existing CI platform before generating a new config — do not overwrite silently
  • NEVER commit generated CI configs that embed hardcoded secrets or tokens
  • CRITICAL: preserve existing job names and triggers unless the user explicitly asks for a restructure
  • MANDATORY: every generated pipeline must include lint + test stages at minimum
  • MUST collect every failing job before diagnosing — do not stop at the first red check. A pipeline usually breaks in more than one place, and reporting only the first one costs a full cycle per remaining failure
Show full SKILL.md (153 more words)Show less

Gotchas

  • GitHub Actions YAML parses on: as a reserved word only when unquoted. Writing "on": (quoted) produces a valid-looking file whose workflow never triggers. YAML anchors in this field also silently break.
  • GitLab CI's rules: and only:/except: are mutually exclusive at the job level. Mixing them fails parse on pipeline run but not at git push time — test with gitlab-ci-lint before committing.
  • secrets.* in GitHub Actions is undefined in workflows triggered from forked PRs (security boundary). Jobs that need secrets must gate on github.event.pull_request.head.repo.full_name == github.repository or use pull_request_target carefully.
  • actions/checkout@v6 defaults to fetch-depth: 1 (shallow). Commands that need history (git log, git describe, conventional-commit tools) fail with misleading errors — set fetch-depth: 0 for those jobs.

When NOT to Use

  • For running tests locally — use /test
  • For general CI/CD patterns and theory — use /ci-cd-patterns (knowledge skill)
  • For deployment orchestration only — use /deploy
  • When the project has no VCS-hosted CI platform — generate locally-runnable scripts instead

© softspark, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in app/skills/ci of softspark/ai-toolkit.

  • SKILL.md
  • scripts/ci-detect.py
  • templates/github-actions-node.yml
  • templates/github-actions-python.yml

Open the folder on GitHubat commit d64db2b

Compare with similar skills

CI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

CI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
CI this skillsoftspark/ai-toolkit179—~1.1kAutomated safety check: NotesApache-2.0
GitHub Actions CreatorFNOSP/FlyNarwhal4951 repos~2.4kAutomated safety check: PassAGPL-3.0
Megalinter Checknvuillam/npm-groovy-lint2481 repos~3.9kAutomated safety check: NotesMIT
CI CDEliasOulkadi/shokunin114—~3.4kAutomated safety check: NotesMIT
CI CDahmedasmar/devops-claude-skills203—~3.5kAutomated safety check: PassNone
CI/CD Pipeline Principlesirahardianto/awesome-agv157—~2.7kAutomated safety check: NotesMIT

Similar skills

  • GitHub Actions Creator

    FNOSP/FlyNarwhal

    A skill your agent uses when the user wants to create, generate, or set up a GitHub Actions workflow.

    495 GitHub starsUsed in 1 repo~2.4k tokens
    DevOps & CloudAuto-check passed
  • Megalinter Check

    nvuillam/npm-groovy-lint

    Collect MegaLinter lint errors for the current repository. An agent skill from nvuillam/npm-groovy-lint.

    248 GitHub starsUsed in 1 repo~3.9k tokens
    DevOps & CloudAuto-check: notes
  • CI CD

    EliasOulkadi/shokunin

    Design CI/CD pipelines for GitHub Actions, GitLab CI, and CircleCI with matrix builds, test sharding, caching, Docker layer caching, OIDC auth, deployment strategies (rolling, blue-green, canary)…

    114 GitHub stars~3.4k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • CI CD

    ahmedasmar/devops-claude-skills

    CI/CD pipeline design, optimization, DevSecOps security scanning, and troubleshooting.

    203 GitHub stars~3.5k tokensUpdated 5 mo ago
    DevOps & CloudAuto-check passed
  • CI/CD Pipeline Principles

    irahardianto/awesome-agv

    Rules for designing CI/CD pipelines in layers: universal lint, test and scan stages, container builds with SBOM attestation, and GitOps for orchestrated deployments.

    157 GitHub stars~2.7k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • Playwright CI

    zebbern/claude-code-guide

    Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

    4.6k GitHub starsUsed in 2 repos~675 tokens
    DevOps & CloudAuto-check passed

More from softspark/ai-toolkit

All 112 skills in this repo
  • Prepare Test Env

    softspark/ai-toolkit

    Prepare or verify a project QA environment with source identity, readiness, browser access, evidence paths and owned cleanup.

    179 GitHub stars~1.8k tokensUpdated today
    Auto-check: notes
  • A11y Validate

    softspark/ai-toolkit

    Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~3.8k tokensUpdated today
    Auto-check: notes
  • Analyze

    softspark/ai-toolkit

    Analyzes code quality, complexity, patterns across codebase.

    179 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Autonomous Dev

    softspark/ai-toolkit

    Drives a brief, specification, issue or existing PR through implementation, review, tests and QA to a ready PR.

    179 GitHub stars~2.6k tokensUpdated today
    Auto-check: notes
  • Brand Voice

    softspark/ai-toolkit

    Direct technical voice for docs, README, user-facing text. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Commit

    softspark/ai-toolkit

    Creates Conventional Commits with pre-commit validation. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~585 tokensUpdated today
    Auto-check: notes

Categories

Questions about CI

What does CI do?

Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI). CI is an agent skill from softspark/ai-toolkit. Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI).

When should I use CI?

CI fits situations like: tasks that involve CI/CD.

How do I install CI in Claude Code?

Run `npx skills add softspark/ai-toolkit --skill ci -a claude-code`. Or copy the skill folder (app/skills/ci in softspark/ai-toolkit) into .claude/skills/ci in your project. Claude Code loads it when a task matches its description.

How do I install CI in Codex?

Run `npx skills add softspark/ai-toolkit --skill ci -a codex`. Or copy the skill folder (app/skills/ci in softspark/ai-toolkit) into .agents/skills/ci in your project. Codex loads it when a task matches its description.

Can I use CI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add softspark/ai-toolkit --skill ci -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ci, .gemini/skills/ci, .github/skills/ci and .opencode/skills/ci in your project.

What does CI need to run?

Going by SKILL.md and its folder, CI needs Python for the scripts in its folder and the command-line tools its instructions call (git and python3). Our summary lists: Python 3; Node.js; Docker. Its frontmatter pre-approves these tools: Bash, Read, Write.

Does CI access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is CI safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does CI use?

CI is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does CI use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to CI?

Skills that share tags, products or a category with CI: GitHub Actions Creator (FNOSP/FlyNarwhal, 495 stars), Megalinter Check (nvuillam/npm-groovy-lint, 248 stars), CI CD (EliasOulkadi/shokunin, 114 stars) and CI CD (ahmedasmar/devops-claude-skills, 203 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains CI?

softspark (a GitHub user) maintains it in softspark/ai-toolkit, which has 179 GitHub stars. The repository holds 112 skills in this directory. The repository was last updated on October 7, 2026.

Source: softspark/ai-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.