loom-ci-cd

loom-ci-cd is a skill for Claude Code from cosmix/loom. It costs 30 tokens per session (7,557 once invoked), scanned B, original, MIT.

A guide for building CI/CD pipelines: automated workflows that test, build, scan, and deploy software. It covers GitHub Actions, GitLab CI, Jenkins, CircleCI, and cloud-based systems.

In plain words
What is it for?
Use it to design automated testing and release workflows, integrate security scans, manage build artifacts and caches, run tests in parallel, and automate deployments.
Why use it?
It helps teams catch cheap failures early, avoid rebuilding different versions for different environments, limit pipeline permissions, and keep deployments repeatable and reversible.

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 - run: python training/train.py --model-version ${{ inputs.model-version || github.sha }} # tag model with git SHA.

Good fit Use it to design automated testing and release workflows, integrate security scans, manage build artifacts and caches, run tests in parallel, and automate deployments.

Compare 6 skills from other repositories ↓
View source ↗ cosmix/loom
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/cosmix/loom
agentmods
npx agentmods add skills/cosmix/loom/loom-ci-cd

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 loom-ci-cd

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cosmix/loom/loom-ci-cd"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-ci-cd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,557 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 207
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Supply Chain · line 373
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • high Tool Misuse · line 373
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
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.00030 $0.07557
Opus 5.5 $0.00012 $0.03023
Sonnet 5.5 $0.00006 $0.01511
Haiku 4.5 $0.00003 $0.00756

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

Security

Grade B, and why

loom-ci-cd scanned grade B with 2 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.

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.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

**Route untrusted context values through env vars to prevent script injection.** `${{ expression }}` is evaluated at workflow-*generation* time, BEFORE the shell parses `run:` — so the value is string-substituted into th

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

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

**Route untrusted context values through env vars to prevent script injection.** `${{ expression }}` is evaluated at workflow-*generation* time, BEFORE the shell parses `run:` — so the value is string-substituted into th
skills/loom-ci-cd/SKILL.md · 472 lines

How it starts

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

CI/CD

Overview

Pipeline design, security hardening, and optimization across GitHub Actions, GitLab CI, Jenkins, CircleCI, and cloud-native platforms. The load-bearing content is Expert Practices (bottom) — supply-chain, least-privilege, OIDC, cache trust boundaries, and platform gotchas. Read that section for any non-trivial pipeline.

Design Principles

  • Fail fast, cheap-first: lint → typecheck → unit → integration → build → deploy. A stage should only run if everything cheaper passed.
  • Parallelize independent work; shard slow test suites across runners; matrix multi-version/OS.
  • Cache by lock-file hash, scoped by OS — never by branch (see cache gotcha). Cache deps, build output, Docker layers.
  • Build once, promote by digest — never rebuild per environment (see Design Patterns). What you validated in staging must be the exact bytes that reach prod.
  • Least privilege: permissions: {} default, grant per-job; OIDC not stored cloud keys; pin actions by SHA.
  • Every deploy reversible; pipelines idempotent/re-runnable; manual approval gates for prod via environments.
  • Shift security left: SAST/secret/dependency scans early; container scan pre-push; block on CRITICAL/HIGH.

Deployment strategies

Strategy Mechanism Rollback Use when
Rolling Replace pods incrementally Roll forward/back Default; backward-compat schema
Blue-green Two full envs, flip traffic Flip back instant Fast rollback, DB-compat needed
Canary Route N% to new version, ramp Drop canary Risk-averse, good metrics/SLOs
Shadow Mirror traffic, discard responses N/A (no user impact) Validate perf before real cutover

Examples

Examples are trimmed skeletons — repeat checkout/setup-* steps per job (jobs don't share a workspace). Pin every action, including actions/*, to a reviewed full commit SHA in real use; retain the action major only as a comment for update tooling.

Read the full file on GitHub · 472 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. 2mo ago Changed · -1 lines · +6 tokens per session 8dad7059f722
  2. 2mo ago Changed · -32 tokens per session cbfb9a75497f
  3. 3mo ago First seen · 473 lines · 56 tokens per session scan B 885f731370fd

Subscribe to this mod's changes

loom-ci-cd is a skill published in the GitHub repository cosmix/loom (66 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 7,557 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

loom-ci-cd compared with skills from other repositories

loom-ci-cd next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
loom-ci-cdcosmix/loomSkill66todayMITB30Claude Code
zb-release-pipelineAdamBien/airailsSkill76yesterdayMITA148Claude Code, Codex
capacitor-ci-cdCap-go/capgo-skillsSkill7918d agoMITA243Claude Code
capgo-live-updatesCap-go/capgo-skillsSkill7918d agoMITA155Claude Code
capgo-release-workflowsCap-go/capgo-skillsSkill7918d agoMITA155Claude Code
aws-cloudformation-task-ecs-deploy-ghgiuseppe-trisciuoglio/developer-kitSkill3722mo agoMITA106Claude Code
nextjs-deploymentgiuseppe-trisciuoglio/developer-kitSkill3722mo agoMITA71Claude Code