Unzip Crx

Extract Chrome extension (.crx) files. Use when user needs to unzip, extract, or decompress a .crx file. Handles Chrome's special crx headers that standard unzip tools cannot process.

majiayu000 Updated 567 repo stars

File contents

Unzip CRX

Extract Chrome extension (.crx) files to a specified directory.

Usage

Run the script with the crx file path:

node ~/.claude/skills/unzip-crx/scripts/unzip-crx.mjs <crx-file-path> [destination]

Parameters:

  • crx-file-path: Path to the .crx file (required)
  • destination: Output directory (optional, defaults to a folder named after the crx file in the same directory)

Examples

Extract to default location (creates folder next to crx file):

node ~/.claude/skills/unzip-crx/scripts/unzip-crx.mjs /path/to/extension.crx
# Output: /path/to/extension/

Extract to specific directory:

node ~/.claude/skills/unzip-crx/scripts/unzip-crx.mjs /path/to/extension.crx /output/dir

Notes

  • The script auto-installs @tomjs/unzip-crx npm package on first run
  • Requires Node.js installed on the system

majiayu000/claude-skill-registry-data/tree/main/development/unzip-crx commit 3781437aca

Frequently asked questions

npx skillmds@latest add majiayu000/unzip-crx