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.
git clone --depth 1 https://github.com/cosmix/loomnpx agentmods add skills/cosmix/loom/loom-ci-cdWrote 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.
[](https://agentmods.dev/skills/cosmix/loom/loom-ci-cd)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once 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 |
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 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.
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.
- 2mo ago Changed · -1 lines · +6 tokens per session 8dad7059f722
- 2mo ago Changed · -32 tokens per session cbfb9a75497f
- 3mo ago First seen · 473 lines · 56 tokens per session scan B 885f731370fd
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.
loom-ci-cd compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loom-ci-cdcosmix/loom | Skill | 66 | today | MIT | B | 30 | Claude Code |
| zb-release-pipelineAdamBien/airails | Skill | 76 | yesterday | MIT | A | 148 | Claude Code, Codex |
| capacitor-ci-cdCap-go/capgo-skills | Skill | 79 | 18d ago | MIT | A | 243 | Claude Code |
| capgo-live-updatesCap-go/capgo-skills | Skill | 79 | 18d ago | MIT | A | 155 | Claude Code |
| capgo-release-workflowsCap-go/capgo-skills | Skill | 79 | 18d ago | MIT | A | 155 | Claude Code |
| aws-cloudformation-task-ecs-deploy-ghgiuseppe-trisciuoglio/developer-kit | Skill | 372 | 2mo ago | MIT | A | 106 | Claude Code |
| nextjs-deploymentgiuseppe-trisciuoglio/developer-kit | Skill | 372 | 2mo ago | MIT | A | 71 | Claude Code |