Introduction¶
Integrating brand cake ordering into conversations is a common practice involving adding another layer of MCP service or letting users open mini-programs or websites to check SKUs. This approach has high maintenance costs, and environment changes require reconfiguring proxies. If you wish to use natural language in agents like Cursor or Claude Code (which support Skills) to complete “Select City → Set Address → Search Cake → Get Payment Link,” you need a solution that does not depend on local MCP processes but can hardcode the workflow into SKILL.md.
Below, I introduce the SkillHub community Skill “Bugedongjing” (Coordinate @user_965199d2/bugedongjing, Current version v1.0.4): targeted at the Pantry channel, it calls the Dangaoss Mall JSON-RPC interface via HTTP. Linux/Mac users can prioritize curl, while Windows users are recommended to use the scripts/dgss.py included with the Skill; no need to deploy an MCP proxy separately.
What is This¶
“Bugedongjing” is a business-ops type Skill listed by community publisher user_965199d2. The official description positions it as a Pantry cake ordering assistant: it triggers when users want to buy Pantry cakes or keywords such as “Pantry”, “派悦坊” (Pantry), “派” (Pai), or “蛋糕” (Cake) appear in the conversation.
The Skill declares the required tools as execute_command and read_file, connecting to the backend at https://www.dangaoss.com/dsapi/workbuddy/mcp_server (JSON-RPC 2.0, method is tools/call). After logging in at https://www.dangaoss.com/web/wb_index.html, the user provides the user_token (SkillHub tag is requires_api_key=true, here it corresponds to the Dangaoss account Token, not the SkillHub platform Key).
SkillHub page statistics (based on scraped data): Rating 100000, Downloads 561, Installs 0.
Core Capabilities¶
Based on verification of SKILL.md and references/api_docs.md inside the package, the capability boundaries are as follows.
- Shipping Address:
getAddrListlists saved addresses by city;addAddrListis used to add new ones if no address exists. The Pantry channel is fixed aschannel_no=brand_pantry. - Product Search:
brand_sweets_lstsearches by keyword, fixedbrand_id=101690(Pantry), and supportspagepagination. - Generate Order Link:
getOrderaddrreturns a payment page URL (containing thesceneparameter) based on the Address ID (aid), Spec ID (spec_id), quantity, etc. - Order Status:
getOrderStatusqueries the status usingscene(e.g., “Order Unpaid”). - Local Memory:
dgss_token.mdsaves the token, default city/address, and recent orders;MEMORY.mdrecords the preferred call method (curl/python/cmd_python).
Regarding constraints: Only Pantry cakes are supported, not other brands or non-cake categories; ordering is only allowed for a single spec_id.
Installation and Enablement¶
The installation process follows the official SkillHub documentation skillhub.md.
1. Prepare CLI¶
Check if skillhub is installed locally:
command -v skillhub && skillhub --version
If not installed, you can execute the full installation script (requires internet connection):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install to the Current Agent’s Skills Directory¶
You must use --dir to point to the skills directory recognized by the current Agent, otherwise the default installation to ./skills/ might not be loaded. Common path examples:
| Agent | Skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ in the project |
Installation command (community source requires namespace):
skillhub install bugedongjing --namespace user_965199d2 --dir ~/.cursor/skills/
The equivalent coordinate format is @user_965199d2/bugedongjing. Upon successful installation, the directory will look like ~/.cursor/skills/@user_965199d2/bugedongjing/, containing SKILL.md, scripts/dgss.py, and references/api_docs.md.
3. Enable and Credentials¶
- Restart or refresh the Agent to make the new Skill take effect.
- Before the user places their first order, open
https://www.dangaoss.com/web/wb_index.htmlin a browser to log in and provide the user_token to the Agent; the Skill will write it todgss_token.mdin the workspace (do not commit to the version control).
Typical Usage¶
Conversation Side Flow¶
The Agent executes in the order specified in SKILL.md, summarized as follows:
- Get and save
user_token. - Confirm the delivery city (standardized as “XX City”); you can read
default_city/default_aidfromdgss_token.mdto skip duplicate location selection. - Pull or add an address to get
aid. - Search for Pantry cakes by keyword and display a 6-column table for the user to select specifications.
- After validating
spec_id, callgetOrderaddrto return the payment link andscenecredential.
Users can say “Order another”, “Change address”, “Change token”, etc.; the Skill has corresponding memory and repurchase logic.
Command Line Side (Linux / Mac)¶
The Skill allows prioritizing the use of curl to connect directly to JSON-RPC. Taking the example of getting the address list for Beijing City (you need to replace TOKEN with the real user_token and add the Pantry channel number):
curl -s -X POST "https://www.dangaoss.com/dsapi/workbuddy/mcp_server" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"getAddrList","arguments":{"user_token":"TOKEN","city_name":"北京市","channel_no":"brand_pantry"}},"id":1}'
Business data is inside result.content[0].text in the response; parsing it shows code: 200 indicating success.
Command Line Side (Windows or when needing to avoid curl Chinese encoding issues)¶
Use the Python script included in the Skill package. The path depends on the actual installation directory:
python "%USERPROFILE%\.cursor\skills\@user_965199d2\bugedongjing\scripts\dgss.py" getAddrList '{"user_token":"TOKEN","city_name":"北京市","channel_no":"brand_pantry"}'
On Windows, SKILL.md requires wrapping the full command with cmd /c to avoid PowerShell encoding issues; specific examples can be found in SKILL.md in the installation directory.
Example for searching for cakes (Linux/Mac, replace token, aid, and keyword):
python ~/.cursor/skills/@user_965199d2/bugedongjing/scripts/dgss.py brand_sweets_lst \
'{"user_token":"TOKEN","aid":"10806796","keyword":"巧克力","brand_id":101690,"channel_no":"brand_pantry","page":1}'
Applicable Scenarios and Notes¶
Who is this for: Individuals or small teams who frequently handle life-related tasks in Agents and need to standardize the Pantry cake ordering workflow; users familiar with SkillHub installation and willing to obtain the token from the Dangaoss page themselves.
Limitations and Notes:
- Brand and Category: Only Pantry cakes can be ordered; capabilities for refunds, logistics, invoices, etc., are outside the Skill’s scope.
- Credential Security:
user_tokenis a personal account credential and should only be stored indgss_token.md. Add it to.gitignorewhen publishing or sharing the project. - Path Examples: Some examples in SKILL.md still write the directory name
paiyuefang; in reality, it should be replaced with thebugedongjinginstallation path (taking the Cursor path as an example above). - Performance: The interface timeout is set to 60 seconds; patience is required on the Agent side during peak hours.
- Platform Tags:
requires_api_key=truerefers to the business-side token; installing this Skill itself does not force the use of the SkillHub Enterprise API Key.
The publisher user_965199d2 also has an earlier Skill @user_965199d2/paiyuefang (v1.0.1) with consistent functionality descriptions; “Bugedongjing” is the updated v1.0.4 entry, and it is recommended to install the latter in a new environment.
Conclusion¶
“Bugedongjing” turns the Pantry cake ordering process into a repeatable Agent workflow: address management, search within the brand, order link generation, and order query are all written in SKILL.md; the call layer uses curl or the built-in dgss.py, eliminating the need to build MCP yourself. If you want to try running it in an Agent, you can install it from the SkillHub page and prepare the user_token following the Dangaoss process.
- SkillHub Showcase Page: https://www.skillhub.cn/skills/user_965199d2/bugedongjing
- API Index Address: https://api.skillhub.cn/user_965199d2/bugedongjing
- Installation Instructions: https://skillhub.cn/install/skillhub.md