better-sqlite3-rebuild
Use when seeing errors about better-sqlite3 native module, NODE_MODULE_VERSION mismatch, "was compiled against a different Node.js version", or similar native binding errors.
How do I install this agent skill?
npx skills add https://github.com/mattpocock/ai-engineer-workshop-2026-project --skill better-sqlite3-rebuildIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill automates the fix for native module errors by running 'npm rebuild' but instructs the agent to bypass user confirmation, which reduces human oversight of shell command execution.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
better-sqlite3 Rebuild
When you encounter errors related to better-sqlite3 and Node.js version mismatches (e.g. NODE_MODULE_VERSION mismatch, "was compiled against a different Node.js version", native module load failures), proactively fix by running:
npm rebuild
Do this without asking the user first - just rebuild and retry.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/mattpocock/ai-engineer-workshop-2026-project/better-sqlite3-rebuild">View better-sqlite3-rebuild on skillZs</a>