wikilink-rules

wikilink-rules is a command for Claude Code from appboypov/pew-pew-plaza-packs. It costs 20 tokens per session (650 once invoked), scanned A, original, MIT.

A set of rules for using wikilinks, which are special links between documents, including how to embed linked content in documentation.

In plain words
What is it for?
Use it when writing prompts or documentation that references or includes other project files.
Why use it?
It keeps references consistent and prevents linked documents from being formatted in ways the framework cannot process.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when writing prompts or documentation that references or includes other project files.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/appboypov/pew-pew-plaza-packs/wikilink-rules
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/appboypov/pew-pew-plaza-packs

Made for: Claude Code.

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 wikilink-rules

README.md
[![agentmods](https://agentmods.dev/badge/commands/appboypov/pew-pew-plaza-packs/wikilink-rules/github.svg)](https://agentmods.dev/commands/appboypov/pew-pew-plaza-packs/wikilink-rules)
Your own site
<a href="https://agentmods.dev/commands/appboypov/pew-pew-plaza-packs/wikilink-rules"><img src="https://agentmods.dev/badge/commands/appboypov/pew-pew-plaza-packs/wikilink-rules/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 wikilink-rules

Your own site · 80×15
<a href="https://agentmods.dev/commands/appboypov/pew-pew-plaza-packs/wikilink-rules"><img src="https://agentmods.dev/badge/commands/appboypov/pew-pew-plaza-packs/wikilink-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 650 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.00020 $0.00650
Opus 5 $0.00010 $0.00325
Sonnet 5 $0.00004 $0.00130
Haiku 4.5 $0.00002 $0.00065

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

Security

Grade A, and why

wikilink-rules 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.

.claude/commands/apply/wikilink-rules.md · 97 lines

How it starts

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

Instruction Command

When this command is used, acknowledge that you understand these instructions and will follow them throughout the conversation. Then await the user's request.


💡 Specific ALWAYS and NEVER rules that must be followed without exception.

👍 Always

  • WHEN referencing project documents ALWAYS use wikilinks WITHOUT backticks to reference other relevant project documents.
    • Example: [[relevant-document-wl-example]]
  • WHEN creating example wikilinks that don't reference real files ALWAYS end them with "-wl-example".
    • Example: [[filename-wl-example]]
    • Example: ![[embedded-content-wl-example]]
  • WHEN using embedded wikilinks ALWAYS place ![[filename-wl-example]] on its own line.
    • The entire line gets replaced with file content during sync
  • WHEN creating templates/prompts ALWAYS remember embedded wikilinks replace the entire line.

👎 Never

  • WHEN creating wikilinks NEVER use backticks around wikilinks.
    • Wrong: [[document-wl-example]]
    • Right: [[document-wl-example]]
  • WHEN using embedded wikilinks NEVER place them inline with other text.
    • Wrong: Some text ![[embedded-content-wl-example]] more text
    • Right:
      Some text
      ![[embedded-content-wl-example]]
      More text
      
  • WHEN creating artifacts NEVER forget embedded wikilinks must be on separate lines.

🔄 WikiLink Processing Details

Regular wikilinks [[filename-wl-example]]:

  • Converted to @full/path references during sync
  • Used for referencing other documents
  • Processed by sync-claude-code-wikilinks.sh

Embedded wikilinks ![[filename-wl-example]]:

  • Entire line replaced with file content during sync
  • Used for including content from another file
  • Processed by sync-claude-code-embedded-wikilinks.sh
  • MUST be on their own line - the entire line gets replaced

✅ Good WikiLink Examples

Regular WikiLink Reference
For more details, see [[agent-template-wl-example]] for the standard structure.
The [[template-rules-wl-example]] define formatting standards.

Read the full file on GitHub · 97 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 · 97 lines · 20 tokens per session scan A ab5b95af10c6

Subscribe to this mod's changes

wikilink-rules is a command published in the GitHub repository appboypov/pew-pew-plaza-packs (85 stars, last pushed 8mo ago), licensed MIT. It adds 20 tokens to every session and 650 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-09-03.