diagnostics

diagnostics is a skill for Codex from Belolipetsky/YooKassa-MCP. It costs 68 tokens per session (680 once invoked), scanned A, original, MIT.

A diagnostic workflow for checking a YooKassa test shop, including its connection, payments, refunds, receipts, and saved payment methods. A test shop is a non-production environment for safe checks.

In plain words
What is it for?
Use it to investigate connection failures, payment or refund statuses, receipt and webhook problems, and test-store API responses.
Why use it?
It helps explain integration errors and unexpected payment states without running checks against a live store.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to investigate connection failures, payment or refund statuses, receipt and webhook problems, and test-store API responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/belolipetsky/yookassa-mcp/diagnostics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Belolipetsky/YooKassa-MCP --skill diagnostics
Clone the repo
git clone --depth 1 https://github.com/Belolipetsky/YooKassa-MCP

Made for: Codex.

Wrote 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.

agentmods badge for diagnostics

README.md
[![agentmods](https://agentmods.dev/badge/skills/belolipetsky/yookassa-mcp/diagnostics/github.svg)](https://agentmods.dev/skills/belolipetsky/yookassa-mcp/diagnostics)
Your own site
<a href="https://agentmods.dev/skills/belolipetsky/yookassa-mcp/diagnostics"><img src="https://agentmods.dev/badge/skills/belolipetsky/yookassa-mcp/diagnostics/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.

agentmods 80×15 button for diagnostics

Your own site · 80×15
<a href="https://agentmods.dev/skills/belolipetsky/yookassa-mcp/diagnostics"><img src="https://agentmods.dev/badge/skills/belolipetsky/yookassa-mcp/diagnostics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 680 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.00680
Opus 5 $0.00034 $0.00340
Sonnet 5 $0.00014 $0.00136
Haiku 4.5 $0.00007 $0.00068

Measured 9d ago against content hash 22f7f4324e32, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

diagnostics 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 9d 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.

plugins/yookassa-integration-agent/skills/diagnostics/SKILL.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Диагностика тестового магазина ЮKassa

Safety gate

  1. Убедись, что пользователь намерен проверить тестовый магазин.
  2. Не проси вставлять shopId или secret key в чат. Они должны быть локальными переменными YOOKASSA_SHOP_ID и YOOKASSA_SECRET_KEY.
  3. Первым живым вызовом всегда используй yookassa_diagnose_connection.
  4. Продолжай только при testMode: confirmed.
  5. При testMode: unconfirmed попроси создать один тестовый платеж кодом приложения и повторить диагностику.
  6. При PRODUCTION_STORE_BLOCKED останови все живые вызовы, объясни замену реквизитов и необходимость перезапуска Codex.

Диагностическое дерево

  • Ошибка соединения: вызови yookassa_explain_error, проверь Basic Auth, совпадение shopId/key, сетевой доступ и права.
  • Неожиданный платеж: получи его через yookassa_get_payment, сравни статус, сумму, валюту, payment method, cancellation details и внутреннее состояние заказа.
  • Список событий: используй yookassa_list_payments с минимальным limit и узким фильтром времени/статуса.
  • Возврат: вызови yookassa_get_refund; инструмент сам проверит связанный платеж с test=true.
  • Чек: вызови yookassa_get_receipt; сравни тип, статус, позиции, НДС, сумму и связь с платежом/возвратом.
  • Сохраненный способ: доступен через yookassa_get_payment_method только после подтверждения тестового магазина.
  • Ошибка будущего POST: используй yookassa_validate_request, не отправляя запрос.
  • Неясный метод: используй yookassa_api_search и yookassa_api_details.

Диагностика webhook

MCP не получает настройки webhook магазина. Проверь код и логи приложения:

  • URL публично доступен по HTTPS;
  • обработчик быстро отвечает HTTP 200;
  • событие может прийти повторно;
  • статус повторно проверяется через API;
  • переход состояния идемпотентен;
  • тестовый URL отделен от production;
  • redirect пользователя не заменяет webhook/API-проверку.

Отчет

Сформируй:

  • подтвержденную среду и safety status;
  • симптомы и временной диапазон;
  • выполненные read-only проверки;
  • фактические статусы и связи объектов;
  • наиболее вероятную причину с доказательствами;
  • безопасный следующий шаг;
  • что нельзя подтвердить имеющимися данными;
  • команды/тесты после исправления.

Read the full file on GitHub · 54 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 9d ago First seen · 54 lines · 68 tokens per session scan A 22f7f4324e32

Subscribe to this mod's changes

diagnostics is a skill published in the GitHub repository Belolipetsky/YooKassa-MCP (0 stars, last pushed 1mo ago), licensed MIT. It adds 68 tokens to every session and 680 once invoked, about $0.0003 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-09-01.

Related

Other skills, from other repositories

asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rorkai/app-store-connect-cli-skills · 45 tokens

stripe

Stripe API integration with managed OAuth. Manage customers, subscriptions, invoices, products, prices, and payments. Use this skill when users want to process payments, manage billing, or handle subscriptions with Stripe. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).…

CraftOS-dev/CraftBot · 79 tokens

etsy-pricing-strategy

Etsy pricing — cost calculation, competitor pricing, perceived value, shipping cost integration, sales and coupons.

nexscope-ai/eCommerce-Skills · 26 tokens

amazon-wholesale-sourcing

Wholesale product sourcing — supplier discovery, negotiation, MOQ optimization, margin analysis.

nexscope-ai/Amazon-Skills · 20 tokens

ai-slop

Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…

waybarrios/opencode-power-pack · 61 tokens

payment-processor

Skill "payment-processor" from Signal-Execution-Labs/forex-trading-ai-agent, covering payment processor skill, supported services, capabilities, view balances and get all balances.

Signal-Execution-Labs/forex-trading-ai-agent · 0 tokens