원클릭으로
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