Skip to content
Development
Command

/archive

Bundle the finished John workspace (PLAN.md, CLAUDE.md, AGENTS.md, .john/, .claude/skills/, .agents/skills/) into a release zip. Use when the user says "archive this project", "package it up", "we're done", or you've completed an end-to-end run and want a portable bundle.

From plugin
joharnessburg
85 skills5 agents5 commands
Install
$ npx -y skills add kitchen-engineer42/joharnessburg --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/archive

Context preview

What this command does when you run it.

Bundle the finished John workspace (PLAN.md, CLAUDE.md, AGENTS.md, .john/, .claude/skills/, .agents/skills/) into a release zip. Use when the user says "archive this project", "package it up", "we're done", or you've completed an end-to-end run and want a portable bundle.

Command definition

archive.md
description: Bundle the finished John workspace (PLAN.md, CLAUDE.md, AGENTS.md, .john/, .claude/skills/, .agents/skills/) into a release zip. Use when the user says "archive this project", "package it up", "we're done", or you've completed an end-to-end run and want a portable bundle. Excludes git/__pycache__/node_modules cruft.
argument-hint: "[label] [--output PATH] [--force]"

When this command fires:

1. Parse the user's argument. The first positional (if any) is a label for the archive (used in the default filename). `--output <path>` overrides the default location. `--force` allows overwriting an existing file.

2. Invoke the archive script via Bash:

   python3 "${CLAUDE_PLUGIN_ROOT}/scripts/archive_workspace.py" <user-args>

3. The script returns JSON with `archive_path`, `file_count`, and `size_bytes`. Tell the user the zip is ready at the path, with the file count and size. If the user asked for the archive in the context of "we're done", consider also offering to run `/john:status` for a final inventory check before they ship.

4. On `success: false` with "No .john/ directory found", tell the user there's no workspace to archive — they need `/john:init` first.

The archive is suitable for handing to teammates, attaching to a release, or stashing for posterity. It does NOT include `.git/`, `node_modules/`, `__pycache__/`, `*.pyc`/`*.pyo`, or `.DS_Store` — only the durable John artifacts plus the produced skills.

Read more
Ships withjoharnessburg

中文版: README_ZH.md John turns unstructured source material into a working knowledge-dense app. It keeps knowledge engineering and app building in one durable run, coordinates large per-entry fan-outs, and leaves auditable events and checkpoints on disk.

Get the whole plugin, auto-invoked
Stats
8
Stars
0
Views
1
Forks
Active
Maintenance
Python
Language
MIT
License
29d ago
Last commit
2mo ago
Created

Repo: kitchen-engineer42/joharnessburg