wire-ci

wire-ci is a cursor rule for Cursor from danielvm-git/bigpowers. It costs 45 tokens per session (3,553 once invoked), scanned A, original, MIT.

A workflow for generating and locally checking continuous integration (CI) files for a project. CI automatically builds and tests code after changes, and this workflow detects the hosting forge and selects a matching template.

In plain words
What is it for?
Use it to set up CI for GitHub and identify unsupported GitLab, Bitbucket, Codeberg, or Gitea projects. It helps generate, validate, and preview workflow files.
Why use it?
It reduces the risk of adding broken or unsupported CI configuration. Local validation and dry runs reveal problems before workflows are pushed.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/wire-ci.sh --detect # report forge + stack, write nothing.

Good fit Use it to set up CI for GitHub and identify unsupported GitLab, Bitbucket, Codeberg, or Gitea projects. It helps generate, validate, and preview workflow files.

Compare 6 cursor rules from other repositories ↓
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/danielvm-git/bigpowers
agentmods
npx agentmods add rules/danielvm-git/bigpowers/wire-ci

Made for: Cursor.

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 wire-ci

README.md
[![agentmods](https://agentmods.dev/badge/rules/danielvm-git/bigpowers/wire-ci/github.svg)](https://agentmods.dev/rules/danielvm-git/bigpowers/wire-ci)
Your own site
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/wire-ci"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/wire-ci/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 wire-ci

Your own site · 80×15
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/wire-ci"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/wire-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,553 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.
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.00045 $0.03553
Opus 5.5 $0.00018 $0.01421
Sonnet 5.5 $0.00009 $0.00711
Haiku 4.5 $0.00005 $0.00355

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

Security

Grade A, and why

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

Makes network callslowCapability

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

curl -sf "${{ env.SITE_URL }}" || exit 1
.cursor/rules/wire-ci.mdc · 381 lines

How it starts

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

Wire CI

HARD GATE (supported forges only) — Do not ship a project without CI. Run this skill before first merge to main.

On a forge bigpowers ships no templates for, this skill is not a gate: it reports the forge, explains what it cannot do, and exits 3. A gate that cannot run must not claim it did. See § Unsupported forges.

HARD GATE — CI that is untestable locally will break every cycle. Always run --validate after generating workflows and --dry-run before pushing.

Generate, validate, and test CI workflows. Detects the forge and project type, copies a bundled template, and verifies locally before anything reaches CI.

Forge resolution

scripts/lib/detect-forge.sh resolves the forge, first match wins: BIGPOWERS_FORGE env var → forge: in specs/forge.yaml → the origin remote URL → unknown.

bash scripts/wire-ci.sh --detect     # report forge + stack, write nothing
bash scripts/wire-ci.sh --plan       # show the template that would be used
bash scripts/wire-ci.sh --apply      # write the workflow

GitHub ships templates (.github/workflows/). GitLab, Bitbucket, Codeberg, and Gitea are detected but unsupported — --apply writes nothing and exits 3.

Template source — configurable, bundled by default

Templates live in docs/templates/ci/<forge>/ inside the bigpowers package, so there is no network dependency on any third party's repository. Override with BIGPOWERS_CI_TEMPLATES=/path/to/your/templates, laid out as <root>/<forge>/test-build-release-<stack>.yml.

What this sets up

  1. Test Build Release workflow — lint → test → build → release in one needs: chain
  2. --validate mode — YAML syntax, workflow permissions, required secrets, common pitfalls
  3. --dry-run mode — runs workflows locally via act before push
  4. Failure pattern documentation — see the table below

Deploy workflows are not bundled: they are platform-specific. See REFERENCE.md for a worked example.

Read the full file on GitHub · 381 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 First seen · 381 lines · 45 tokens per session scan A 60e4fd17c853

Subscribe to this mod's changes

wire-ci is a cursor rule published in the GitHub repository danielvm-git/bigpowers (297 stars, last pushed 4d ago), licensed MIT. It adds 45 tokens to every session and 3,553 once invoked, about $0.0002 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-09-03.

Related

wire-ci compared with cursor rules from other repositories

wire-ci next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wire-cidanielvm-git/bigpowersCursor rule2974d agoMITA45Cursor
pipelineJkudjo/oh-my-cursorCursor rule117d agoMITA16Cursor
yaml-configinboxpraveen/Minimize-Cursor-CostCursor rule122mo agoApache-2.0A0Cursor
deploy-arch-maintenanceTashanGKD/tashan-cursor-skillsCursor rule258mo agoMITA54Cursor
90-devops-deploymentaiagentwithdhruv/ai-dev-stackCursor rule115mo agoMITA0Cursor
turboreponedcodes-ok/cursorrules-collectionCursor rule389mo agoMITA634Cursor
ci-cdnedcodes-ok/cursorrules-collectionCursor rule389mo agoMITA234Cursor