Borrowing it
Nothing to install: this file belongs to matteing/opal. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/matteing/opal/main/.claude/skills/ci-preflight/SKILL.mdgit clone --depth 1 https://github.com/matteing/opalWrote 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/matteing/opal/ci-preflight)<a href="https://agentmods.dev/skills/matteing/opal/ci-preflight"><img src="https://agentmods.dev/badge/skills/matteing/opal/ci-preflight/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/matteing/opal/ci-preflight"><img src="https://agentmods.dev/badge/skills/matteing/opal/ci-preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00039 | $0.00362 |
| Opus 5.5 | $0.00016 | $0.00145 |
| Sonnet 5.5 | $0.00008 | $0.00072 |
| Haiku 4.5 | $0.00004 | $0.00036 |
Grade A, and why
ci-preflight 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 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.
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.
What it actually says
CI Preflight Skill
You run the same checks that GitHub Actions CI performs, but locally, to catch failures before pushing. This saves time and keeps the commit history clean.
When to act
- Before pushing a branch to remote.
- When the user asks to "run CI", "check everything", or "preflight".
- After a large set of changes to verify nothing is broken.
Check sequence
Run these in order. Stop and fix issues at each step before proceeding.
1. Elixir core
# Compile with warnings-as-errors (matches CI)
mise run build:core
# Check formatting
mise run lint:core
# Run tests
mise run test:core
2. TypeScript CLI
# Lint (ESLint)
mise run lint:cli
# Verify codegen is current
mix run scripts/codegen_ts.exs --check
# Build (typecheck + compile)
mise run build:cli
3. Quick summary
Or run everything at once:
mise run lint && mise run build && mise run test
Rules
- Every check must pass before pushing. If something fails, fix it first.
- Report results clearly — list what passed and what failed.
- For failures, diagnose the root cause and suggest or apply fixes.
- If a test is flaky (passes on retry), flag it to the user rather than silently retrying.
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 First seen · 61 lines · 39 tokens per session scan A fd8a27001c53
ci-preflight is a skill published in the GitHub repository matteing/opal (62 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 362 once invoked, about $0.0002 per session on Opus 5.5. 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-30.
ci-preflight compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ci-preflightmatteing/opal | Skill | 62 | 2mo ago | MIT | A | 39 | Claude Code |
| building-agentsericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 85 | Claude Code, Codex |
| agent-evalericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 79 | Claude Code, Codex |
| swarm-migrateyonatangross/orchestkit | Skill | 299 | yesterday | MIT | A | 103 | Claude Code |
| ci-debugyonatangross/orchestkit | Skill | 299 | yesterday | MIT | A | 55 | Claude Code |
| devops-deploymentyonatangross/orchestkit | Skill | 299 | yesterday | MIT | A | 34 | Claude Code |
| documentation-patternsyonatangross/orchestkit | Skill | 299 | yesterday | MIT | A | 53 | Claude Code |