ci-scripts-maintenance

Repository rules for maintaining continuous-integration workflows and helper scripts after software updates. They cover reproducible commands, shell consistency, documentation, and GitHub Actions token handling.

In plain words
What is it for?
Reviewing CI and local scripts after updates, checking commands against current tool versions, and documenting workflow changes.
Why use it?
They help prevent old flags, version assumptions, and token-validation checks from breaking after tools or packages change.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/platinoff/poolai/ci-scripts-maintenance
Clone the repo
git clone --depth 1 https://github.com/platinoff/poolAI

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00379
Opus 5 $0.00000 $0.00189
Sonnet 5 $0.00000 $0.00076
Haiku 4.5 $0.00000 $0.00038

Measured yesterday against content hash 231f5dfe7791, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ci-scripts-maintenance scanned grade A with 0 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/ci-scripts-maintenance.mdc · 30 lines

What it actually says

CI and Scripts Maintenance

  • After toolchain or package updates, re-check CI scripts and local helper scripts for outdated flags or assumptions.
  • Keep commands shell-consistent for this repository; avoid adding one-off execution paths that diverge from documented workflow.

For changes in CI/workflows and scripts

  • Confirm commands still work with current local versions (rustc, cargo, git, cursor).
  • Prefer explicit, reproducible commands over implicit environment assumptions.
  • If a script or workflow behavior changes, add/update matching doc under docs/development/ and link it from docs/README.md when broadly useful.

GitHub Actions GITHUB_TOKEN format (PH-SVC65+)

  • Pass ${{ secrets.GITHUB_TOKEN }} / ${{ github.token }} to actions as opaque strings only.
  • Do not add shell/regex checks that assume short opaque tokens (no dots) or fixed length < 520.
  • Recommended match-both regex (only if validation is unavoidable): ghs_[A-Za-z0-9\.\-_]{36,}.
  • Temporary App mint header X-GitHub-Stateless-S2S-Token is not used in PoolAI workflows (no installation-token mint).
  • Detail: GITHUB_APP_INSTALLATION_TOKENS_2026-07-25.md.

Cleanup policy

  • Remove dead scripts and obsolete workflow steps when they no longer provide value.
  • Keep file_list.csv in sync when adding/removing tracked files in these areas.
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. yesterday First seen · 30 lines · 0 tokens per session scan A 231f5dfe7791

Subscribe to this mod's changes

ci-scripts-maintenance is a cursor rule published in the GitHub repository platinoff/poolAI (4 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 379 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.