ワンクリックで
fix-native-binaries
Background knowledge about npm native binary corruption in Docker sandboxes
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Background knowledge about npm native binary corruption in Docker sandboxes
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Run the project's verification commands before claiming work complete. Use ALWAYS when finishing a task, claiming work done, committing, or creating a PR. Blocks completion until all checks pass.
Create atomic GitHub issues with clear acceptance criteria. Use when breaking down work into single-iteration tasks that can be picked up and completed independently.
Create well-structured GitHub milestones. Use when planning new phases of work that group related issues together.
Laravel invokable controller patterns with Inertia. Use when creating endpoints, adding pages, building CRUD, or when user asks to "create an endpoint", "add a controller", "build a page", "add a store action", "create show page".
Inertia.js page component patterns with TypeScript. Use when creating pages or when user asks to "create a page", "build a component".
Use when taking screenshots, PDFs, or video recordings with agent-browser in a Laravel project. Applies to any visual capture command including screenshot, pdf, and record.
| name | fix-native-binaries |
| description | Background knowledge about npm native binary corruption in Docker sandboxes |
| user-invocable | false |
This sandbox uses file synchronization (not volume mounts) for the workspace directory. The sync layer corrupts native binary files during npm install extraction. This affects all native binaries: esbuild, rollup, tailwindcss oxide, lightningcss, sharp, etc.
An npm wrapper function is active in this sandbox. It automatically:
npm install --ignore-scripts in the workspace (extracts packages, skips postinstall that would crash on corrupted binaries)/home/agent/.npm-shadow/ (gets identical packages with intact binaries)You don't need to do anything special — just run npm install normally and the wrapper handles it.
If you see any of these errors, native binary corruption is the cause:
SIGSEGV — "minpc or maxpc invalid", "panic before malloc heap initialized"SIGILL — Illegal instructionSIGBUS — Bus errorWebAssembly.CompileError — corrupted .wasm filesnpm install postinstall or during buildIf the npm wrapper isn't working or you need to fix binaries manually:
fix-native-binaries /path/to/workspace
This runs the shadow install + symlink process directly.
--ignore-scripts if running npm install manually without the wrapper (e.g., command npm install --ignore-scripts)/home/agent/) are not affected