windows-ci

windows-ci is a skill for Claude Code, Codex from dimetron/pi-go. It costs 56 tokens per session (603 once invoked), scanned A, original, MIT.

A guide to diagnosing failures that occur only in Windows continuous integration (CI), the automated build and test service used by a project. It covers temporary-directory cleanup and tests that assume the ripgrep search tool is installed.

In plain words
What is it for?
It helps read the Windows job log, close sandbox handles before cleanup, use the project's cross-platform test helper, and make search-tool tests work when ripgrep is unavailable.
Why use it?
A test can pass on macOS while failing on Windows because Windows handles open files differently and the runner may not have ripgrep. Local success alone therefore does not prove the change works everywhere.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps read the Windows job log, close sandbox handles before cleanup, use the project's cross-platform test helper, and make search-tool tests work when ripgrep is unavailable.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dimetron/pi-go/windows-ci
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.

Any agent
npx skills add dimetron/pi-go --skill windows-ci
Clone the repo
git clone --depth 1 https://github.com/dimetron/pi-go

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dimetron/pi-go/windows-ci"><img src="https://agentmods.dev/badge/skills/dimetron/pi-go/windows-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 603 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00056 $0.00603
Opus 5.5 $0.00022 $0.00241
Sonnet 5.5 $0.00011 $0.00121
Haiku 4.5 $0.00006 $0.00060

Measured 13d ago against content hash fe5b335b2f54, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

windows-ci 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 13d 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.

.pi-go/skills/windows-ci/SKILL.md · 53 lines

How it starts

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

Windows CI failures

macOS cannot reproduce these, so a green local run says nothing about them.

Two failures macOS cannot catch, but Windows CI will

CI runs Test (Windows) and Build (windows, amd64). Both classes below pass on macOS and fail only there, so a green local run is not evidence they are fixed.

  • An open directory handle breaks t.TempDir() cleanup. Windows refuses to remove a directory whose entries are still open: TempDir RemoveAll cleanup: unlinkat ...: The process cannot access the file because it is being used by another process. tools.NewSandbox holds an open root, so a test that builds one must release it:

    sb, err := NewSandbox(t.TempDir())
    if err != nil {
        t.Fatal(err)
    }
    t.Cleanup(func() { _ = sb.Close() })
    

    The failure surfaces during cleanup, so the test's own assertions pass and the report points at testing.go rather than at your test. internal/agent wraps this in testSandbox; use that helper, or close explicitly.

  • rg is not installed on the Windows runner. newGrepTool self-names by capability — "ripgrep" when rg is present, "grep" when it is not (grep.go:128-133) — so a test that requires "ripgrep" by name fails on any host without rg. Assert exactly one of the two is registered and that both spellings route, and cover both branches by toggling the rgAvailable package variable (TestCompactorRouting_WithRipgrep / _WithoutRipgrep show the pattern). Do not hard-code either name.

When CI reports a Windows failure, read the job log directly rather than guessing:

gh run list --branch <branch> --limit 5 \
  --json databaseId,conclusion,headSha --jq '.[].databaseId'
gh api repos/dimetron/pi-go/actions/runs/<run>/jobs \
  --jq '.jobs[] | select(.name|test("Windows")) | .id'
gh api --allow-escape-sequences repos/dimetron/pi-go/actions/jobs/<job>/logs \
  | tr -d '\r' | grep -E 'FAIL|panic'

--allow-escape-sequences is required; without it the log API refuses to print.

Read the full file on GitHub · 53 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. 13d ago First seen · 53 lines · 56 tokens per session scan A fe5b335b2f54

Subscribe to this mod's changes

windows-ci is a skill published in the GitHub repository dimetron/pi-go (232 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 603 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-11-18.

Related

windows-ci compared with skills from other repositories

windows-ci next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
windows-cidimetron/pi-goSkill232todayMITA56Claude Code, Codex
test-fixpatriceckhart/zotSkill373yesterdayMITA17Claude Code
find-tracesaxiomhq/cliSkill607d agoMITA37Claude Code
github-ci-fixpatrickserrano/lacquerSkill57d agoMITA27Claude Code, Codex
troubleshoot-tervaterva-sh/tervaSkill52d agoMITA83Claude Code, Codex
ci-self-healrushengzhou/sid-codeSkill23mo agoMITA73Claude Code
golang-continuous-integrationalexastrum/sklSkill116d agoMITA87Claude Code