mention-wire

mention-wire is a skill for Claude Code from jmagly/aiwg. It costs 14 tokens per session (948 once invoked), scanned A, original, MIT.

A codebase scanner that adds @-mentions linking source files, tests, requirements, and documentation.

In plain words
What is it for?
Use it to add traceability links automatically, preview proposed links, or approve them file by file.
Why use it?
It makes relationships between project artifacts easier to follow and check.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions Claude Code.

Good fit Use it to add traceability links automatically, preview proposed links, or approve them file by file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jmagly/aiwg/mention-wire
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.

Any agent
npx skills add jmagly/aiwg --skill mention-wire
Clone the repo
git clone --depth 1 https://github.com/jmagly/aiwg

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 mention-wire

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmagly/aiwg/mention-wire/github.svg)](https://agentmods.dev/skills/jmagly/aiwg/mention-wire)
Your own site
<a href="https://agentmods.dev/skills/jmagly/aiwg/mention-wire"><img src="https://agentmods.dev/badge/skills/jmagly/aiwg/mention-wire/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 mention-wire

Your own site · 80×15
<a href="https://agentmods.dev/skills/jmagly/aiwg/mention-wire"><img src="https://agentmods.dev/badge/skills/jmagly/aiwg/mention-wire.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 948 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00014 $0.00948
Opus 5 $0.00007 $0.00474
Sonnet 5 $0.00003 $0.00190
Haiku 4.5 $0.00001 $0.00095

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

Security

Grade A, and why

mention-wire 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.

agentic/code/addons/aiwg-utils/skills/mention-wire/SKILL.md · 137 lines

How it starts

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

@-Mention Wiring

Analyze codebase relationships and inject @-mentions for traceability.

Research Foundation

  • REF-001: BP-9 - Traceability from requirements to code to tests
  • Claude Code 2.0.43: @-mention fixes for reliable nested loading

Usage

/mention-wire                           # Analyze current directory
/mention-wire --dry-run                 # Show what would be added
/mention-wire --interactive             # Approve each mention
/mention-wire --auto                    # Apply high-confidence mentions
/mention-wire --confidence 90           # Set confidence threshold

Options

Option Default Description
--target . Directory to analyze
--dry-run false Show proposed changes without applying
--interactive false Prompt for approval per file
--auto false Apply mentions above confidence threshold
--confidence 80 Minimum confidence % for auto mode

Process

1. Scan Directory

Identify files and their types:

  • Source code (.ts, .js, .py, .go, etc.)
  • Test files (*.test.*, *.spec.*, test_*)
  • SDLC artifacts (.aiwg/**/*.md)
  • Documentation (docs/**/*.md)

2. Analyze Relationships

Detect relationships using heuristics:

Pattern Inferred @-mention Confidence
File in src/auth/ @.aiwg/requirements/UC-*-auth*.md 85%
File named *test*.ts @$AIWG_ROOT/src/{corresponding-source}.ts 92%
Comment // UC-001 @.aiwg/requirements/UC-001.md 95%
Comment // ADR-005 @.aiwg/architecture/adrs/ADR-005*.md 90%
JSDoc @implements Parse and validate 98%
Import statement @{imported-file} 88%

3. Generate Suggestions

Output format:

src/services/auth/login.ts (confidence: 85%)
  + @.aiwg/requirements/UC-003-user-auth.md (name match)
  + @.aiwg/architecture/adrs/ADR-005-jwt-strategy.md (comment: "JWT")

test/integration/auth.test.ts (confidence: 92%)
  + @$AIWG_ROOT/src/services/auth/login.ts (test-to-source)
  + @.aiwg/requirements/UC-003-user-auth.md (inherited from source)

Read the full file on GitHub · 137 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 · 137 lines · 14 tokens per session scan A b6ec37c829c7

Subscribe to this mod's changes

mention-wire is a skill published in the GitHub repository jmagly/aiwg (211 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 948 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.