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.
npx skills add sdsrss/code-graph-mcp --skill windows-compatgit clone --depth 1 https://github.com/sdsrss/code-graph-mcpWrote 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.
[](https://agentmods.dev/skills/sdsrss/code-graph-mcp/windows-compat)<a href="https://agentmods.dev/skills/sdsrss/code-graph-mcp/windows-compat"><img src="https://agentmods.dev/badge/skills/sdsrss/code-graph-mcp/windows-compat/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.
<a href="https://agentmods.dev/skills/sdsrss/code-graph-mcp/windows-compat"><img src="https://agentmods.dev/badge/skills/sdsrss/code-graph-mcp/windows-compat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00165 | $0.02205 |
| Opus 5.5 | $0.00066 | $0.00882 |
| Sonnet 5.5 | $0.00033 | $0.00441 |
| Haiku 4.5 | $0.00016 | $0.00220 |
Grade A, and why
windows-compat 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Windows compatibility (code-graph-mcp)
Three defects reached a Windows user from one root cause: two spellings of
the same path compared unequal. CI already ran windows-latest and caught none
of them, because nothing asserted on path spellings at all. Closing that gap is
what this skill is for.
The invariant everything hangs off
indexer::merkle::normalize_rel_path stores every indexed path as a
/-separated relative path, rewriting separators only under
#[cfg(windows)]. So any path that becomes a lookup key, a dedup key, or
stdout must land in exactly that spelling.
Almost every defect below is one producer handing over a different spelling of the same file. The producer table and the full catalogue are in references/failure-modes.md — read it before changing path-handling code. It is short and every entry is a real defect with its shipped fix.
The doctrine: platform is a parameter, not a cfg!
This is the single rule that makes everything else testable.
// NO — the Windows branch only runs on Windows, so the Linux and macOS legs
// prove nothing, and a Windows-only CI failure is expensive to debug.
fn normalize(path: &str) -> String {
if cfg!(windows) { path.replace('\\', "/") } else { path.into() }
}
// YES — one thin cfg! entry point, all logic in a function taking the platform.
fn normalize(path: &str) -> String {
normalize_on(path, cfg!(windows))
}
fn normalize_on(path: &str, backslash_is_sep: bool) -> String { ... }
Then assert both values from any platform:
assert_eq!(normalize_on(r"src\a.rs", true), "src/a.rs"); // Windows behaviour
assert_eq!(normalize_on(r"src\a.rs", false), r"src\a.rs"); // `\` is a legal Unix filename char
Live examples: merkle.rs::normalize_rel_str_on (the crate's single
separator-rewriting implementation — everything else delegates to it),
cli.rs::normalize_path_display_on, cli.rs::relativize_path_on.
Skip dunce / path-slash here. They do the right thing but decide internally
on cfg(windows), forfeiting exactly the property that makes the Linux leg
useful.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 196 lines · 165 tokens per session scan A 65b3b3afdfd2
windows-compat is a skill published in the GitHub repository sdsrss/code-graph-mcp (102 stars, last pushed 7d ago), licensed MIT. It adds 165 tokens to every session and 2,205 once invoked, about $0.0007 per session on Opus 5.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-30.
windows-compat compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| windows-compatsdsrss/code-graph-mcp | Skill | 102 | 7d ago | MIT | A | 165 | Claude Code, Codex |
| rust-checkHmbown/CodeWhale | Skill | 41k | 3d ago | MIT | A | 15 | Claude Code, Codex |
| stack-trace-rust-probeopensquilla/opensquilla | Skill | 7.2k | 6d ago | Apache-2.0 | A | 42 | Claude Code |
| hotpath_initpawurb/hotpath-rs | Skill | 1.9k | 10d ago | MIT | A | 88 | Claude Code |
| phx-investigateoliver-kriska/claude-elixir-phoenix | Skill | 579 | 2d ago | MIT | A | 35 | Claude Code, Codex |
| phx-traceoliver-kriska/claude-elixir-phoenix | Skill | 579 | 2d ago | MIT | A | 47 | Claude Code, Codex |
| tree-sitter-language-pack-extracting-code-structurexberg-io/tree-sitter-language-pack | Skill | 489 | 3d ago | MIT | A | 52 | Claude Code |