Borrowing it
Nothing to install: this file belongs to SetsunaYukiOvO/x64dbg-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/SetsunaYukiOvO/x64dbg-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/SetsunaYukiOvO/x64dbg-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/setsunayukiovo/x64dbg-mcp/agents-md)<a href="https://agentmods.dev/instructions/setsunayukiovo/x64dbg-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/setsunayukiovo/x64dbg-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/setsunayukiovo/x64dbg-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/setsunayukiovo/x64dbg-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.01344 | $0.01344 |
| Opus 5 | $0.00672 | $0.00672 |
| Sonnet 5 | $0.00269 | $0.00269 |
| Haiku 4.5 | $0.00134 | $0.00134 |
Grade A, and why
x64dbg-mcp AGENTS.md 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 11d 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 — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
My Custom Instructions
- Perform all code changes on the
devbranch. Keepmainfor reviewed integration and release changes; do not develop directly onmain.
Build and development commands
Prerequisites
- Windows 10/11, Visual Studio 2022 (Desktop C++ workload), CMake >= 3.15
- vcpkg with
nlohmann-jsonavailable (repo usesvcpkg.json) VCPKG_ROOTenvironment variable (defaults toC:\vcpkginbuild.bat)
Build
- Both architectures (Release):
./build.bat - Clean rebuild:
./build.bat --clean - x64 only:
./build.bat --x64-only - x86 only:
./build.bat --x86-only - Debug:
./build.bat --debug
Outputs go to dist/: x64dbg_mcp.dp64 and x32dbg_mcp.dp32.
Manual CMake (x64 example)
cmake -B build_x64 -G "Visual Studio 17 2022" -A x64 -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows -DXDBG_ARCH=x64
cmake --build build_x64 --config Release -j
For x86, use -A Win32, -DVCPKG_TARGET_TRIPLET=x86-windows, -DXDBG_ARCH=x86.
Tests
No test suite exists yet. CMake conditionally enables tests (BUILD_TESTS=ON) if a tests/ directory is present.
Architecture overview
x64dbg/x32dbg plugin (C++17, shared library) that exposes debugger capabilities through MCP (Model Context Protocol) over HTTP + SSE, with JSON-RPC 2.0 as the internal execution protocol.
Request flow
MCP client
→ HTTP POST /rpc (or /message, /messages, /) | GET /sse for events
→ MCPHttpServer (Winsock, src/communication/)
handles MCP methods: initialize, tools/list, tools/call, resources/*, prompts/*
→ tools/call: MCPToolRegistry resolves tool → JSON-RPC method name
→ MethodDispatcher routes to handler function
(PermissionChecker gates write/execute operations)
→ Handler (src/handlers/) → Business layer (src/business/) → x64dbg SDK
Plugin lifecycle
- DLL entrypoint:
src/PluginEntry.cppexportspluginit,plugsetup,plugstop(viasrc/plugin.def). pluginit: loads config, initializes logger, registers all methods/callbacks.plugsetup: builds plugin menu (Start/Stop server, config editor, about).- MCP HTTP server starts via menu or auto-start config flag (
features.auto_start_mcp_on_plugin_load).
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.
- 11d ago First seen · 91 lines · 1,344 tokens per session scan A 8396047e94ba
x64dbg-mcp AGENTS.md is an instructions file published in the GitHub repository SetsunaYukiOvO/x64dbg-mcp (460 stars, last pushed 20d ago), licensed MIT. It adds 1,344 tokens to every session, about $0.0067 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-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.