Preface¶
Helping users buy cakes, flowers, or snacks inside an Agent — the common approach is to hang another layer of MCP or hand-write a bunch of HTTP wrappers. Dangaoss Mall (dangaoss.com) itself provides a JSON-RPC interface on the WorkBuddy side, and neither the parameter nesting nor the return structure is particularly intuitive. If you split “getting a token, selecting a city, managing addresses, searching SKUs, producing payment links” into scattered scripts, maintenance costs are high, and you easily run into encoding and invocation issues on Windows vs. Linux.
The following introduces the SkillHub community skill Uncle Cake Mall Ordering Assistant (located at @user_c70e116b/dgss, current version 1.0.29). It bakes the Dangaoss Mall ordering flow into a standard SKILL.md, which the Agent drives step by step; at the bottom layer it accesses the official endpoints via curl, and includes scripts/dgss.py as an invocation wrapper for environments such as Windows — no additional MCP proxy needed. SkillHub classifies it under business-ops, with the tag requires_api_key=true (on the business side it actually uses the user-provided user_token).
What is this¶
Uncle Cake Mall Ordering Assistant is an ordering Skill for Dangaoss Mall (dangaoss.com): finding, shopping, and booking products in categories such as cakes, desserts, snacks, and flowers. It is published by community user user_c70e116b, sourced from the community. When users mention buying cakes, desserts, snacks, or flowers, or when intents such as “Uncle Cake”, “cake”, “place order”, “order” appear, the Agent should automatically load this Skill.
Official entry points:
- Skill package address: https://api.skillhub.cn/user_c70e116b/dgss
- SkillHub page: https://www.skillhub.cn/skills/user_c70e116b/dgss
Core functionality¶
The following capabilities all come from the Skill description and the installation package contents, and can be reproduced step by step.
Triggering and tool constraints¶
- Trigger scenarios: natural-language requests such as cake reservations, birthday orders, dessert/snack/flower orders, finding nearby store goods.
- Allowed tools:
execute_command,read_file(the Agent runs scripts or curl, and reads/writes the local token file). - Protocol: requests
https://www.dangaoss.com/dsapi/workbuddy/mcp_server, JSON-RPC 2.0; the business success code iscode: 200; responses are double-layer JSON (outer RPC →result.content[0].text→ inner{code, data, msg}). The request timeout is about 60 seconds.
Addresses and cities¶
- The user proactively provides user_token (reusing others’ tokens is prohibited), and it is written to the local
dgss_token.md. - Ask for the delivery city, normalizing the name to the “City” level (e.g. “Beijing” → “Beijing City”); province, district/county, and other non-standard city names are not accepted.
- Call getAddrList to list the saved addresses for that city, and the user selects an
idas aid; when there are no addresses, add one via addAddrList (field names must usearea,addr, rather thandistrict,detail). - You can record
default_city,default_aidintodgss_token.md, and confirm on the next run whether to reuse them.
Product search¶
- Category cat_id:
1cakes,5snacks,8flowers; when the keyword is ambiguous, the Skill requires confirming the category with the user. - Call sweets_lst: required
user_token,aid,keyword,cat_id; optionalpagefor pagination. - The list must be displayed in the six columns specified by the Skill (index, brand, product name, specification, price, detail link).
Ordering and order queries¶
- Call getOrderaddr to generate the ordering URL (parameters include
spec_id,quantitys,city_name, etc.); before ordering, the specification ID and specification name must be verified to be consistent. - Parse the
sceneparameter from the returned URL, and it can be written intodgss_token.mdto facilitate repurchase or querying. - Call getOrderStatus to query the order status by
scene; when the user sends 8–20 digits of pure numbers, the Skill agreement allows it to be recognized as a scene credential.
Invocation methods¶
- Linux / macOS: try
curlfirst; you can also directly runpython "<skills directory>/dgss/scripts/dgss.py" <command> '<JSON parameters>'. - Windows:
curlis prone to garbling Chinese parameters, so the Skill requires wrapping the Python call incmd /c, using the skills directory under%USERPROFILE%for the path. - The first successfully probed execution method can be recorded into
MEMORY.md’sdgss_exec_method, and reused later.
Installation and enabling¶
Install the SkillHub CLI (when not installed)¶
First check whether the CLI is already present:
command -v skillhub && skillhub --version
If not installed, follow the SkillHub official installation documentation to run the full installation (the example is the recommended command from the docs):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Install this Skill¶
When installing, you must use --dir to point to the current Agent’s skills directory, otherwise it will land in ./skills/ by default and may not be recognized. The installation method shown by this Skill’s search results is:
skillhub install dgss --namespace user_c70e116b --dir <your Agent skills directory>
You can also let the AI operate according to the SkillHub installation instructions; an example prompt (from the SkillHub page):
Please install `@user_c70e116b/dgss` according to https://skillhub.cn/install/skillhub.md.
Common Agent skills paths (excerpted from the SkillHub installation documentation):
| Environment | Default skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
After installation, restart or refresh the Agent as required by the client you are using, so that SKILL.md is loaded.
Credentials and local files¶
- After the user logs in by opening https://www.dangaoss.com/web/wb_index.html in a browser, they provide the USER_TOKEN to the Agent; the Skill requires writing it into
dgss_token.md, and do not commit token-containing files to Git. - SkillHub metadata marks
requires_api_key=true; in practice this corresponds to configuring and safeguarding the user token.
Typical usage¶
Below we describe a complete order according to the order specified by the Skill; in actual conversations the Agent asks questions step by step, and the user does not need to remember interface names.
1. Provide the token
After the user finishes logging in to their Dangaoss account, they send the token to the Agent. The Agent updates the user_token in dgss_token.md.
2. Confirm the city and address
The Agent asks for the delivery city, and calls the address list when necessary (replace the Linux/macOS example path with your own skills installation location):
python "~/.cursor/skills/dgss/scripts/dgss.py" getAddrList '{"user_token":"TOKEN","city_name":"北京市"}'
3. Search for products
After determining cat_id and the keyword, search, for example for chocolate cake:
python "~/.cursor/skills/dgss/scripts/dgss.py" sweets_lst '{"user_token":"TOKEN","aid":"10806796","keyword":"巧克力","cat_id":1,"page":1}'
4. Generate the ordering link
After the user selects the specification corresponding to an index:
python "~/.cursor/skills/dgss/scripts/dgss.py" getOrderaddr '{"user_token":"TOKEN","aid":"10806796","spec_id":1,"city_name":"北京市","quantitys":1}'
The returned data field is an ordering URL that can be opened (e.g. https://www.dangaoss.com/web/wb_order.html?scene=...); the user completes payment in environments such as WeChat.
Quick commands (built into the Skill)
- “Order again”, “Repurchase”: read the last order information in
dgss_token.md, and repeat the order at the default address. - “Buy item X”: if a default address already exists, the city and address steps can be skipped and the search can be done directly.
- “Change address”, “Change token”: clear or update the corresponding field in
dgss_token.md, then go through the flow again.
Applicable scenarios and notes¶
Who it suits
- Teams or individuals who need to complete Dangaoss Mall product selection and order-link generation in natural language, in environments that support Agent Skills such as Cursor, Claude Code, Codex.
- Scenarios where you want to avoid deploying MCP separately, relying only on
curl/ scripts andexecute_command.
Limitations and notes
- For capabilities not implemented in the Skill flow, such as payment, logistics, refunds, and invoices, the Skill explicitly requires responding with fixed scripts, and does not guide users to other platforms.
- Ordering only supports a single
spec_id; some cities or regions may return unable to deliver (e.g. business code 405). - The token and address information is stored in local files in the Agent workspace, and you need to handle permissions and backups yourself; do not paste the token in public places.
- SkillHub page statistics (as of the data capture): rating 100000, 1932 downloads, 117 installs; take the SkillHub real-time data as authoritative.
Conclusion¶
Uncle Cake Mall Ordering Assistant fixes the Dangaoss Mall JSON-RPC ordering chain into an executable Skill flow: token login, city and address, category search, generating order links and order queries, and it distinguishes the invocation methods for Windows and Unix. If you are integrating lifestyle-style e-commerce capabilities, you can get the latest package and version notes from the official address:
https://api.skillhub.cn/user_c70e116b/dgss