AI Agent Hub
Back to skills
Mai Trading Matchmaking icon

Mai Trading Matchmaking

Business Operations Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md and install @user_15292d5a/yjkj-mai.

About this skill

The problem it addresses

A credible buyer-merchant match often fails because the conversation is missing a deterministic state base: whether inventory is real, whether quotes use the same product version, whether order transitions are traceable, whether payment evidence exists, and whether risks are stated plainly. Mai separates what an AI agent is good at—natural language, negotiation, summaries, and risk explanations—from the marketplace state maintained by scripts/mai.py, so the model does not infer inventory or payment success from chat context alone.

How it works

  • State and generation are split: deterministic data lives in a CLI-backed state layer, while the model converts intent into search, comparison, quoting, confirmation, and status updates.
  • Buyer and merchant flows: the merchant can create a profile, publish SKUs, adjust stock, record buyer messages, and advance orders only when inventory and terms are clear; the buyer can discover merchants and products, compare shortlisted SKUs, inspect review signals, log discussion, and create a draft order.
  • Explicit transaction states: orders move through states such as draft, quoted, confirmed, payment_pending, paid_external, fulfilled, and completed, while disputes can enter disputed and then resolve, refund, or cancel.
  • Payment boundaries are explicit: Mai does not custody funds directly. Local mode records payment_url and payment_reference; registry mode records PSP custody events. It should not claim payment success, release, or refund without PSP or external evidence.

Where it fits

It is useful for private catalogs, registry-backed discovery, product comparison, and order-status tracking, but it is not a real escrow or automatic payment-completion service. For stock, quotes, order confirmation, refunds, and disputes, the state records and external evidence should drive the decision.

Use Cases

  • Buyers compare shortlisted Longjing tea SKUs on price, stock, and reviews, then log discussion before creating a draft order.
  • Merchants confirm stock and terms after an inquiry, then move an order from quoted to confirmed and reserve inventory.
  • Operators discover cross-machine merchant supply in a registry, pull buyer messages, and prepare pending order drafts.
  • Risk teams review disputes by checking payment evidence, PSP custody records, and refund status instead of relying on chat.

Best For

  • Merchant operations owners handling catalogs and quotes: they need SKUs, stock, buyer inquiries, and order state to stay traceable.
  • Buyer-side sourcing operators: they need to compare SKU price, stock, and review signals, and leave an audit trail before ordering.
  • Engineers building registry marketplaces: they need merchant publishing, buyer search, order state, and PSP payment-event boundaries.
  • Risk or support staff handling disputes: they need order status, refund paths, and payment evidence to avoid unsupported commitments.