DEV Community

RuoYu
RuoYu

Posted on

Tencent SkillHub Pay Adapter: a small pattern for paid AI agent workflows

When an AI agent workflow becomes paid, the hard part is usually not the payment button itself.

The hard part is state separation.

A team can easily confuse:

  • a draft with a submitted listing
  • a submitted listing with platform approval
  • approval with an actual purchase
  • payment with fulfillment
  • fulfillment with settlement
  • settlement with available funds

That is the service case behind TANCO's Tencent SkillHub Pay Adapter.

It is a SkillHub case for keeping paid AI workflow operations inspectable: draft, submission, approval, payment, fulfillment, settlement, and funds are treated as separate states instead of one vague β€œit is live / it sold” status.

Concrete service case:

  • Check whether a Skill is only drafted, submitted, under review, approved, or published.
  • Keep unpaid orders separate from paid orders.
  • Keep paid-but-not-fulfilled orders separate from completed delivery.
  • Keep fulfilled orders separate from settlement and available funds.
  • Report payment and delivery state with timestamps instead of assuming that a download, listing, or HTTP success means revenue.
  • Give operators a clear next action: fix listing metadata, wait for review, fulfill a paid order, check settlement, or stop because payment is not complete.

This matters for AI agents because paid workflows often cross product, marketplace, payment, and fulfillment boundaries. If an agent collapses those boundaries, it can overclaim revenue, deliver too early, or miss a real paid order.

Related SkillHub page:

https://skillhub.cn/enterprise/org-j3zmzop1?publisher=%E5%94%90%E5%8F%AF%E5%88%9B%E7%A0%94

Tencent SkillHub Pay Adapter:

https://skillhub.cn/team-skills/tencent-skillhub-pay-adapter

Public reference repo:

https://github.com/tancoai/tangke-skillhub

Other TANCO Skill examples in the same SkillHub:

  • Bianzhen: evidence-led verification for research and claims.
  • Sunmao: modular delivery with clear fit points.
  • Lianzhu: chained execution from goal confirmation to acceptance checks.
  • Chuandeng: cross-agent / cross-session handoff.
  • Huqiang: guardrails for scope, account boundaries, permissions, and approval gates.
  • Chayan: signal review that turns messy notes, alerts, logs, or feedback into a clear next action.

Top comments (0)