CLI Reference

The reference below is generated from the installed command group.

scitex-live-paper

scitex-live-paper (v0.5.2) — Emit a static live-paper site from an accepted bundle.

The M1 end-to-end loop: load an accepted manuscript bundle and emit a self-contained static site (viewer + claims + DAG + landing page + vendored assets) that opens straight from file:// — no server required. All claim / DAG semantics come from the bundle and, optionally, an evidence provider (see docs/evidence-provider-contract.md); this CLI never invents or validates fields.

Usage

scitex-live-paper [OPTIONS] [COMMAND] [ARGS]...

Options

--help-recursive

Show help for every subcommand, flattened.

--json

Emit machine-readable JSON (the command tree for the top level).

-V, --version

Show the version and exit.

Config resolution: –config PATH (explicit flag wins when the command accepts one) $SCITEX_LIVE_PAPER_CONFIG (environment override) <project>/.scitex/live-paper/config.yaml (project scope) ~/.scitex/live-paper/config.yaml (user scope)

dev

Package developer maintenance.

Usage

scitex-live-paper dev [OPTIONS] COMMAND [ARGS]...

skills

View package skills (workflow-oriented guides).

Usage

scitex-live-paper dev skills [OPTIONS] [COMMAND] [ARGS]...
export

Export this package’s skills to <dest>.

Usage

scitex-live-paper dev skills export [OPTIONS]

Options

--dest <dest>

Destination dir (default: ~/.claude/skills/scitex/).

--source <source>

Which source to export from.

Options:

package | dev | auto

--clean

Delete pkg subdir first.

--dry-run

Preview without writing.

-y, --yes

Skip confirmation when overwriting.

--json

JSON output

Examples: $ {prog} skills export Export to the default dest. $ {prog} skills export –dest /tmp/skills Export to a custom dest. $ {prog} skills export –dry-run –json Preview as structured JSON.

export

Export this package’s skills to <dest>.

Usage

scitex-live-paper dev skills export [OPTIONS]

Options

--dest <dest>

Destination dir (default: ~/.claude/skills/scitex/).

--source <source>

Which source to export from.

Options:

package | dev | auto

--clean

Delete pkg subdir first.

--dry-run

Preview without writing.

-y, --yes

Skip confirmation when overwriting.

--json

JSON output

Examples: $ {prog} skills export Export to the default dest. $ {prog} skills export –dest /tmp/skills Export to a custom dest. $ {prog} skills export –dry-run –json Preview as structured JSON.

get

Show a specific skill page.

Usage

scitex-live-paper dev skills get [OPTIONS] [SKILL_NAME]

Options

--json

JSON output

--owner <owner>

Owning distribution from skill discovery

Arguments

SKILL_NAME

Optional argument

Examples: $ {prog} skills get List available skills. $ {prog} skills get python-scitex Show one skill. $ {prog} skills get python-scitex –json Skill as JSON.

list

List available skill pages.

Usage

scitex-live-paper dev skills list [OPTIONS]

Options

--json

JSON output

Examples: $ {prog} skills list Human-readable list. $ {prog} skills list –json Structured JSON.

export-review

Export the registered-claim review packet (JSON or text).

Builds the review packet (scitex-live-paper.review-packet v1) — every registered claim with its evidence state, reason, source, locator and minimal evidence graph, needs-inspection first — from an evidence report or an installed evidence provider. The same packet the rendered site is built from.

Usage

scitex-live-paper export-review [OPTIONS] [BUNDLE_PATH]

Options

--evidence-report <evidence_report>

Evidence report JSON a provider produced (contract scitex-live-paper.evidence-report v1).

--evidence-provider <evidence_provider>

Installed evidence provider (entry-point name, port ‘evidence’). Omit with –evidence-root to use the only installed one.

--evidence-root <evidence_root>

Project the evidence provider assesses (default: the bundle directory).

--format <fmt>
Options:

json | text

--out <out_path>

Write here instead of stdout.

--dry-run

Build the packet and report what would be written; write nothing.

-y, --yes

Overwrite an existing –out file without asking.

Arguments

BUNDLE_PATH

Optional argument

Examples: $ {prog} export-review –evidence-report report.json –out review.json Packet from a provider’s report file. $ {prog} export-review bundle/ –evidence-root proj/ –format text Plain-text packet from the installed provider.

hub-manifest

Print the scitex-hub workspace manifest as JSON.

Hub-side wrapper apps (e.g. apps/workspace/live_paper_app/manifest.json) can regenerate the file via redirect. The output is the v2.0.0 hub workspace UI shape — derived from scitex_live_paper.HUB_APP_MANIFEST. Default formatting is indented + sort_keys=True so successive runs produce stable, review-friendly diffs.

Usage

scitex-live-paper hub-manifest [OPTIONS]

Options

--label <label>

Override workspace tile title (default: HUB_APP_MANIFEST display_name).

--subtitle <subtitle>

Override short tagline (default: first sentence of description).

--schema-version <schema_version>

Hub manifest schema_version to declare.

Default:

'2.0.0'

--compact

Emit single-line JSON (default: indented + sorted for stable VCS diffs).

Examples: $ {prog} hub-manifest > manifest.json Regenerate the wrapper manifest. $ {prog} hub-manifest –compact | head -c 200 Single-line JSON for piping.

info

Print a one-screen sanity summary of a bundle.

Operator-facing pre-flight check: load the bundle (without rendering anything) and report claim count + status palette, paper_state stage + journal + DOI + pinned_commit, manuscript filename, whether the DAG is embedded, and the claims.json schema version. Pass –json for a stable machine-parseable summary.

Usage

scitex-live-paper info [OPTIONS] BUNDLE_PATH

Options

--json

Emit a JSON object instead of the human-readable summary.

Arguments

BUNDLE_PATH

Required argument

Examples: $ {prog} info bundle/ Human-readable sanity summary. $ {prog} info bundle/ –json | jq .paper_state.stage Machine-readable summary, staged field extraction.

install-shell-completion

Install the static completion drop-in script.

Writes the click-generated completion script once to ~/.scitex/live-paper/runtime/completion/ (cache-file pattern — no per-shell-start subprocess) and prints the installed path. Source that path from your shell rc to enable tab-completion. Idempotent — re-running never rewrites an identical script.

Usage

scitex-live-paper install-shell-completion [OPTIONS]

Options

--shell <shell>

Target shell.

Default:

'bash'

Options:

bash | zsh | fish

--dry-run

Print the target path that would be written; change nothing.

-y, --yes

Proceed without confirmation (this command never prompts anyway).

Examples: $ {prog} install-shell-completion –shell bash Write the bash drop-in script and print its path. $ {prog} install-shell-completion –dry-run Print the target path without writing.

list-python-apis

List the public Python API (scitex_live_paper.__all__).

Verbosity is additive: -v adds signatures, -vv adds docstring summaries, -vvv adds source paths.

Usage

scitex-live-paper list-python-apis [OPTIONS]

Options

-v, --verbose

Add detail (repeatable): -v signatures, -vv summaries, -vvv sources.

--json

Emit the API list as JSON (rich records, independent of -v).

Examples: $ {prog} list-python-apis -v List with signatures. $ {prog} list-python-apis –json Full records as JSON.

mcp

Model Context Protocol server verbs.

Serve the bundle-inspection tools to MCP clients (start) or enumerate them (list-tools). Requires the [mcp] extra.

Usage

scitex-live-paper mcp [OPTIONS] COMMAND [ARGS]...

list-tools

List the MCP tools registered by this package.

Verbosity is additive: -v adds signatures, -vv adds docstring summaries, -vvv adds source paths + arg schemas.

Usage

scitex-live-paper mcp list-tools [OPTIONS]

Options

-v, --verbose

Add detail (repeatable): -v signatures, -vv summaries, -vvv sources+schemas.

--json

Emit the tool list as JSON (rich records, independent of -v).

Examples: $ {prog} mcp list-tools -v List with signatures. $ {prog} mcp list-tools –json Full records as JSON.

start

Launch the MCP server over stdio.

Serves the bundle-inspection tools to MCP clients. Requires the [mcp] extra.

Usage

scitex-live-paper mcp start [OPTIONS]

Options

--dry-run

Print what would happen (transport) and exit 0 without launching.

-y, --yes

Proceed without confirmation (this command never prompts anyway).

Examples: $ {prog} mcp start Serve tools over stdio. $ {prog} mcp start –dry-run Print the launch plan without serving.

print-shell-completion

Print the click-generated completion script to stdout.

Emit the completion script for –shell (default: bash) so it can be eval’d or redirected into an rc file.

Usage

scitex-live-paper print-shell-completion [OPTIONS]

Options

--shell <shell>

Target shell.

Default:

'bash'

Options:

bash | zsh | fish

Examples: $ {prog} print-shell-completion –shell bash Print the bash script. $ {prog} print-shell-completion –shell zsh Print the zsh script. $ eval “$({prog} print-shell-completion –shell bash)” Activate it in the current shell.

render

Render a bundle into a self-contained static site.

Loads the accepted manuscript bundle and emits viewer + claims + DAG + landing page plus vendored assets under –out. Existing pages are overwritten — the render is idempotent.

Usage

scitex-live-paper render [OPTIONS] BUNDLE_PATH

Options

--out <out_dir>

Required Output directory for the generated static site.

--title <title>

Optional shared page title (defaults to ‘Live Paper’).

--project-label <project_label>

Optional project name shown as static text in the SDK header project slot (static export has no project provider).

--evidence-report <evidence_report>

Evidence report JSON a provider produced (contract scitex-live-paper.evidence-report v1).

--evidence-provider <evidence_provider>

Installed evidence provider (entry-point name, port ‘evidence’). Omit with –evidence-root to use the only installed one.

--evidence-root <evidence_root>

Project the evidence provider assesses (default: the bundle directory).

Arguments

BUNDLE_PATH

Required argument

Examples: $ {prog} render bundle/ –out site/ Render into site/. $ {prog} render bundle/ –out site/ –title ‘My Paper’ Render with a shared page title.

serve

Run the standalone Django dev server pinned to a bundle.

Requires the [server] extra. The viewer mounts at / and the catch-all API dispatcher mounts at /<endpoint> (e.g. /api/ping, /api/bundle-info).

Usage

scitex-live-paper serve [OPTIONS] BUNDLE_PATH

Options

--host <host>

Interface to bind the dev server to.

Default:

'127.0.0.1'

--port <port>

Port to bind the dev server to.

Default:

8765

Arguments

BUNDLE_PATH

Required argument

Examples: $ {prog} serve bundle/ Serve on 127.0.0.1:8765. $ {prog} serve bundle/ –host 0.0.0.0 –port 8000 Serve on all interfaces, port 8000.

validate

Run a fuller pre-flight check than info.

On top of bundle.load()’s syntactic checks, validate runs claim integrity (duplicate claim_ids, known lifecycle statuses, hex-shaped source_hashes) and PaperState sanity (accepted/published stages need a pinned_commit). Reports every issue as <file>: <reason>; exits 0 on clean, non-zero (issue count) otherwise.

Usage

scitex-live-paper validate [OPTIONS] BUNDLE_PATH

Arguments

BUNDLE_PATH

Required argument

Examples: $ {prog} validate bundle/ Check before render or serve. $ {prog} validate bundle/; echo $? Count issues via the exit code.