AI Agent Hub
Back to skills
Xianyu Auto-Delivery Assistant icon

Xianyu Auto-Delivery Assistant

Business Operations Updated 2026.08.30

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

Please install @user_153f9a36/xianyu-auto-send according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem Solved

Sellers shipping digital goods on Xianyu often have to check chat pages, identify system messages such as “waiting for delivery,” extract orderId from order detail pages, call shipping APIs, and then send keys or links. Manual work misses orders, while naive automation hits risk controls, token expiry, and login loss.

How It Works

The skill enforces a fixed sequence:
- Open Xianyu chat with non-headless Chrome plus Xvfb, then check for sliders, “illegal access,” and other risk-control signals.
- Treat new paid orders only as system message cards with delivery phrases, ignoring buyer-typed text.
- Click “go to deliver” only to extract orderId from the URL, then call the virtual delivery API to mark the order as delivered.
- After a successful API result or ORDER_ALREADY_DELIVERY, send a fixed key, pool key, external API key, or mixed message.
- If token expiry, risk controls, or login failures occur, screenshot the page and post it to the configured group chat for manual QR recovery.

Boundaries

It fits semi-automated delivery for virtual goods or key-based products, not as an official Xianyu API replacement. It requires correct group-chat, API signing, and key-pool configuration; Cron frequency, Cookie domain, and browser keep-alive affect stability. Sellers should confirm compliance, buyer consent, and platform terms.

Use Cases

  • Sellers periodically inspect Xianyu chats, identify pending delivery system cards, and mark orders delivered automatically.
  • After API success, send the first key from the key pool and delete the used line.
  • On slider or illegal-access blocks, screenshot the page and post it to Feishu for QR recovery.
  • When one buyer has multiple pending orders, process each delivery card individually.

Best For

  • Xianyu sellers selling activation codes or membership links who want fewer manual delivery clicks and key copies.
  • Virtual-goods fulfillment operators who want pending-order status and send records reported consistently.
  • Browser-automation engineers who need Xianyu chat detection, delivery API calls, and risk-control screenshot recovery.
  • Ops engineers maintaining scheduled tasks who want isolated-session inspection and group-chat reporting without interrupting the main chat.