check-01-happy

check-01-happy is a command for coding agents from evb87-tech/corpus. It costs 0 tokens per session (557 once invoked), scanned A, original, MIT.

A test scenario for checking that a knowledge wiki is healthy. A wiki is a set of linked pages; the check verifies page metadata, links, indexes, and unused pages.

In plain words
What is it for?
Use it to test the check command against a wiki with valid pages, sources, links, and history, and confirm that it produces a clean report.
Why use it?
It helps detect missing links, invalid page details, outdated indexes, and pages that nothing else links to.

Command

Part of the corpus-core plugin — 23 commands, 3 agents shipped together

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/evb87-tech/corpus/check-01-happy
Clone the repo
git clone --depth 1 https://github.com/evb87-tech/corpus

Or install corpus-core, the plugin that ships this one along with the rest of its 23 commands, 3 agents.

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 check-01-happy

README.md
[![agentmods](https://agentmods.dev/badge/commands/evb87-tech/corpus/check-01-happy.svg)](https://agentmods.dev/commands/evb87-tech/corpus/check-01-happy)
Your own site
<a href="https://agentmods.dev/commands/evb87-tech/corpus/check-01-happy"><img src="https://agentmods.dev/badge/commands/evb87-tech/corpus/check-01-happy.svg" alt="Measured on agentmods" 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 557 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.00557
Opus 5 $0.00000 $0.00279
Sonnet 5 $0.00000 $0.00111
Haiku 4.5 $0.00000 $0.00056

Measured 4d ago against content hash 6add29c867ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

check-01-happy 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 4d 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.

corpus-core/evals/commands/check-01-happy.md · 59 lines

How it starts

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

Scénario

Le wiki est dans un état sain : toutes les pages ont un frontmatter valide, les liens [[wikilinks]] pointent vers des pages existantes, index.md est à jour et aucune page n'est orpheline. La commande /check doit produire un rapport propre et mettre à jour wiki/log.md. Elle ne doit rien modifier dans le wiki au-delà du log.

Setup

Le vault doit contenir un wiki minimal mais cohérent :

  • wiki/index.md — liste toutes les pages présentes.
  • wiki/discovery-produit.md — frontmatter valide (type, sources, last_updated), un lien sortant [[wiki/interview-utilisateur]], pas de lien mort.
  • wiki/interview-utilisateur.md — frontmatter valide, lien entrant depuis wiki/discovery-produit.md.
  • wiki/log.md — au moins une entrée historique.
  • Les deux fichiers raw/ correspondants aux sources: existent.

Prompt

/check

Pass criteria (rubric)

  • Le librarian inspecte toutes les pages de wiki/.
  • Le rapport final liste :
    • Liens brisés : 0
    • Pages orphelines : 0
    • Pages ultra-connectées (> 20 liens entrants) : 0
    • Pages stales : 0 (ou liste explicite si certaines dépassent 6 mois)
    • wiki/index.md : synchronisé
    • Violations frontmatter : 0
  • Une ligne de résumé est ajoutée dans wiki/log.md.
  • Aucune page wiki n'est modifiée (le check est read-only sauf pour log.md).
  • Le rapport identifie 3 à 5 questions ouvertes (concepts sans page dédiée ou lacunes de contenu) — même dans un wiki sain, quelques investigations sont proposées.

Fail signals

  • Le librarian modifie une page wiki pour corriger une erreur (il doit signaler, pas corriger) — seul wiki/log.md peut être modifié.
  • Le rapport ne mentionne pas les pages consultées.
  • wiki/log.md n'est pas mis à jour.
  • Le rapport ne contient pas de section sur les questions ouvertes ou les investigations suggérées (lint scope Karpathy).
  • Le librarian ne signale pas une page last_updated à plus de 6 mois même si elle existe dans ce vault de test.

Read the full file on GitHub · 59 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. 4d ago First seen · 59 lines · 0 tokens per session scan A 6add29c867ff

Subscribe to this mod's changes

check-01-happy is a command published in the GitHub repository evb87-tech/corpus (1 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 557 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.