build-optimize
Optimize local build, test, and check commands with measured wall-time 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-build-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: backend, testing, devops, agent-building
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
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/build-optimize
What's inside
- Skill name
build-optimize- Description
- Optimize local build, test, and check commands with measured wall-time evidence. Use for "speed up my build", "why is just check slow", "tests overload the server", or /build-optimize. Also use it when concurrent agent gates overload a shared host. Route GitHub Actions work to /ci-optimize.
- License
- MIT
- Instructions
- 82 lines in SKILL.md · view on GitHub
Files (7)
- SKILL.md
- go.md · references/
- js-ts.md · references/
- methodology.md · references/
- python.md · references/
- rust.md · references/
- shared-host.md · references/
SKILL.md (first lines)
# Local build optimization Measure local wall time before changing. Preserve checks, artifacts, and failure behavior. This skill covers local cargo, pytest, npm, pnpm, go, and just commands. Use /ci-optimize for GitHub Actions workflow timing or changes. ## Discipline **Iron Law:** Measure the approved run plan before proposing a concrete edit. **Red Flags** — stop when you notice these: 1. An edit removes a check or artifact, changes the workload, or hides a failure. 2. Cache operations, sample counts, warmups, or isolation differ from the approved plan. 3. Cold and warm cohorts merge, or a blocked helper comparison becomes a speed claim. | Rationalization | Why it fails | Required action | | --- | --- | --- | | "The warm run is faster, so every build is faster." | A warm run skips cold-cache work. | Report each cohort separately. | | "Parallel tests are faster." | Parallel workers require test isolation. | Prove isolation before the plan. | | "`-n auto` is fastest, so every agent should use it." | Concurrent gates on one host oversubscribe the CPU. | Measure concurrent gates and apply [shared-host.md](references/shared-host.md). | | "The helper is absent, so raw timings are enough." | Raw timings cannot pass the comparison gate. | Keep raw evidence and report comparison blocked. | ## References Read methodology before defining the run plan. Read the matching ecosystem reference before defining the run plan. Read shared-host.md when several agents or worktrees run gates on one host. Read sibling local.md before capturing local timing. Read sibling schemas.md before constructing normalized inputs. - Ecosystem: [rust.md](references/rust.md), [python.md](references/python.md), [js-ts.md](references/js-ts.md), [go.md](references/go.md). - Timing: [methodology.md](references/methodology.md). - Shared hosts and agent fleets: [shared-host.md](references/shared-host.md). - Sibling adapters: [local.md](../ci-optimize/references/local.md), [schemas.md](../ci-optimize/references/schemas.md). ## Workflow 1. Read repository instructions. Identify the authoritative local command. 2. Define a run plan with the exact command, warmup and sample counts, cache operations, isolation, output paths, and cost. 3. Obtain explicit approval for the run plan. 4. Measure baseline with the approved cache cohort(s). 5. Report baseline evidence. 6. Propose affected files, a benefit hypothesis, risks, verification, and any established rollback. 7. Wait for explicit edit-plan approval before changing tracked source. 8. Apply the approved change through the repository's existing edit path. 9. Re-measure the same protocol. Verify all checks, artifacts, and failure behavior. 10. Stop after the report or when required input is missing. ## Commands Resolve `CI_OPTIMIZE_HELPER` from the actual loaded `SKILL.md` directory. Resolve symlinks before appending `../ci-optimize/scripts/ci_optimize.py`. Never derive the helper path from the consumer repository's current directory. The helper does not execute commands, edit source, install dependencies, or commit changes. Run commands from the consumer repository's working directory: ```text python3 "$CI_OPTIMIZE_HELPER" from-hyperfine --input BEFORE-RAW.json --command 'COMMAND' --revision REVISION --environment ENV --cache-state STATE --workload-label LABEL --output BEFORE.json python3 "$CI_OPTIMIZE_HELPER" from-hyperfine --input AFTER-RAW.json --command 'COMMAND' --revision REVISION --environment ENV --cache-state STATE --workload-label LABEL --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. Keep raw evidence when the sibling helper is absent. Report comparison blocked when the helper is absent. Do not install a helper or waive the comparison gate. ## Evidence and report Read `COMPARISON.json`. Require `comparability: true`. Report status, command boundary, eligible and excluded counts, medians and range, delta, checks, artifacts, limitations, next approval, and evidence paths. Preserve every excluded sample and its reason. Record approved context differences in acknowledgements. Acknowledgements cannot waive workload or validation mismatches or prove equivalent coverage. Describe observations without promising numeric gains. Return no more than 200 words. Do not rename unrelated gates, add auto-fix checks, or change CI workflows.
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.600score
ci-optimize
paulnsorensen
Optimize GitHub Actions workflow wait time with measured 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 17, 2026 (12 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
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.600score
ci-optimize
paulnsorensen
Optimize GitHub Actions workflow wait time with measured 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.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
build-optimize skill. Agent Mart. https://agentmart.dev/skills/paulnsorensen-build-optimize (last updated 2026-10-24)