verify

A command procedure that runs LibrAIum's complete verification pipeline. The pipeline checks data, builds the frontend, runs Rust and JavaScript tests, and performs the project's other required validation stages.

In plain words
What is it for?
Use it after changes to run all verification stages, investigate failures, fix their causes, and repeat the full pipeline until it passes.
Why use it?
It provides one repeatable way to find failures across the whole project instead of checking only the part that was edited.

Command for Claude Code

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/nel-neru/libraium/verify
Clone the repo
git clone --depth 1 https://github.com/nel-neru/LibrAIum

Made for: Claude Code.

Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 815 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.00020 $0.00815
Opus 5 $0.00010 $0.00407
Sonnet 5 $0.00004 $0.00163
Haiku 4.5 $0.00002 $0.00081

Measured yesterday against content hash 0a90f967dfea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

verify 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 yesterday.

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.

.claude/commands/verify.md · 33 lines

How it starts

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

Run LibrAIum's complete verification pipeline and iterate until it passes.

How to run

export PATH="/opt/homebrew/bin:$PATH"   # cargo lives here (Homebrew Rust)
bash scripts/verify-all.sh

Run it from the repo root. If a stage fails: read the failure output, find the root cause in the source, fix it, and re-run the whole script. Repeat until all stages pass. Do not stop at the first green re-run of a single stage — the script must complete end-to-end.

The six stages

  1. validate-datanode scripts/validate-data.mjs --data-dir data. Lints every file under data/entries/**/*.md plus data/master/categories.yaml: frontmatter parses, required fields present (github_url, full_name, category), enums valid (status: active|stale|archived, source: manual|mcp|x-collection), category matches an id in the category master, and the filename matches slugify(full_name).
  2. cargo testcd src-tauri && cargo test. All core Rust logic (frontmatter, store, search, github, gitops, settings). Note: Tauri's generate_context! embeds dist/; verify-all.sh handles this automatically by running the frontend build before cargo test when dist/ is missing (stages 2 and 3 swap on a fresh clone). A raw cargo test outside the script still needs npm run build first.
  3. vite build + frontend unit testsnpm run build && npm test. Frontend production build (catches Svelte 5 compile errors and broken imports), then node --test tests/*.test.mjs — currently the markdown-renderer hardening tests: entry bodies are untrusted, so raw HTML must be escaped and unsafe link schemes stripped.
  4. mcp testscd mcp-server && npm test. Unit tests for lib/store.js and lib/suggest.js, then the stdio smoke test exercising all four tools (search_repos, get_repo_details, suggest_for_new_project, add_repo) end to end.
  5. conformancenode scripts/conformance.mjs. Feeds shared fixtures AND a function corpus (slugify/normalizeGithubUrl) through BOTH data-format implementations — Rust (src-tauri/src/frontmatter.rs, store.rs) and Node (mcp-server/lib/store.js) — and diffs the results. A failure here means the two implementations drifted apart.
  6. app binary buildcd src-tauri && cargo build --bin libraium. The only stage that builds the REAL application binary; catches startup/bundle wiring regressions that tests alone miss (a broken bare cargo run once passed stages 1–5).

Read the full file on GitHub · 33 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. yesterday First seen · 33 lines · 20 tokens per session scan A 0a90f967dfea

Subscribe to this mod's changes

verify is a command published in the GitHub repository nel-neru/LibrAIum (0 stars, last pushed 5d ago), licensed MIT. It adds 20 tokens to every session and 815 once invoked, about $0.0001 per session on Opus 5. 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.