Roslyn-Backed-MCP: Agent for Claude Code

.claude/agents/backlog-anchor-auditor.md

backlog-anchor-auditor is an agent for Claude Code from darylmcd/Roslyn-Backed-MCP. It costs 149 tokens per session (1,029 once invoked), scanned A, original, MIT.

A backlog link checker that verifies whether file paths mentioned in backlog tasks still exist in the current codebase. It reports missing paths and possible renamed files without editing anything.

In plain words
What is it for?
Use it to audit paths in backlog Markdown files, including source code, tests, hooks, build scripts, documentation, skills, and plugin files.
Why use it?
Backlog tasks become misleading when referenced files move or are deleted. This shows which task references need attention before work begins.

Agent for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: model in frontmatter.

This is darylmcd/Roslyn-Backed-MCP's own configuration. It tells Claude Code how to work on Roslyn-Backed-MCP itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Roslyn-Backed-MCP configures →

Part of the roslyn-mcp plugin — 44 skills, 5 agents, 2 hooks, 2 MCP servers shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to darylmcd/Roslyn-Backed-MCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/darylmcd/Roslyn-Backed-MCP/main/.claude/agents/backlog-anchor-auditor.md
Clone the repo
git clone --depth 1 https://github.com/darylmcd/Roslyn-Backed-MCP

Made for: Claude Code.

Or install roslyn-mcp, the plugin that ships this one along with the rest of its 44 skills, 5 agents, 2 hooks, 2 MCP servers.

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 backlog-anchor-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/darylmcd/roslyn-backed-mcp/backlog-anchor-auditor/github.svg)](https://agentmods.dev/agents/darylmcd/roslyn-backed-mcp/backlog-anchor-auditor)
Your own site
<a href="https://agentmods.dev/agents/darylmcd/roslyn-backed-mcp/backlog-anchor-auditor"><img src="https://agentmods.dev/badge/agents/darylmcd/roslyn-backed-mcp/backlog-anchor-auditor/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 backlog-anchor-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/darylmcd/roslyn-backed-mcp/backlog-anchor-auditor"><img src="https://agentmods.dev/badge/agents/darylmcd/roslyn-backed-mcp/backlog-anchor-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,029 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.00149 $0.01029
Opus 5 $0.00075 $0.00515
Sonnet 5 $0.00030 $0.00206
Haiku 4.5 $0.00015 $0.00103

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

Security

Grade A, and why

backlog-anchor-auditor 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/agents/backlog-anchor-auditor.md · 81 lines

How it starts

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

You are auditing anchor-path references inside the Roslyn-Backed-MCP repo's backlog files. You do NOT write to disk. You emit a structured report; the caller decides what to fix.

Input contract

The orchestrator provides:

  • repoRoot — absolute path to the Roslyn-Backed-MCP checkout (default: current working directory).
  • backlogFiles — optional list of backlog file paths (default: ai_docs/backlog.md plus ai_docs/backlog-p3.md and ai_docs/backlog-p4.md if they exist).

Missing required field → emit ERROR: missing <field> and exit.

What counts as an anchor

Any path-looking token inside a backlog row's do column that matches one of these prefixes:

  • src/RoslynMcp.*/**/*.cs
  • tests/RoslynMcp.Tests/**/*.cs
  • hooks/**
  • eng/**
  • .claude-plugin/**
  • ai_docs/** (for cross-refs)
  • docs/**
  • skills/**
  • Backtick-wrapped bare filenames that look like tracked code (FooService.cs, WorkspaceManager.cs)

Ignore URLs, example shell commands, and prose that merely names a type without a file.

Steps

  1. Read each backlog file. Parse rows: | id | pri | deps | do | — one row per line below the header.
  2. For each row, extract every anchor candidate from the do column. Deduplicate within the row.
  3. For each unique anchor: test whether the file exists at <repoRoot>/<path>. Record hit / miss.
  4. For every miss: run a targeted Glob for the file's basename (e.g. WorkspaceManager.cs) and propose the ≤3 most-likely live locations as rename candidates. If the file was plausibly split (basename matches a partial class prefix like ServerSurfaceCatalogServerSurfaceCatalog.*.cs), list the partials.
  5. Also flag line-anchored references (...Tools.cs:138) where the file exists but the line number is > current EOF — probably moved.

Output format

Compact, scannable. No prose paragraphs. Group by severity.

=== backlog-anchor-auditor ===
scanned: <N> rows across <M> files
anchors checked: <K>
misses: <P>

=== MISS: dead anchors ===
| row_id | anchor | basename_matches |
|---|---|---|
| find-type-mutations-undercounts-lifecycle-writes | src/RoslynMcp.Roslyn/Services/MutationAnalysisService.cs | src/RoslynMcp.Roslyn/Services/Mutation/MutationAnalysisService.cs (likely rename) |

=== WARN: line-number drift ===
| row_id | anchor | file_lines | cited_line |
|---|---|---|---|
| diagnostic-details-param-naming-drift | src/RoslynMcp.Host.Stdio/Tools/AnalysisTools.cs:138 | 112 | 138 (past EOF) |

=== OK: verified anchors ===
<count only — no per-row list unless --verbose>

=== NOTES ===
- Rows with zero anchors: [list ids] — these may be skill / infra / hook rows where the file hint is elsewhere. Not a miss.
- Rows citing a file that exists but may have been split into partials: [list]

Read the full file on GitHub · 81 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 · 81 lines · 149 tokens per session scan A fa9703ebabfe

Subscribe to this mod's changes

backlog-anchor-auditor is an agent published in the GitHub repository darylmcd/Roslyn-Backed-MCP (1 stars, last pushed yesterday), licensed MIT. It adds 149 tokens to every session and 1,029 once invoked, about $0.0007 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-08-31.