paymob-explain-error

paymob-explain-error is a command for Claude Code from PaymobAccept/Paymob-AI-Integration-Skill. It costs 20 tokens per session (716 once invoked), scanned A, original, MIT.

A command that explains a Paymob error code, HTTP status, or error message using the integration's troubleshooting documentation. Paymob is a payment service used by applications to process transactions.

In plain words
What is it for?
It helps interpret Paymob integration failures by matching the supplied status or message to troubleshooting guidance.
Why use it?
It connects a reported error to the documented cause and fix, reducing guesswork during payment debugging.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the paymob-integration plugin — 1 skill, 3 commands, 1 MCP server shipped together

Good fit It helps interpret Paymob integration failures by matching the supplied status or…

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add PaymobAccept/Paymob-AI-Integration-Skill
Claude Code
/plugin install paymob-integration

Made for: Claude Code.

Or install paymob-integration, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 1 MCP server.

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 paymob-explain-error

README.md
[![agentmods](https://agentmods.dev/badge/commands/paymobaccept/paymob-ai-integration-skill/paymob-explain-error.svg)](https://agentmods.dev/commands/paymobaccept/paymob-ai-integration-skill/paymob-explain-error)
Your own site
<a href="https://agentmods.dev/commands/paymobaccept/paymob-ai-integration-skill/paymob-explain-error"><img src="https://agentmods.dev/badge/commands/paymobaccept/paymob-ai-integration-skill/paymob-explain-error.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 716 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.00020 $0.00716
Opus 5 $0.00010 $0.00358
Sonnet 5 $0.00004 $0.00143
Haiku 4.5 $0.00002 $0.00072

Measured 7d ago against content hash 5b85d0ae2131, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

paymob-explain-error 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.

commands/paymob-explain-error.md · 26 lines

What it actually says

The user wants this Paymob error explained: $ARGUMENTS

Locating the skill files. SKILL.md and its references/ directory live together. Use the first of these that exists:

  1. ${CLAUDE_PLUGIN_ROOT}/skills/paymob-integration/ — plugin install
  2. ~/.claude/skills/paymob-integration/ — personal skill install. ~ is the user's home directory; on Windows expand it yourself (%USERPROFILE%\.claude\skills\…), since a literal ~ will not resolve there.
  3. skills/paymob-integration/ — repository checkout, relative to the working directory

${CLAUDE_PLUGIN_ROOT} is substituted only for plugin installs. If you see it unexpanded, you are not in one — use path 2 or 3. If none resolve, search for SKILL.md under any paymob-integration directory. Paths written as references/… below are relative to whichever root you resolved.

If you cannot read the files, say so and stop. Do not explain a Paymob error from memory — a plausible-sounding wrong cause sends the merchant to debug the wrong layer.

  1. Read the Troubleshooting table in SKILL.md and match $ARGUMENTS against its rows (by HTTP status, error text, or symptom). Quote the cause(s) listed for the matching row — do not paraphrase from memory, read the table each time in case it has changed.
  2. If the fix involves code, open the reference file matching the user's project language/framework — references/code-nodejs.md, references/code-python.md, references/code-php.md, references/code-dotnet.md, references/code-ruby.md, or references/code-frontend.md — and adapt its corrected snippet to the user's project. Do not write a fix that contradicts what's in that file (for example, don't invent a different HMAC digest, header scheme, or amount unit than what the reference shows).
  3. If the matching row is the HMAC-mismatch row, also read references/hmac-verification.md before answering and get the field order, digest algorithm, and the obj.id/order.id (POST) vs id/order_id (GET redirect) distinction from that file directly — never restate the field order from memory or from this command file, since this file intentionally carries no copy of it.
  4. If $ARGUMENTS does not match any row in the table, say so explicitly rather than guessing at a cause. Then:
    • Point the user to references/live-resources.md, in particular the llms.txt doc index, to look up the current, authoritative explanation.
    • Offer to fetch the relevant Paymob docs page yourself, or ask the user to paste the relevant section if the docs are blocked to automated fetches (Paymob's docs sit behind Cloudflare, which can 403 some fetchers).
    • If the user has narrowed it to a specific unlisted status code, note that it may be an account, region, or method-specific error not yet cataloged in this skill.
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. 7d ago First seen · 26 lines · 20 tokens per session scan A 5b85d0ae2131

Subscribe to this mod's changes

paymob-explain-error is a command published in the GitHub repository PaymobAccept/Paymob-AI-Integration-Skill (30 stars, last pushed 22d ago), licensed MIT. It adds 20 tokens to every session and 716 once invoked, about $0.0001 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.