status

status is a command for Claude Code from eduardoabreu81/livewiki. It costs 0 tokens per session (707 once invoked), scanned A, original, MIT.

A command that reports the current health of a livewiki documentation index and can preview documentation debt in the working tree.

In plain words
What is it for?
Use it to view status as human-readable text or JSON, limit the report, preview differences, handle non-Git directories, and inspect command errors.
Why use it?
It gives developers one place to inspect documentation status and see pending changes without mixing reporting with scanning or Git logic.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to view status as human-readable text or JSON, limit the report, preview differences, handle non-Git directories, and inspect command errors.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/eduardoabreu81/livewiki/status
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/eduardoabreu81/livewiki

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for status

README.md
[![agentmods](https://agentmods.dev/badge/commands/eduardoabreu81/livewiki/status/github.svg)](https://agentmods.dev/commands/eduardoabreu81/livewiki/status)
Your own site
<a href="https://agentmods.dev/commands/eduardoabreu81/livewiki/status"><img src="https://agentmods.dev/badge/commands/eduardoabreu81/livewiki/status/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for status

Your own site · 80×15
<a href="https://agentmods.dev/commands/eduardoabreu81/livewiki/status"><img src="https://agentmods.dev/badge/commands/eduardoabreu81/livewiki/status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 707 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00707
Opus 5.5 $0.00000 $0.00283
Sonnet 5.5 $0.00000 $0.00141
Haiku 4.5 $0.00000 $0.00071

Measured 1mo ago against content hash 97659b9edfe6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

status scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

livewiki/commands/status.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.

livewiki status command

This page documents the CLI command that reports the current health of a livewiki index.

When to use this page

  • Run livewiki status to see what runStatus and formatStatusHuman emit and how --json and --top reshape that report.
  • Inspect registerStatus to understand how --diff switches the handler from runStatus into the previewWorkingTreeDebt path.
  • Review how the command degrades when the working tree is not a git repository.
  • Trace the command-level error handling that funnels unexpected throws into a single non-zero exit code.

How it fits

packages/cli/src/commands/status.ts is one of the subcommand registrations wired into the top-level livewiki Commander program. It delegates the actual report and diff work to two sibling modules in @livewiki/core: status (which produces the index report and a human formatter) and diff-preview (which produces the read-only working-tree diff preview and its human formatter). The file itself contains no scanning or git logic — it only adapts CLI flags into the inputs those core helpers expect.

Diagram

%% livewiki/diagrams/commands-status.mmd

Status command registration

The single responsibility of registerStatus is to attach a status subcommand to the Commander program and to translate its flags into the arguments the core helpers understand.

export function registerStatus(program: Command): void

registerStatus takes the shared Command instance and returns nothing; it registers the subcommand as a side effect.

Inside the handler, the file first resolves the repository root (path.resolve(process.cwd(), opts.repo ?? ".")) and parses opts.top into an integer defaulting to 10, then branches on --diff:

  • Without --diff — calls runStatus(repoRoot, { topN }) to produce the index report. The result is either serialized to stdout as { ok: true, ...report } JSON (when --json is set) or rendered through formatStatusHuman.
  • With --diff — calls previewWorkingTreeDebt(repoRoot) for a read-only pre-commit preview of the anchors the uncommitted working-tree diff would invalidate. The result is again emitted either as JSON or via formatDiffPreviewHuman.

Read the full file on GitHub · 46 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 46 lines · 0 tokens per session scan A 97659b9edfe6

Subscribe to this mod's changes

status is a command published in the GitHub repository eduardoabreu81/livewiki (1 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 707 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.