doctor

doctor is a skill for Claude Code from Hainrixz/agente-pagokit. It costs 105 tokens per session (1,590 once invoked), scanned A, original, MIT.

A read-only checker for an existing PagoKit payment integration. It reviews configuration, environment variables, webhook security, and event routing for providers such as Stripe, Mercado Pago, Wompi, and Lemon Squeezy.

In plain words
What is it for?
Use it to audit a payment integration and report each check as OK, warning, or failure. It also summarizes the number of issues found and uses PAGOKIT_INTEGRATION.md when available.
Why use it?
It finds missing settings or unsafe webhook handling without changing project files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Part of the pagokit plugin — 8 skills, 8 commands, 1 agent, 5 hooks shipped together

Good fit Use it to audit a payment integration and report each check as OK, warning, or failure. It also summarizes the number of issues found and uses PAGOKIT_INTEGRATION.md when available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hainrixz/agente-pagokit/doctor
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 Hainrixz/agente-pagokit --skill doctor
Clone the repo
git clone --depth 1 https://github.com/Hainrixz/agente-pagokit

Made for: Claude Code.

Or install pagokit, the plugin that ships this one along with the rest of its 8 skills, 8 commands, 1 agent, 5 hooks.

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 doctor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hainrixz/agente-pagokit/doctor"><img src="https://agentmods.dev/badge/skills/hainrixz/agente-pagokit/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,590 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 95
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 96
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.00105 $0.01590
Opus 5.5 $0.00042 $0.00636
Sonnet 5.5 $0.00021 $0.00318
Haiku 4.5 $0.00011 $0.00159

Measured 2d ago against content hash a50e95210183, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doctor 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 2d 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.

skills/doctor/SKILL.md · 122 lines

How it starts

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

doctor

You audit an existing PagoKit-generated integration. Read-only. Never write files.

Source of truth

The first thing you read is PAGOKIT_INTEGRATION.md in the project root. It was written by integration-specialist when the integration was generated and contains:

  • The provider id (any entry in the catalog — see PROVIDER_CHECKS.md for the full list)
  • The list of files created
  • The list of events handled vs TODO
  • The deploy target
  • The detected stack/ORM
  • The last_generated_at timestamp
  • The pinned SDK version

If PAGOKIT_INTEGRATION.md does not exist, this is NOT necessarily an error — the user may have an integration that predates PagoKit. In that case, ask the user "I don't see PAGOKIT_INTEGRATION.md. Was this integration generated by PagoKit? If not, I can still audit a known provider — which one are you using?"

Audit checklist

Run each check and report a list of [OK] / [WARN] / [FAIL] lines. Group by category. At the end, summarize: "N OK, M warnings, K failures."

Category 1 — Environment hygiene

Check How Severity
.gitignore exists and includes .env (or .env* minus .env.example) Read .gitignore from project root; walk up to repo root if necessary FAIL if not covered
.env not committed to git If .git/ exists, check git ls-files .env would be empty FAIL if committed
.env.example exists Glob .env.example WARN if missing
.env.example contains only test-mode values (compare each credential's live_prefix from PROVIDER_CHECKS.md) Read it, grep for live prefixes FAIL if live keys present

Category 2 — Required env vars per provider

Read skills/doctor/PROVIDER_CHECKS.md and find the section for the integrated provider. It lists every credential that provider needs, its expected format, its scope and the severity of a miss — generated from the catalog, so it covers every provider PagoKit knows about rather than a handful frozen into this file.

Read the full file on GitHub · 122 lines

Files

What ships with it

1 file 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. 2d ago Changed · +1 lines a50e95210183
  2. 1mo ago Changed · +21 tokens per session f20fae7d75a4
  3. 1mo ago First seen · 121 lines · 84 tokens per session scan A cc5b2367104b

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository Hainrixz/agente-pagokit (67 stars, last pushed 2d ago), licensed MIT. It adds 105 tokens to every session and 1,590 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

tidewave-integration

Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.

oliver-kriska/claude-elixir-phoenix · 38 tokens

release-it

Build production-ready systems with stability patterns: circuit breakers, bulkheads, timeouts, and retry logic. Use when the user mentions "production outage", "circuit breaker", "deployment pipeline", "chaos engineering", "retry storm", "health checks", "my service keeps crashing", "prevent cascading failures", or…

wondelai/skills · 131 tokens

resolving-merge-conflicts

Use when a git merge or rebase reports conflicts and the operation is in progress.

romiluz13/cc10x · 25 tokens

anti-patterns

Catalogue of known SDLC anti-patterns that greatcto agents must actively reject when reviewing architecture, plans, code, or post-mortems. Used by architect (pre-impl), pm (planning), senior-dev (impl), l3-support (post-incident).

avelikiy/great_cto · 59 tokens

debug

Interactive debugging workflow with hypothesis-driven probe loop. Use when: unknown bugs, script errors, silent failures, troubleshooting. Not for: known bugs (use bug-fix), GitHub issue analysis (use issue-analyze), code understanding (use code-explore). Output: debug report with probe journal + root cause + fix.

sd0xdev/sd0x-harness · 67 tokens

windows-compat

Audit and harden this Rust repo (code-graph-mcp) for Windows correctness: path-spelling drift between producers, the 32,767-char command-line cap, index-key mismatches, and path predicates that assume one ecosystem's layout. Use whenever touching code that builds, compares, prints, or stores a filesystem path; that…

sdsrss/code-graph-mcp · 165 tokens