Qompack installs six slash commands. Each one shells out to the qompack
binary, so /qompack:status and qompack status are the same code and cannot
drift apart.
There is no checkpoint command. Qompack writes a checkpoint automatically before every compaction, and periodically during a session; a manual checkpoint is not offered yet (cannot-do.md).
Every command accepts --json, which emits a versioned envelope instead of text,
and --help. Exit codes follow 00-ARCHITECTURE.md §2.3: 0 success, 2 a
malformed invocation, 1 anything else.
A non-zero exit reaches you as the host's own error line. A slash command runs
qompack through Claude Code's ! shell expansion. When it exits non-zero, Claude
Code does not pass the command's output to the model: it shows only its own
Shell command failed for pattern "!`qompack …`": [stderr] … line, with stdout
and stderr together under that label, and the turn ends without an answer
(observed on Claude Code 2.1.280). /qompack:eval in a project with no evaluation
artifacts, and /qompack:recall with no query, look like that. Run the same
qompack command in a terminal to see its full message and exit code.
Commands only you run. /qompack:status, /qompack:recall, /qompack:why, /qompack:dropped and /qompack:eval carry
disable-model-invocation: true, so Claude Code leaves them out of the model's
command list and Claude does not see or run them on its own.
| Command | Subcommand | Arguments | Description |
|---|---|---|---|
/qompack:status |
qompack status |
[--json] |
Qompack status — mode, contracts, store, latency |
/qompack:recall |
qompack recall |
<query> [--k N] |
Search stored tool output and file versions |
/qompack:pin |
qompack pin |
<text> |
Pin an invariant to re-inject after each compaction (9,500-char cap; the host summary may still drop it) |
/qompack:why |
qompack why |
<decision-id> |
Explain a recorded decision and its evidence |
/qompack:dropped |
qompack dropped |
[--json] |
Show what the last compaction dropped and how to restore it |
/qompack:eval |
qompack eval |
[--corpus <path>] |
Show the latest replay and live eval results |
Qompack status — mode, contracts, store, latency
qompack status — Qompack status — mode, contracts, store, latency
usage: qompack status [--json]
/qompack:status [--json]
flags:
--json emit the stable JSON envelope instead of text
Allowed tools: Bash(qompack status:*)
Search stored tool output and file versions
qompack recall — Search stored tool output and file versions
usage: qompack recall <query> [--k N]
/qompack:recall <query> [--k N]
flags:
--json emit the stable JSON envelope instead of text
--k <N> return at most N results
Allowed tools: Bash(qompack recall:*)
Pin an invariant to re-inject after each compaction (9,500-char cap; the host summary may still drop it)
qompack pin — Pin an invariant to re-inject after each compaction (9,500-char cap; the host summary may still drop it)
usage: qompack pin <text>
/qompack:pin <text>
flags:
--json emit the stable JSON envelope instead of text
--list list the pins in scope instead of adding one
--remove <id> remove the pin with this id
--source <who> record the pin as user or agent authority (default user)
--eliminated record an eliminated approach instead of an invariant
--target <text> with --eliminated: what the approach was applied to
--approach <text> with --eliminated: what was tried
--reason <text> with --eliminated: why it did not work
--depends-on <paths> with --eliminated: comma-separated paths the finding rests on
--scope <scope> with --eliminated: session or project
Allowed tools: Bash(qompack pin:*)
Explain a recorded decision and its evidence
qompack why — Explain a recorded decision and its evidence
usage: qompack why <decision-id>
/qompack:why <decision-id>
flags:
--json emit the stable JSON envelope instead of text
Allowed tools: Bash(qompack why:*)
Show what the last compaction dropped and how to restore it
qompack dropped — Show what the last compaction dropped and how to restore it
usage: qompack dropped [--json]
/qompack:dropped [--json]
flags:
--json emit the stable JSON envelope instead of text
Allowed tools: Bash(qompack dropped:*)
Show the latest replay and live eval results
qompack eval — Show the latest replay and live eval results
usage: qompack eval [--corpus <path>]
/qompack:eval [--corpus <path>]
flags:
--json emit the stable JSON envelope instead of text
--corpus <path> read a live-eval run, a directory of runs, or a replay report
Allowed tools: Bash(qompack eval:*)