fix-patches
Diagnose and repair this project's patch-package patches by evaluating only the patch-related steps from scripts/install.nu.
Skill by drew-council
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/drew-council-fix-patches
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
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. Checked Oct 25, 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/fix-patches
What's inside
- Skill name
fix-patches- Description
- Diagnose and repair this project's patch-package patches by evaluating only the patch-related steps from scripts/install.nu.
- License
- MIT
- Instructions
- 43 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: scripts/install.nu
Files (1)
- SKILL.md
SKILL.md (first lines)
# Fix Patches Repair failing `patch-package` patches in this repository. ## Scope Work **only** on the portion of `scripts/install.nu` that evaluates patch-package patches: - The Bun workspace patches in `patches/`, applied to `bun/node_modules/`. - The Pi-managed package patches in `agent/patches/`, applied to `agent/npm/node_modules/` by `apply-agent-npm-patches`. Do not run the complete `scripts/install.nu`. Do not investigate or change authentication, secrets, profiles, Pi updates, package reconciliation, type declarations, or final package listing. ## Workflow 1. Read the patch-related portions of `scripts/install.nu`, plus `bun/package.json`, before acting. Treat those files as the source of truth for paths and commands. 2. Ensure the existing dependency trees needed by patch-package are present. Do not perform unrelated installation or update steps. 3. Evaluate the two patch sets directly, preserving the same working directories and patch directories used by the installer: ```bash cd bun bun ./node_modules/patch-package/index.js --patch-dir ../patches --error-on-fail ``` ```bash cd agent/npm bun ../../bun/node_modules/.bin/patch-package --patch-dir ../patches --error-on-fail ``` 4. For each failure, inspect the failing patch and the installed package version/content. Repair the patch so it preserves the intended project behavior against the currently installed package; do not merely delete a failing hunk or patch. 5. Keep changes limited to patch files unless a minimal patch-related manifest or installer correction is demonstrably required. 6. Re-run both direct patch-package commands after repairs, even if only one patch set changed. 7. Report which patch files changed and the results of both patch evaluations. ## Guardrails - Never run all of `scripts/install.nu` from this skill. - Do not run `pi update --extensions`; patch the package versions already installed. - Do not upgrade, downgrade, add, or remove dependencies just to make a patch apply. - Do not modify package files under `node_modules/` as the final fix; encode the repair in the corresponding patch file. - Preserve the semantic intent of every existing patch. If that intent cannot be determined from the patch and repository context, stop and ask the user rather than discarding behavior.
From drew-council/pi-config, MIT.
More from drew-council/pi-config
- 0.565score
disk-usage
drew-council
Analyze disk usage with `dua` to find what is taking up space.
SkillAFreshness: AClaude Code +9 - 0.561score
google-aip
drew-council
API design guidance, reviews, and design-discovery questions grounded in Google's API Improvement Proposals (google.aip.dev/general).
SkillAFreshness: AClaude Code +9 - 0.561score
transcribe-audio
drew-council
Manually transcribe a spoken-word audio file with OpenAI gpt-transcribe.
SkillAFreshness: AClaude Code +9 - 0.557score
glkvm
drew-council
Manually invoked control of the configured PC through the GLKVM at kvm.home.drewcouncil.com.
SkillAFreshness: AClaude Code +9 - 0.534score
weave
drew-council
Resolves and verifies git merge conflicts with weave, an entity-level semantic merge driver.
SkillAFreshness: AClaude Code +9 - 0.525score
agent-browser
drew-council
Browse and interact with Chromium using agent-browser.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 23, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/drew-council/pi-config
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from drew-council
- 0.565score
disk-usage
drew-council
Analyze disk usage with `dua` to find what is taking up space.
SkillAFreshness: AClaude Code +9 - 0.561score
google-aip
drew-council
API design guidance, reviews, and design-discovery questions grounded in Google's API Improvement Proposals (google.aip.dev/general).
SkillAFreshness: AClaude Code +9 - 0.561score
transcribe-audio
drew-council
Manually transcribe a spoken-word audio file with OpenAI gpt-transcribe.
SkillAFreshness: AClaude Code +9 - 0.557score
glkvm
drew-council
Manually invoked control of the configured PC through the GLKVM at kvm.home.drewcouncil.com.
SkillAFreshness: AClaude Code +9 - 0.534score
weave
drew-council
Resolves and verifies git merge conflicts with weave, an entity-level semantic merge driver.
SkillAFreshness: AClaude Code +9 - 0.525score
agent-browser
drew-council
Browse and interact with Chromium using agent-browser.
SkillAFreshness: AClaude Code +9
Cite this page
fix-patches skill. Agent Mart. https://agentmart.dev/skills/drew-council-fix-patches (last updated 2026-10-24)