Borrowing it
Nothing to install: this file belongs to L337-org/docker-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/L337-org/docker-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/L337-org/docker-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/l337-org/docker-mcp/agents-md)<a href="https://agentmods.dev/instructions/l337-org/docker-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/l337-org/docker-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/l337-org/docker-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/l337-org/docker-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.09295 | $0.09295 |
| Opus 5.5 | $0.03718 | $0.03718 |
| Sonnet 5.5 | $0.01859 | $0.01859 |
| Haiku 4.5 | $0.00929 | $0.00929 |
Grade A, and why
docker-mcp AGENTS.md scanned grade A 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
| `_cli.py`, `_ssh_proxy.py`, CLI-backed tools | [architecture/cli-shell-out.md](architecture/cli-shell-out.md) | `subprocess.run` called directly; `shell=True`; a missing `timeout=`; the remote-exec fallback preferred o How it starts
The opening of the file, as written. The whole thing — 506 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
The shared instruction file for this repository. Every assistant reads this one; CLAUDE.md and
.github/copilot-instructions.md are pointers to it.
docker-mcp is a Python MCP server (requires Python >=3.14) managed with uv that exposes the
Docker SDK for Python as MCP tools. The entry point is the docker_mcp package, run with
python -m docker_mcp or via the installed console script.
Review priorities
Ordered by where real defects in this project have actually come from. Spend review effort in this order.
- Claims in prose that nothing type-checks. Docstrings, docs and comments asserting a method,
flag, route or identifier semantics that does not exist. Three
scouttools shipped a--formatflag the subcommand does not define; a docstring claimed buildx resolves--fileagainst the build context when it resolves against the CWD. Verify against the primary source, not recollection. - A guard that silently stops guarding. See the invariant list below. These pass CI, pass review at a glance, and fail in production or never fail loudly at all.
- Enumerations that drift. Any list of domains, tools, channels or files that is copied rather than derived. Derive it, or assert it.
- Unbounded reads of anything external. Daemon streams, registry bodies, staged files, CLI output.
- Docstring quality on any touched
@tool()- the ratchet in the checklist below. - Everything else.
Area checks
Read the linked file before judging a substantive change to that area.
| Area | Read | Watch for |
|---|---|---|
server.py, docker_mcp/tools/ |
architecture/server.md | _slim_schema or _apply_host_schema changing validation rather than display; a disabled capability registered-then-refusing instead of absent |
_hosts.py, host selection |
architecture/hosts.md | use_context=False dropped; system_reconnect gaining the ability to retarget an arbitrary URL; a write path that no longer requires an explicit host in multi-host mode |
_cli.py, _ssh_proxy.py, CLI-backed tools |
architecture/cli-shell-out.md | subprocess.run called directly; shell=True; a missing timeout=; the remote-exec fallback preferred over a usable local CLI; staging consequences absent from the docstring |
any @tool() docstring |
architecture/tool-descriptions.md | the checklist below |
code calling docker |
architecture/docker-sdk.md | an unverified method; a hand-built route that is not in the Engine API spec; a reach-in past the public SDK introduced without recorded sign-off |
Dockerfile, manifest.json, server.json, claude-plugin/, release workflows |
architecture/distribution.md | a version-declaring file missing from the bump checklist there, preflight, or the version tests; a registry ownership marker no longer matching server.json's name |
skills/l337-docker/ |
architecture/agent-skill.md | the skill described as equivalent to the server; tool-permission frontmatter added; a hand-edited figure in MCP_VS_SKILLS.md |
.github/workflows/ |
architecture/ci.md | a third-party uses: naming a tag or branch (L337-org/github-workflows is named at its major-version tag); a new job without timeout-minutes where the workflow requires one |
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 Changed · +17 tokens per session 3d2f151459a5
- 7d ago Changed · +3 lines · +57 tokens per session 00dffaf5d145
- 8d ago Changed · +10 lines · +249 tokens per session 57d71d051736
- 13d ago Changed · -2 lines · -103 tokens per session b0a6f71c214c
- 14d ago Changed · +3 lines · +82 tokens per session 0babd6992443
- 20d ago Changed · -2 lines · -48 tokens per session 75a6d14c6b9f
- 1mo ago Changed · +6 lines · +112 tokens per session 2ba0197d8a8a
- 1mo ago Changed · +13 lines · +111 tokens per session 47687e343dcb
- 1mo ago Changed · +48 lines · +713 tokens per session bc13b3e07127
- 1mo ago First seen · 427 lines · 8,105 tokens per session scan A 0f5380a9e8f8
docker-mcp AGENTS.md is an instructions file published in the GitHub repository L337-org/docker-mcp (9 stars, last pushed 5d ago), licensed MIT. It adds 9,295 tokens to every session, about $0.0372 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
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).
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
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.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.