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 agentmods add instructions/congmnguyen/claude-code-wsl2-setup/claude-mdgit clone --depth 1 https://github.com/congmnguyen/claude-code-wsl2-setupWrote 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/instructions/congmnguyen/claude-code-wsl2-setup/claude-md)<a href="https://agentmods.dev/instructions/congmnguyen/claude-code-wsl2-setup/claude-md"><img src="https://agentmods.dev/badge/instructions/congmnguyen/claude-code-wsl2-setup/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.00686 | $0.00686 |
| Opus 5 | $0.00343 | $0.00343 |
| Sonnet 5 | $0.00137 | $0.00137 |
| Haiku 4.5 | $0.00069 | $0.00069 |
Grade B, and why
claude-code-wsl2-setup CLAUDE.md scanned grade B with 1 finding 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 6d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- In `~/.claude/settings.json`, merge settings instead of replacing the file. Use `attribution`, not deprecated or invented attribution keys. See `settings.md`. How it starts
The opening of the file, as written. The whole thing — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Purpose
- This repository documents the active Claude Code setup on this WSL2 machine. It has no build system, test suite, or package manager; deliverables are Markdown docs, shell scripts, and config snippets.
- Treat the live files under
~/.claude/as runtime truth and this repository as their documented, version-controlled counterpart. When changing an active setup component, inspect both and keep them synchronized. - Root
*.mdfiles document setup components;agents/,skills/, andhooks/contain installable artifacts. Do not promote optional or legacy components inREADME.mdunless the live machine uses them. - Codex skills and setup live in the separate
congmnguyen/codex-wsl2-setuprepository. Do not restore a Codex backup tree here.
Non-obvious constraints
- Run screenshot paste only through the systemd user service; do not add shell or Claude hooks that can race or stop the supervised
wsl-screenshot-cliprocess. Seeimage-paste.md. - There are no
PreToolUseorPostToolUsehooks in this setup, and none should be added. Every one tried here matched on patterns, and a pattern that is wrong in either direction is worse than nothing: a truncating hook destroyed the middle of failing test output, a credential-blocking hook rejected ordinary source files namedtoken_manager.py, and a Ruff autofix hook silently deleted imports out of files Claude had just written. Prefer exact-matchpermissions.denyrules, which cannot misfire. See "Pruned notes" inREADME.md. Notificationhooks are fine and still in use — they react to events instead of judging tool input, so they have nothing to get wrong. Seeclaude-notify.md.- Browser automation is no longer documented here;
playwright-cli.mdand the Playwright section ofmcp-setup.mdwere removed.mcp-setup.mdnow covers only the project-scoped Figma Desktop MCP. Recover the old pages from git history rather than rewriting them. ~/.claude/keybindings.jsonmust be an object containing abindingsarray; a bare array silently fails.- In
~/.claude/settings.json, merge settings instead of replacing the file. Useattribution, not deprecated or invented attribution keys. Seesettings.md. - Normalize
assets/preview-*.pngto a 1220x788#0d1117canvas and render previews at width 720 inREADME.md.
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.
- 6d ago First seen · 32 lines · 686 tokens per session scan B 0713bbf39b57
claude-code-wsl2-setup CLAUDE.md is an instructions file published in the GitHub repository congmnguyen/claude-code-wsl2-setup (50 stars, last pushed 5d ago), licensed MIT. It adds 686 tokens to every session, about $0.0034 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
personal-os-setup CLAUDE.md
Claude Code instructions for AmineDjeghri/personal-os-setup, covering claude.md, what this is, safety: always confirm before system-mutating actions, commands and architecture.
podman-mcp CLAUDE.md
Claude Code instructions for sandraschi/podman-mcp, covering podman-mcp — claude / agent context, do, don't and commands.
podman-mcp AGENTS.md
AGENTS.md instructions for sandraschi/podman-mcp, covering podman-mcp — agents.md, quick reference, tool pattern, key files and add a tool.
wigi-llm AGENTS.md
Instructions for Platano78/wigi-llm, covering wigi-llm — agents.md (router / the map), what this is, areas (route by task — load inputs, skip the rest), verbs and naming conventions (locate, don't grep).
wigi-llm CLAUDE.md
Instructions for Platano78/wigi-llm, covering wigi-llm, what this is, key files, architecture and rules.
claude-code-notifire CLAUDE.md
Claude Code instructions for faustoFF/claude-code-notifire, covering claude.md, language, what this is, commands and architecture.