baseline

A saved record of the issues currently found in a repository. It identifies each finding so later scans can separate existing problems from regressions introduced by new changes.

In plain words
What is it for?
Use it to create or inspect a repository baseline, optionally tied to a Git reference, for later guardrail comparisons.
Why use it?
It lets teams add checks to an older codebase without being blocked by all of its existing issues. Only newly appearing findings need to be treated as regressions.

Command

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.

agentmods
npx agentmods add commands/vyuh-labs/dxkit/baseline
Clone the repo
git clone --depth 1 https://github.com/vyuh-labs/dxkit
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 2,836 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.02836
Opus 5 $0.00000 $0.01418
Sonnet 5 $0.00000 $0.00567
Haiku 4.5 $0.00000 $0.00284

Measured 2d ago against content hash 786b55365941, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

docs/commands/baseline.md · 249 lines

How it starts

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

vyuh-dxkit baseline

Run as: vyuh-dxkit <cmd> after npm install -g @vyuhlabs/dxkit, or npx @vyuhlabs/dxkit <cmd> for one-shot use.

Capture the per-finding identities of every issue dxkit currently surfaces in your repo, and write them to a JSON file under .dxkit/baselines/. The file becomes the "brownfield anchor" the guardrail check command diffs new scans against to decide what is a net-new regression vs. pre-existing debt.

Usage

vyuh-dxkit baseline create [path] [--name <name>] [--force]
                                  [--mode <mode>] [--ref <ref>]
vyuh-dxkit baseline show   [path] [--name <name>] [--baseline <path>]
                                  [--kind <kind>] [--json]

baseline create

Runs every analyzer, fingerprints each finding via the canonical identity helpers, and writes .dxkit/baselines/<name>.json (default <name> is main) — unless --mode=ref-based, in which case no file is written and the guardrail check recomputes the prior side from a git ref on demand.

Option Effect
path Repo root to scan. Defaults to .
--name <n> Baseline name. Multiple baselines can coexist (e.g. main, release-2025-q4). Default main
--force Overwrite an existing baseline file rather than erroring out
--mode <m> Baseline posture: committed-full, committed-sanitized, or ref-based. See "Modes" below
--ref <r> Baseline ref for --mode=ref-based. Default: origin/HEAD (probed via git), falls back to origin/main
--verbose Print per-tool timing to stderr

Read the full file on GitHub · 249 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. 2d ago First seen · 249 lines · 0 tokens per session scan A 786b55365941

Subscribe to this mod's changes

baseline is a command published in the GitHub repository vyuh-labs/dxkit (10 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,836 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.