ci-optimize
Optimize GitHub Actions workflow wait time with measured evidence.
Skill by paulnsorensen
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/paulnsorensen-ci-optimize
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ci-optimize
What's inside
- Skill name
ci-optimize- Description
- Optimize GitHub Actions workflow wait time with measured evidence. Use for "speed up CI", "why is GitHub Actions slow", workflow comparisons, or /ci-optimize. Route local command timing to /build-optimize.
- License
- MIT
- Instructions
- 77 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- github.md · references/
- local.md · references/
- schemas.md · references/
- ci_optimize.py · scripts/
SKILL.md (first lines)
# CI optimization Measure GitHub Actions wait time before changing. Preserve required checks, artifacts, and failure behavior. ## Discipline **Iron Law:** Capture the baseline before proposing a concrete edit. Explicit authorization is required before destructive cleanup, paid infrastructure, dependency installation, source edits, or remote dispatch. **Red Flags** — stop when you notice these: - A check, artifact, workload, or failure path is removed to create a speed result. - A rerun, partial job page, or changed validation contract enters the primary cohort. - A local result or zero exit status replaces a CI comparison. | Rationalization | Why it fails | Required action | | --- | --- | --- | | "The cache change is obvious, so I can apply it now." | Measurement does not approve mutation. | Present the plan and wait. | | "Parallel jobs add their durations." | The metric ends at the latest selected completion. | Measure from run creation. | | "The rerun uses the same workflow, so it is comparable." | Schema version 1 excludes reruns from primary wait. | Keep reruns as diagnostics. | ## Workflow 1. Read repository instructions. Identify authoritative verification commands. 2. Select one workflow, event class, workload, validation contract, and selected job set. 3. Read [references/github.md](references/github.md) before capturing runs. Read [references/schemas.md](references/schemas.md) before constructing inputs. 4. Capture baseline initial attempts and every selected attempt-specific jobs page. 5. Capture the planned sample count plus headroom for exclusions. Normalize the baseline. 6. Inspect eligible and excluded observations. 7. For a mixed request, read [references/local.md](references/local.md) before defining local timing. Define a local run plan. Name the exact command, warmup and sample counts, cache operations, isolation, output paths, and cost. 8. For a mixed request, obtain explicit approval for the local run plan. 9. Present one concrete edit plan. 10. Name affected files, expected benefit, risks, verification, and any established rollback. 11. Obtain explicit edit-plan approval before any tracked-source edit, dispatch, or remote mutation. 12. Apply the approved change through existing implementation and verification workflows. 13. Repeat the complete CI capture with the same boundary. Include queue and startup delay. 14. Normalize the after dataset. Compare datasets with an explicit minimum sample count. 15. Read comparison JSON. Require `comparability: true`. 16. Verify required checks, coverage, artifacts, and failure behavior. 17. Report observations without promising a numeric gain. Stop after the report or when required input is missing. Skip only local timing for a CI-only request. Local timing cannot establish CI wait improvement. Keep cache cohorts separate. Acknowledgements record approved environment, cache-state, or local-command differences. They cannot waive workload, validation, identity, or equivalent-coverage mismatches. They do not prove causation or authorize edits. ## Commands Resolve `CI_OPTIMIZE_HELPER` from the actual loaded `SKILL.md` directory. Resolve symlinks before using `scripts/ci_optimize.py`. Never derive the helper path from the consumer repository's current directory. The helper does not execute commands, edit workflows, install dependencies, dispatch runs, or commit changes. Run commands from the consumer repository's working directory: ```text python3 "$CI_OPTIMIZE_HELPER" ci --input BEFORE-CAPTURES.json --output BEFORE.json python3 "$CI_OPTIMIZE_HELPER" ci --input AFTER-CAPTURES.json --output AFTER.json python3 "$CI_OPTIMIZE_HELPER" compare --before BEFORE.json --after AFTER.json --minimum-samples N --output COMPARISON.json ``` Run this sequence separately for approved cache cohorts with distinct output paths. Use `--force` only to replace an existing explicit output file. ## Evidence and report The CI metric spans run creation to the latest selected job completion. Use initial attempts only for the primary cohort. Do not sum parallel job durations. Report status, workflow and selected-job boundary, eligible and excluded counts, medians and range, and delta. Report checks, artifacts, limitations, next approval, and evidence paths. Preserve excluded observations and their reasons. Return no more than 200 words. Do not rename unrelated gates, add auto-fix checks, or change local build behavior.
From paulnsorensen/dotfiles, MIT.
More from paulnsorensen/dotfiles
- 0.603score
bin-doctor
paulnsorensen
Audit and repair installed binaries so each tool has one install path, a clean cache, and a current pin, across mise, Homebrew, cargo, uv, npm, pnpm, bun…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
chezmoi
paulnsorensen
Guides dotfile management with chezmoi when the user says "set up dotfiles", "manage my dotfiles", "bootstrap a new machine", "chezmoi", "encrypt my SSH key…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
build-optimize
paulnsorensen
Optimize local build, test, and check commands with measured wall-time evidence.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
cheese-board-loop
paulnsorensen
Runs the cheese-board workflow and asks the user each question it raises.
SkillAFreshness: A★ 2Claude Code +9 - 0.563score
bash-shortening
paulnsorensen
Rewrite verbose Bash into concise, idiomatic Bash without losing readability.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
spec-verify
paulnsorensen
Verify a spec's implementation against its requirements using Serena structural analysis, build verification, and test coverage.
SkillBFreshness: B★ 2Claude Code +9 - 0.507score
grok-codebase
paulnsorensen
Use when the user wants deep, multi-session internalization of an unfamiliar codebase — not just an orientation, but the goal of being able to explain it on a…
SkillCFreshness: C★ 2Claude Code +9 - 0.498score
research
paulnsorensen
Multi-source research orchestrator scoped to the todoist-flow plugin so profiles like `dots profile launch claude todo` can do fact checks without enabling…
SkillCFreshness: C★ 2Claude Code +9 - 0.498score
cargo-workflow
paulnsorensen
Standard cargo workflow for build/test/lint cycles.
SkillCFreshness: C★ 2Claude Code +9 - 0.482score
read-mode-probe
paulnsorensen
Use when the user wants to interrogate an unfamiliar codebase with structured probes rather than a summary — invariants, data flow, error paths, hot paths…
SkillCFreshness: C★ 2Claude Code +9 - 0.482score
tour
paulnsorensen
Use when the user wants a quick, single-session read-only tour of an unfamiliar codebase or a specific feature — orientation, not memorization.
SkillCFreshness: C★ 2Claude Code +9 - 0.482score
design-doc
paulnsorensen
Use when the user wants to draft, revise, critique, or shepherd a design document, RFC, ADR, tech spec, or design proposal.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 69
- Last commit (this folder)
- Oct 10, 2026 (19 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/paulnsorensen/dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from paulnsorensen
- 0.603score
build-optimize
paulnsorensen
Optimize local build, test, and check commands with measured wall-time evidence.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
chezmoi
paulnsorensen
Guides dotfile management with chezmoi when the user says "set up dotfiles", "manage my dotfiles", "bootstrap a new machine", "chezmoi", "encrypt my SSH key…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
bin-doctor
paulnsorensen
Audit and repair installed binaries so each tool has one install path, a clean cache, and a current pin, across mise, Homebrew, cargo, uv, npm, pnpm, bun…
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
cheese-board-loop
paulnsorensen
Runs the cheese-board workflow and asks the user each question it raises.
SkillAFreshness: A★ 2Claude Code +9 - 0.592score
skillz
paulnsorensen
Add, improve, audit, wedge, or autoimprove a skill.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
python-authoring
paulnsorensen
Write, edit, refactor, or review Python as concise, stdlib-first, fully typed code that validates input at the boundary and passes basedpyright.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
ci-optimize skill. Agent Mart. https://agentmart.dev/skills/paulnsorensen-ci-optimize (last updated 2026-10-24)