Chanmama E-Commerce Data Query
Paste the following prompt into your AI chat to install this skill:
Please install @org-zt34hbro/cmm according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Working with Chanmama data APIs is usually not a single lookup. It requires auth setup, resolving names to IDs, choosing the primary entity, assembling query fields, and interpreting results. Passing an author, product, or shop name as an ID, or summing values like 1000W+ as exact numbers, leads to incorrect conclusions.
How It Works
- Permission and version checks: call
permission/listfirst to verifyCMM_API_KEY, membership tier, available modules, and data windows before querying restricted endpoints. - Entity resolution: when only names are available, use common search to obtain
author_id,promotion_id,shop_id,brand_code, oraweme_id. - Reference selection: choose the right reference file based on the primary entity, such as
product.md,author.md,shop.md,brand.md,live.md,video.md, orcategory.md. - Query execution: build
apiandqueryfrom the documented fields, call the request runnerscripts/call_cmm_api.py, and surfacemsgwhencode != 0. - Metric interpretation: keep sales and volume values as raw interval strings. Compare them qualitatively only; do not perform addition, subtraction, multiplication, or division.
Boundaries
Data is usually T+1, so the end date for “last 7 days” should be yesterday. Leaderboards, period totals, audience profiles, and detail fields depend on membership rights. Platform values are interval-based and should not be used for precise financial aggregation.
Use Cases
- After receiving an author name, check permissions, then use author library and product list to locate recent selling items.
- Use product leaderboards and product base data to compare sales interval ranges for different brand products in a period.
- Search live room by name, then review live details, audience flow, and highlights to summarize products and interaction.
- Use category analysis by keyword or category name, then identify drill-down product, author, and shop modules.
Best For
- E-commerce operators who need to convert author, product, or shop names into IDs and query selling details.
- Merchandise analysts who compare product, brand, or shop sales intervals within Chanmama rights.
- Live or content operators who organize live process, video assets, and category drill-down paths.
- Engineers who want to wrap CMM API calls and handle auth, error messages, and date boundaries.
Related Skills
A Chinese early-stage VC pitch-deck framework covering stage judgment, 12 core sections, investor preferences, and policy risk disclosure.
A requirement alignment workflow that connects clarification, PRD generation, dual-panel Demo-PRD linkage, annotation write-back, and acceptance closure.
A local-life operations assistant for diagnosing bottlenecks and structuring group-buy, livestream, influencer, private-domain, and review plans.
Compare eight popular cross-border company jurisdictions on cost, tax, setup flow, and platform fit, then output recommendations, a comparison table, and registration checklist.