/github-publish-zip:github-publish-zipfrom github-publish-zip
Creates a ZIP archive from a Git worktree for GitHub publication, respecting .gitignore and user ignore rules while excluding .git metadata. Supports configurable compression backends (zip, 7z, Python zipfile).
Ships in github-publish-zip. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use scripts/pack_github_publish_zip.py from this skill. Prefer passing the target project path explicitly:
python3 /path/to/github-publish-zip/scripts/pack_github_publish_zip.py /path/to/project
Run a dry run first when the target repository is large or the user asks to inspect scope:
python3 /path/to/github-publish-zip/scripts/pack_github_publish_zip.py /path/to/project --dry-run --list-files
The script:
git ls-files --cached --others --exclude-standard --deduplicate..gitignore, .git/info/exclude, and user/global Git ignore rules..git metadata, the output archive, and the configured output directory contents.local/ directory when needed.<project-name>-YYYYMMDD-hhmm.zip under local/.Default priority is:
zip,7z,python
This means: use system zip -9 first, then system 7z, then Python zipfile as the last fallback.
For maximum compression preference, use:
python3 /path/to/github-publish-zip/scripts/pack_github_publish_zip.py /path/to/project --max-compression
--max-compression changes the default priority to:
7z,zip,python
To make the priority explicit, pass:
python3 /path/to/github-publish-zip/scripts/pack_github_publish_zip.py /path/to/project --backend-priority 7z,zip,python
Do not use git archive for this workflow; it does not include untracked publishable files or unstaged working tree content. Do not manually glob the filesystem because that bypasses Git ignore rules.
Do not silently hide backend fallback. The script must report the selected backend and any unavailable higher-priority backends in normal or JSON output.
If the minute-based archive already exists, the script stops by default. Use --force only when the user accepts overwriting that local archive.
After creating an archive, report the archive path, included file count, and selected backend from the script output. Inspect archive contents before calling it done, using whichever tool is available:
unzip -l /path/to/project/local/project-YYYYMMDD-hhmm.zip
# or
7z l /path/to/project/local/project-YYYYMMDD-hhmm.zip
Confirm that no path starts with .git/. If the dry run or creation reports skipped missing tracked files, mention that the worktree has tracked paths missing on disk.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub blueskyxn/codex-is-all-you-need --plugin github-publish-zipOther plugins' skills for the same job