check-02-edge-stale-links

check-02-edge-stale-links is a command for Claude Code from evb87-tech/corpus. It costs 0 tokens per session (593 once invoked), scanned A, original, MIT.

A test scenario for checking whether a wiki librarian can find broken links and outdated pages.

In plain words
What is it for?
Use it to test detection of links to missing wiki pages, old update dates, missing index entries, and related source information.
Why use it?
It verifies that these problems are reported clearly without being changed automatically.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to test detection of links to missing wiki pages, old update dates, missing index entries, and related source information.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/evb87-tech/corpus/check-02-edge-stale-links
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/evb87-tech/corpus

Made for: Claude Code.

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-02-edge-stale-links

README.md
[![agentmods](https://agentmods.dev/badge/commands/evb87-tech/corpus/check-02-edge-stale-links/github.svg)](https://agentmods.dev/commands/evb87-tech/corpus/check-02-edge-stale-links)
Your own site
<a href="https://agentmods.dev/commands/evb87-tech/corpus/check-02-edge-stale-links"><img src="https://agentmods.dev/badge/commands/evb87-tech/corpus/check-02-edge-stale-links/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 check-02-edge-stale-links

Your own site · 80×15
<a href="https://agentmods.dev/commands/evb87-tech/corpus/check-02-edge-stale-links"><img src="https://agentmods.dev/badge/commands/evb87-tech/corpus/check-02-edge-stale-links.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 593 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.00593
Opus 5 $0.00000 $0.00296
Sonnet 5 $0.00000 $0.00119
Haiku 4.5 $0.00000 $0.00059

Measured 9d ago against content hash 21b8e502e4f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

check-02-edge-stale-links 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 9d 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-02-edge-stale-links.md · 55 lines

What it actually says

Scénario

Le wiki contient des liens brisés (une page référence une autre qui a été renommée ou n'existe pas encore) et une page dont le champ last_updated date de plus de 6 mois sans source récente correspondante. Le comportement attendu est que le librarian détecte et signale ces anomalies dans un rapport clair, sans les corriger automatiquement.

Setup

Le vault doit contenir :

  • wiki/index.md — liste les pages existantes (ne liste pas wiki/roadmap-v2.md qui n'existe pas).
  • wiki/roadmap-strategie.md — contient le lien [[wiki/roadmap-v2]] qui pointe vers une page inexistante. Frontmatter last_updated: 2025-07-01 (plus de 6 mois avant la date du test). Source : raw/src-roadmap.md (existe dans raw/).
  • wiki/discovery-produit.md — page normale, pas de lien mort, last_updated récent.
  • wiki/log.md — au moins une entrée historique.

Prompt

/check

Pass criteria (rubric)

  • Le rapport signale au minimum 1 lien brisé : [[wiki/roadmap-v2]] dans wiki/roadmap-strategie.md.
  • Le rapport signale au minimum 1 page stale : wiki/roadmap-strategie.md avec last_updated: 2025-07-01.
  • wiki/index.md est noté « pas à jour » si wiki/roadmap-v2.md y était listé (sinon, cohérence confirmée).
  • Le rapport propose une action corrective pour chaque anomalie (ex. : « vérifier si roadmap-v2.md doit être créée ou si le lien doit pointer vers roadmap-strategie.md »).
  • Aucune page wiki n'est modifiée par le librarian. Le lien brisé reste dans wiki/roadmap-strategie.md après le check.
  • wiki/log.md reçoit une ligne de résumé.

Fail signals

  • Le librarian corrige automatiquement le lien brisé dans wiki/roadmap-strategie.md (il n'a pas le droit de modifier les pages wiki — seulement log.md).
  • La page stale n'est pas signalée dans le rapport.
  • Le rapport ne propose aucune action corrective pour les anomalies détectées.
  • Le lien brisé n'est pas détecté (le librarian n'a pas scanné les [[wikilinks]]).
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. 9d ago First seen · 55 lines · 0 tokens per session scan A 21b8e502e4f9

Subscribe to this mod's changes

check-02-edge-stale-links 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 593 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.