checkout-flow

checkout-flow is a skill for Claude Code from theYahia/WWmcp. It costs 20 tokens per session (462 once invoked), scanned A, original, MIT.

A checkout workflow for bKash tokenized payments: create a payment, send the customer to bKash, execute it after confirmation, and check the final result. bKash is a mobile payment service.

In plain words
What is it for?
It is for taking a one-time bKash payment and confirming its transaction status.
Why use it?
It reduces payment-state errors, including retrying a charge that may already have succeeded.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It is for taking a one-time bKash payment and confirming its transaction status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theyahia/wwmcp/checkout-flow
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 theYahia/WWmcp --skill checkout-flow
Clone the repo
git clone --depth 1 https://github.com/theYahia/WWmcp

Made for: Claude Code.

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 checkout-flow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/theyahia/wwmcp/checkout-flow"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/checkout-flow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 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 pass 7 Sept 2026
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.00020 $0.00462
Opus 5.5 $0.00008 $0.00185
Sonnet 5.5 $0.00004 $0.00092
Haiku 4.5 $0.00002 $0.00046

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

Security

Grade A, and why

checkout-flow 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 2mo 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.

servers/bkash/.claude/skills/checkout-flow/SKILL.md · 50 lines

What it actually says

/checkout-flow — bKash tokenized checkout

Algorithm

  1. Collect amount (BDT, passed as a string), merchantInvoiceNumber (your order number), payerReference (customer phone or internal ID) and callbackURL.
  2. Call create_payment with amount, merchantInvoiceNumber, payerReference, callbackURL. Optional: currency (defaults to BDT), intent (sale or authorization), merchantAssociationInfo. It returns a paymentID and a bKashURL for the customer.
  3. Give the customer the bKash URL. Do not call the next step until they report finishing the popup — bKash rejects an execute on an unconfirmed payment.
  4. Call execute_payment with the paymentID from step 2. This is what actually moves money.
  5. Call query_payment with the same paymentID to confirm the final state and capture trxID.
  6. If execute_payment errored but the customer says they paid, call query_payment before retrying — a duplicate execute can double-charge.

Response format

## bKash payment

**paymentID**: TR0011ON1565343075976
**Invoice**: INV-2026-0142
**Amount**: 1,500 BDT
**Status**: Completed
**trxID**: 8H7D9K2L01

Customer link: https://checkout.sandbox.bka.sh/...

Notes

  • amount is a string in the API ("1500", not 1500). Pass it as typed.
  • intent = authorization holds funds instead of capturing them; only use it if the user explicitly asks for a hold.
  • trxID appears only after a successful execute — do not promise it earlier.

Examples

/checkout-flow 1500 INV-2026-0142 01712345678
/checkout-flow 250 ORDER-88 customer_4417
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. 2mo ago First seen · 50 lines · 20 tokens per session scan A 2cabf2acaec1

Subscribe to this mod's changes

checkout-flow is a skill published in the GitHub repository theYahia/WWmcp (42 stars, last pushed 2mo ago), licensed MIT. It adds 20 tokens to every session and 462 once invoked, about $0.0001 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-06.

Related

checkout-flow compared with skills from other repositories

checkout-flow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
checkout-flowtheYahia/WWmcpSkill422mo agoMITA20Claude Code
lemonsqueezymnlt/teleportSkill87mo agoMITB84Claude Code, Codex
stripe-link-cliNousResearch/hermes-agentSkill267ktodayMITA17Claude Code, Codex
stripeasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A62Claude Code, Codex
stripe-bfcm-dashboardstripe/aiSkill2.1k5d agoMITA120Claude Code, Codex
stripe-best-practicesstripe/aiSkill2.1k5d agoMITA161Claude Code, Codex
okx-cex-portfoliookx/agent-trade-kitSkill5245d agoMITA236Claude Code, Codex