Borrowing it
Nothing to install: this file belongs to me9rez/llm-vision-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/me9rez/llm-vision-mcp/master/AGENTS.mdgit clone --depth 1 https://github.com/me9rez/llm-vision-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/me9rez/llm-vision-mcp/agents-md)<a href="https://agentmods.dev/instructions/me9rez/llm-vision-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/me9rez/llm-vision-mcp/agents-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.00566 | $0.00566 |
| Opus 5 | $0.00283 | $0.00283 |
| Sonnet 5 | $0.00113 | $0.00113 |
| Haiku 4.5 | $0.00057 | $0.00057 |
Grade A, and why
llm-vision-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 7d 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.
What it actually says
仓库说明
常用命令
- 使用
npm install安装依赖;这是一个独立的 Node.js 包,要求 Node.js>=18。 - 用
npm test(vitest run)运行完整测试套件;用npm run smoke运行无需 API Key 的验证冒烟测试。 - 用
npm start(node index.js mcp)启动本地 MCP stdio 服务;直接 CLI 分析为node index.js <tool> <image-path> [prompt]。 - 项目没有配置构建、lint、格式化、类型检查或代码生成步骤;不要自行引入这些作为必要验证。
目录结构
index.js是唯一的运行时入口:mcp选择 stdio MCP 服务,其余参数都走 CLI。src/tools.js是工具名称、提示词以及 MCP/CLI 工具过滤的唯一事实来源;复用这里,不要重复定义工具元数据。src/config.js在模块导入时读取环境变量;测试中修改配置后必须重置模块再重新导入。src/vision.js在把 base64 数据发送给 OpenAI 兼容 API 前校验本地图片;src/mcp.js通过 MCP 注册同样的工具。
配置与安全
- 运行时配置来自
API_KEY、BASE_URL、VISION_MODEL、TEMPERATURE、MAX_TOKENS以及仅 MCP 模式生效的TOOLS;.env由index.js加载,且已被 Git 忽略。 - MCP 使用 stdio,不能用 stdout 写日志或其他非协议输出。
- 图片输入有意限制为
src/config.js中的扩展名和魔数前缀,并受src/validation.js的 20 MiB 大小限制;修改图片处理逻辑时保留这些检查。 - MCP 模式下
--tools优先于TOOLS环境变量;工具名接受 snake_case 或 kebab-case,未知名称会被忽略并给出警告。
测试
- 测试是
tests/下的 Vitest 文件;只迭代某一区域时用聚焦命令,如npx vitest run tests/validation.test.js。 - 测试使用临时目录和 mock 的 OpenAI 调用;整个测试套件和冒烟测试都不需要真实 API Key。MCP 子进程测试会走一遍 JSON-RPC stdio 握手。
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.
- 7d ago First seen · 27 lines · 566 tokens per session scan A 0fb0bb6fa5bd
llm-vision-mcp AGENTS.md is an instructions file published in the GitHub repository me9rez/llm-vision-mcp (4 stars, last pushed 1mo ago), licensed MIT. It adds 566 tokens to every session, about $0.0028 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-31.
Other instructions, from other repositories
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).
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.
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 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).
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.