/boxel-cli:realm-historyfrom boxel-cli
Manages local checkpoint history in .boxel-history/ and controls realm-server indexing. Use to view, create, or restore checkpoints, wait for indexing to finish, or cancel a stuck indexing job.
Ships in boxel-cli. 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.
None: SKILL.md is the whole skill.
Two related concerns under one skill:
boxel realm history — manage local checkpoints stored in .boxel-history/ inside the synced workspace directory. Checkpoints are created automatically by boxel realm sync and can be created manually. Restore rolls the local working tree back to a checkpoint.boxel realm wait-for-ready / boxel realm cancel-indexing — observe and steer the realm-server's indexing pipeline.| Ask | Run |
|---|---|
| "show me the checkpoint history" | boxel realm history <local-dir> |
| "create a manual checkpoint" | boxel realm history <local-dir> -m "Before risky change" |
| "restore to checkpoint #3" | boxel realm history <local-dir> -r 3 |
| "wait until indexing finishes" / "is it done indexing?" | boxel realm wait-for-ready --realm <realm-url> |
| "cancel the current indexing job" / "stop the index" | boxel realm cancel-indexing --realm <realm-url> |
Before a destructive sync, snapshot the local state so you can roll back:
boxel realm history ./local-dir -m "Before bulk delete"
boxel realm sync ./local-dir https://app.boxel.ai/owner/realm/ --prefer-local --delete
boxel realm wait-for-ready --realm https://app.boxel.ai/owner/realm/
# verify; if bad:
boxel realm history ./local-dir -r 1
boxel realm sync ./local-dir https://app.boxel.ai/owner/realm/ --prefer-local
wait-for-ready is the right call before any read that should see the latest writes — including boxel search and boxel file read against newly-pushed content.
cancel-indexing is rarely needed. Use it when an indexing job is wedged on bad input and the user wants to clear the queue before pushing a fix.
Generated from the boxel-cli Commander tree by pnpm build:plugin. Edit prose outside the generated block — never inside it.
boxel realm history <local-dir>View, restore, or create local checkpoints stored under .boxel-history/
Arguments:
<local-dir> — The local workspace directoryOptions:
-r, --restore <ref> — Restore the workspace to a checkpoint (1-based index, short hash, or full hash)-m, --message <message> — Create a manual checkpoint with the given message-y, --yes — Skip the interactive confirmation prompt before --restore--limit <n> — Maximum number of checkpoints to list or consider for --restore (default: 100)boxel realm wait-for-readyPoll a realm readiness-check endpoint until it responds OK or the timeout is reached
Options:
--realm <realm-url> — The realm URL to check--timeout <ms> — Timeout in milliseconds (default: 30000)boxel realm cancel-indexingCancel running indexing jobs for a realm (use --cancel-pending to also cancel queued jobs)
Options:
--realm <realm-url> — URL of the realm to cancel indexing for--cancel-pending — Also cancel queued/pending indexing jobs (default: cancel running only)--json — Output raw JSON responseboxel realm history operates on a local directory (its .boxel-history/), not a realm URL. Don't pass a URL.wait-for-ready polls. On a healthy realm it returns in seconds; on a stuck realm it can hang. If it doesn't return within a minute or two, check the realm-server logs.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub cardstack/boxel --plugin boxel-cli10 skills in this plugin
/boxel-apiUse when calling Boxel realm-server APIs from code — primarily federated search across realms. Documents the boxel-cli programmatic surface (`BoxelCLIClient`) and the matching CLI commands. Read this whenever you need to query a realm's index./boxel-commandUse when running a Boxel host command via the realm server's prerenderer — invoking commands like `get-card-type-schema`, `evaluate-module`, `instantiate-card`, or any other module exposed at `@cardstack/boxel-host/commands/.../default`. Documents `boxel run-command` and the matching `client.runCommand()` method./boxel-file-structureBoxel File Structure RulesFile and directory layout rules for Boxel workspaces. Use when placing .gts definitions or .json instances on disk, choosing module paths in adoptsFrom, or wiring linksTo / linksToMany relationships in JSON. Covers naming conventions, relative module paths, and the linksTo-vs-contains cardinal rule./browser-sign-inSigning a browser inSign a browser into the Boxel app as a boxel-cli profile with `boxel browse`. Use when you or the user need to view, test, or verify the Boxel app in a browser signed in without typing a password — on the environment's own host, a local host, or an origin such as a Railway deployment or custom domain where the email/password area of the sign-in page is blank. Run it on the user's behalf; reach for it before Railway deploys, custom hostnames, or certificates./file-opsFile operationsSingle-file operations against a Boxel realm. Use when the user wants to read, write, list, delete, lint, or touch (force-reindex) one file in a realm by URL — without a full sync./indexing-errorsRealm indexing errorsList every `boxel_index` row in a realm whose latest indexing attempt failed (`has_error = TRUE`), rendered cleanly but holds broken `linksTo` / `linksToMany` targets, indexed but couldn't parse its frontmatter YAML, or indexed a skill whose frontmatter tools failed schema generation. Use to answer "why is this realm broken", "what's failing to index", "which cards have dead references", "why did my skill's commands disappear", or "why isn't my skill's tool callable" without reading the database directly.2 plugins ship this exact skill · first indexed Sep 6, 2026
Other plugins' skills for the same job