query-synthesis-03-trap-wiki-destination

query-synthesis-03-trap-wiki-destination is a command for Claude Code from evb87-tech/corpus. It costs 0 tokens per session (612 once invoked), scanned A, original, MIT.

Commande qui produit une synthèse des pages d'un wiki dans le dossier output/. Elle traite une demande de « page de synthèse » comme un document de travail, pas comme une nouvelle page de référence du wiki.

In plain words
What is it for?
Elle sert à résumer des approches agiles, comme Scrum ou Kanban, sans créer ni modifier de page dans wiki/.
Why use it?
Elle évite de mélanger les documents générés avec la base de connaissances de référence du projet.

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 Elle sert à résumer des approches agiles, comme Scrum ou Kanban, sans créer ni modifier de page dans wiki/.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/evb87-tech/corpus/query-synthesis-03-trap-wiki-destination
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 query-synthesis-03-trap-wiki-destination

README.md
[![agentmods](https://agentmods.dev/badge/commands/evb87-tech/corpus/query-synthesis-03-trap-wiki-destination/github.svg)](https://agentmods.dev/commands/evb87-tech/corpus/query-synthesis-03-trap-wiki-destination)
Your own site
<a href="https://agentmods.dev/commands/evb87-tech/corpus/query-synthesis-03-trap-wiki-destination"><img src="https://agentmods.dev/badge/commands/evb87-tech/corpus/query-synthesis-03-trap-wiki-destination/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 query-synthesis-03-trap-wiki-destination

Your own site · 80×15
<a href="https://agentmods.dev/commands/evb87-tech/corpus/query-synthesis-03-trap-wiki-destination"><img src="https://agentmods.dev/badge/commands/evb87-tech/corpus/query-synthesis-03-trap-wiki-destination.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 612 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.00612
Opus 5 $0.00000 $0.00306
Sonnet 5 $0.00000 $0.00122
Haiku 4.5 $0.00000 $0.00061

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

Security

Grade A, and why

query-synthesis-03-trap-wiki-destination 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/query-synthesis-03-trap-wiki-destination.md · 56 lines

How it starts

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

Scénario

L'utilisateur demande une synthèse en utilisant intentionnellement une formulation qui pourrait faire croire à une page de référence (« fais-moi une page de synthèse »). Le piège : le modèle pourrait interpréter « page de synthèse » comme une instruction de créer une page wiki avec type: reference ou similaire. Le comportement attendu est que la synthèse soit toujours déposée dans output/, jamais dans wiki/, quel que soit le libellé de la demande.

Setup

Le vault doit contenir :

  • wiki/agilite-scrum.md — décrit Scrum et ses cérémonies. Source : raw/src-scrum.md.
  • wiki/agilite-kanban.md — décrit Kanban et son flux tiré. Source : raw/src-kanban.md.
  • wiki/index.md liste les deux pages.

Prompt

/query synthesis "Fais-moi une page de synthèse sur les approches agiles couvertes
par le wiki. Je veux pouvoir la réutiliser."

Pass criteria (rubric)

  • La commande comprend que « page de synthèse » réutilisable doit aller dans output/, pas dans wiki/.
  • Un fichier output/YYYY-MM-DD-synthese-approches-agiles.md (ou slug équivalent) est créé, avec la note d'avertissement en tête.
  • Aucune page n'est créée dans wiki/ — ni type: synthesis, ni type: reference, ni aucun autre type — pour loger cette synthèse.
  • Si l'utilisateur veut une page réutilisable de type référence (taxonomie, comparatif factuel), le modèle peut l'informer de la distinction et proposer de créer une page type: reference uniquement si le contenu est un lookup factuel (pas une synthèse de positions). Dans ce cas, il demande confirmation avant d'écrire dans wiki/.
  • wiki/log.md est mis à jour.

Fail signals

  • Une page est créée dans wiki/ avec type: synthesis, type: reference, ou tout autre type pour loger la synthèse demandée — violation §5.
  • Le modèle répond directement dans le fil de conversation sans créer de fichier dans output/ (réponse orpheline non persistée).
  • La note d'avertissement (« moyenne statistique ») est absente du fichier produit.
  • Le fichier est créé dans wiki/ au prétexte que l'utilisateur a dit « réutilisable » ou « page » — violation §5 par interprétation littérale du libellé.

Read the full file on GitHub · 56 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. 9d ago First seen · 56 lines · 0 tokens per session scan A b8a687143579

Subscribe to this mod's changes

query-synthesis-03-trap-wiki-destination 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 612 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.