Borrowing it
Nothing to install: this file belongs to MarcelRoozekrans/memorylens-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.
curl -O https://raw.githubusercontent.com/MarcelRoozekrans/memorylens-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/MarcelRoozekrans/memorylens-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/instructions/marcelroozekrans/memorylens-mcp/agents-md)<a href="https://agentmods.dev/instructions/marcelroozekrans/memorylens-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/marcelroozekrans/memorylens-mcp/agents-md/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/instructions/marcelroozekrans/memorylens-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/marcelroozekrans/memorylens-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.02101 | $0.02101 |
| Opus 5.5 | $0.00840 | $0.00840 |
| Sonnet 5.5 | $0.00420 | $0.00420 |
| Haiku 4.5 | $0.00210 | $0.00210 |
Grade C, and why
memorylens-mcp AGENTS.md scanned grade C 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 16d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf artifacts How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md: memorylens-mcp
MemoryLens MCP is an MCP server that profiles the heap of a running .NET process in-process over
EventPipe and returns rule-based findings with code fix suggestions. It ships as the MemoryLens.Mcp
.NET global tool on NuGet, as the memorylens-mcp npm launcher, as a Docker image, and as a Claude
Code plugin that runs the tool through dnx.
Layout
src/MemoryLens.Mcpis the only packable project, onnet10.0andnet11.0.tests/MemoryLens.Mcp.Testsis the unit suite.tests/MemoryLens.Mcp.IntegrationTestsstarts the server over stdio and attaches totests/MemoryLens.Mcp.LeakyApp, a child process it copies into its output folder.LeakyApptargets onlynet10.0withRollForwardset toMajor, so it runs under both test target frameworks.tests/MemoryLens.Mcp.TestSupportis shared helper code.npm/is a launcher with no server code that installs the NuGet tool at its own version, so it is published after the NuGet push. Its test,cd npm && node --test test/*.test.js, runs in no CI job.src/MemoryLens.Mcp/.mcp/server.jsonis a committed0.0.0placeholder. TheStampMcpServerJsonVersiontarget in the csproj writes the realPackageVersioninto a copy underobj/and packs that copy. Never edit the version in the source file and never make the target write back over it.- A version is bumped only by release-please. The files it rewrites are declared in
release-please-config.jsonextra-files: rootserver.json(three fields),npm/package.json,.claude-plugin/marketplace.json(two fields) andplugins/memorylens/.claude-plugin/plugin.json(the version and thednxversion argument). Adding another file that carries the version means adding it there too. Do not edit those versions by hand. Dockerfilepublishesnet11.0only and deliberately does not copyglobal.json: the floatingsdk:11.0tag would hard-break against the pin once it rolls past the 11.0.1xx band.
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.
- 16d ago First seen · 135 lines · 2,101 tokens per session scan C 269481ed80f0
memorylens-mcp AGENTS.md is an instructions file published in the GitHub repository MarcelRoozekrans/memorylens-mcp (11 stars, last pushed 2d ago), licensed MIT. It adds 2,101 tokens to every session, about $0.0084 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.
memorylens-mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memorylens-mcp AGENTS.mdMarcelRoozekrans/memorylens-mcp | Instructions file | 11 | 2d ago | MIT | C | 2,101 | Codex, OpenCode |
| plan-forge api-patterns.instructions.mdsrnichols/plan-forge | Instructions file | 6 | 28d ago | MIT | A | 2,049 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |