baseline

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

A command-line interface for managing LiveWiki baselines. A baseline is a versioned record showing that documented content for a code symbol matches the current code version.

In plain words
What is it for?
Use it to inspect baseline status, bootstrap or accept baselines, and manage their locations from a terminal.
Why use it?
It gives a repository a repeatable way to check, create, approve, move, remove, and relocate these records, with error handling and readable output.

Command for Claude Code

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

Good fit Use it to inspect baseline status, bootstrap or accept baselines, and manage their locations from a terminal.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/eduardoabreu81/livewiki/baseline
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 baseline

README.md
[![agentmods](https://agentmods.dev/badge/commands/eduardoabreu81/livewiki/baseline/github.svg)](https://agentmods.dev/commands/eduardoabreu81/livewiki/baseline)
Your own site
<a href="https://agentmods.dev/commands/eduardoabreu81/livewiki/baseline"><img src="https://agentmods.dev/badge/commands/eduardoabreu81/livewiki/baseline/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 baseline

Your own site · 80×15
<a href="https://agentmods.dev/commands/eduardoabreu81/livewiki/baseline"><img src="https://agentmods.dev/badge/commands/eduardoabreu81/livewiki/baseline.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 1,010 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.01010
Opus 5.5 $0.00000 $0.00404
Sonnet 5.5 $0.00000 $0.00202
Haiku 4.5 $0.00000 $0.00101

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

Security

Grade A, and why

baseline 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/baseline.md · 47 lines

How it starts

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

Baseline Management Commands

This page documents the CLI implementation for baseline lifecycle operations, covering subcommand registration, error-safe execution, and human-readable reporting.

When to use this page

  • Understand how the livewiki baseline command family is structured and registered.
  • Trace how each baseline operation (status, bootstrap, accept, move, remove, relocate) invokes the shared execution and error handling path.
  • Learn how human-readable and JSON-formatted output is produced and distinguished.
  • Identify the role of the status formatter in rendering repository-portable baseline health.

How it fits

A "baseline" in livewiki is an explicit, versioned record of evidence that a symbol's documented content matches its current code version. This module is the command-line user interface for baseline lifecycle operations; it sits on top of core functions exported from @livewiki/core/baseline-operations and @livewiki/core/status. The CLI reads global options (like repository root and JSON output preference), invokes the corresponding core operation function, and formats the result for display or machine consumption. This file lives in the packages/cli/src/commands/ directory alongside other command definition pages.

Diagram

%% livewiki/diagrams/commands-baseline.mmd

Command Registration

registerBaseline(program: Command): void is the exported entry point that takes a commander Command instance and attaches the entire baseline command family to it. It creates a baseline subcommand with the description "bootstrap, review, and explicitly advance versioned documentation evidence", then defines each of the six subcommands: status, bootstrap, accept, move, remove, and relocate. For each subcommand, it declares the relevant options via chained .option() calls (with .requiredOption() for mandatory inputs), and wires an action handler. The action handlers read their options — merging them with global options via command.optsWithGlobals<GlobalOptions>() — and call handle, passing the operation name, whether JSON output is requested, and an asynchronous work function that talks to a core operation module. This structure keeps commander-specific wiring at this level while delegating all real work to the core functions.

Read the full file on GitHub · 47 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 · 47 lines · 0 tokens per session scan A 247d28d83b49

Subscribe to this mod's changes

baseline is a command published in the GitHub repository eduardoabreu81/livewiki (1 stars, last pushed 24d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,010 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-09-07.