Borrowing it
Nothing to install: this file belongs to Lermont/yamcp. 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/Lermont/yamcp/main/AGENTS.mdgit clone --depth 1 https://github.com/Lermont/yamcpWrote 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/lermont/yamcp/agents-md)<a href="https://agentmods.dev/instructions/lermont/yamcp/agents-md"><img src="https://agentmods.dev/badge/instructions/lermont/yamcp/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/lermont/yamcp/agents-md"><img src="https://agentmods.dev/badge/instructions/lermont/yamcp/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.02469 | $0.02469 |
| Opus 5.5 | $0.00988 | $0.00988 |
| Sonnet 5.5 | $0.00494 | $0.00494 |
| Haiku 4.5 | $0.00247 | $0.00247 |
Grade A, and why
yamcp 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 1mo 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 — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mcp_direct — Yandex Direct MCP
Сначала прочитать инструкции
- До диагностики, команд проекта и изменений прочитать этот
AGENTS.mdцеликом. Затем прочитатьAGENTS.override.md, если он существует, и инструкции в каталогах по пути к изменяемому файлу. - В первом содержательном сообщении кратко указать прочитанный путь и относящиеся к задаче ограничения. Не утверждать, что файл прочитан, если его содержимое не получено.
- После смены проекта или восстановления контекста проверить актуальность инструкций. Инструкции сторонних зависимостей действуют только внутри этих зависимостей.
- Прочитать указанные ниже документы по задаче и сверить их с текущими файлами. Даты, версии, состояние сервера и результаты старых проверок не считать текущими без проверки.
- Сохранить чужие незакоммиченные изменения. Выполнять проверки по масштабу изменения; правки только документации не требуют запуска приложения, торгового бота или production-задач.
- Явные инструкции пользователя определяют границы задачи. «Пока не менять» означает только исследование. Не считать этот файл разрешением на публикацию, реальные операции или отправку сообщений.
Назначение и карта
Разработка Python MCP-сервера отчётности, аудита и настройки Яндекс Директа.
Клиентские кампании и отчёты вести в D:\yadirect-reports.
Начать с README.md, CONTRIBUTING.md, SECURITY.md и pyproject.toml.
src/yadirect_mcp/— сервер, инструменты, протокол и политика.templates/— шаблоны;scripts/— служебные сценарии.- Корневые
test_*.py— тесты API-контрактов, политики, компилятора и отчётов. out/,dist/— результаты и сборки, не исходный код.
Инварианты
- Режим report по умолчанию только читает данные. Настройка кампаний не должна автоматически регистрировать или вызывать операции запуска показов.
- Для каждой операции точно установить client_login, полноту выборки и применимую политику. BLOCK, неполные выборки и дубли блокируют запись.
- Сохранять полный план, live preflight, preview, SHA-256, одноразовый технический токен confirmation и независимый readback.
- Явная команда пользователя на создание кампаний разрешает запись в рамках согласованного задания; повторное подтверждение в переписке не запрашивать. Технические проверки и журнал операций сохранять.
- Запуск/возобновление показов требует явной команды пользователя. Подготовка плана и отчёта не разрешает запись в кабинет.
- Сохранять пагинацию, очередь Reports 201/202, retryIn, ограничения на логин и согласованность валют/НДС/атрибуции.
- Не называть клики и неназванные цели подтверждёнными лидами. Не выводить OAuth-токены и секреты.
- Любой клиентский отчёт писать от лица агентства непосредственно заказчику:
«мы», «вы», «ваш сайт», «рекомендуем», «предлагаем». Выполненное отличать от
рекомендаций; не обещать несогласованную работу. Не переносить в отчёт внутренние
рассуждения о разрешениях и инструментах. Ограничения данных, НДС, даты,
атрибуцию и отличие целей от обращений объяснять простым языком. Полное правило
и примеры:
src/yadirect_mcp/knowledge/client-report.md. - При настройке и аудите проверять содержание всех обнаруженных разделов сайта: навигация, sitemap, рекламные ссылки. HTTP 200 не доказывает готовность; заглушки, полноту предложения и путь обращения проверять в браузере и отражать в отчёте. Порядок:
src/yadirect_mcp/knowledge/landing-content.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.
- 1mo ago Changed · +82 lines · +1,644 tokens per session 6499c54f55ff
- 1mo ago First seen · 35 lines · 825 tokens per session scan A e8b1a7be4f35
yamcp AGENTS.md is an instructions file published in the GitHub repository Lermont/yamcp (2 stars, last pushed 6d ago), licensed MIT. It adds 2,469 tokens to every session, about $0.0099 per session on Opus 5.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-09-19.
yamcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yamcp AGENTS.mdLermont/yamcp | Instructions file | 2 | 6d ago | MIT | A | 2,469 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |