1688 Store Diagnosis
Paste the following prompt into your AI chat to install this skill:
To install the skill, please follow the official guide at https://skillhub.cn/install/skillhub.md and install the skill with the canonical name @daze/1688-diagnosis.
About this skill
Specific Problem
When operating a store on the 1688 platform, data is scattered across different backends like the Business Advisor (Sycm) and Workbench. Operators often need to manually log in, copy-paste data, and generate diagnostic reports based on experience. This process is time-consuming, error-prone, and can lead to analysis biases due to data omissions or formatting issues. Traditional methods lack automation, making frequent store health checks inefficient, especially when quickly identifying issues in traffic, transactions, or inventory turnover.
How the Skill Works
This skill uses a set of pre-installed Python scripts to directly connect to 1688's internal APIs, automating the entire workflow from data collection to report generation. Core capabilities include:
- API-Direct Data Collection: Utilizes api_client.py to directly call Business Advisor's GET interfaces and Workbench's MTOP POST interfaces, bypassing browser plugins for stable and fast data retrieval.
- Intelligent Cookie Management: Employs cookie_manager.py to store and manage login credentials by store name, supporting multi-store switching, automatic expiration detection, and re-login triggering to avoid repetitive operations.
- Structured Report Generation: generate_diagnosis.py reads collected JSON data, generates a Markdown diagnostic report based on a predefined template covering dimensions like traffic, transactions, and inventory, and automatically converts it to HTML for easy sharing.
Key workflow steps are as follows:
1. Environment Setup: Execute the initialization script setup.sh, which automatically downloads dependencies, unpacks an isolated Chromium browser, and creates necessary directories for cross-platform compatibility.
2. Data Collection: Run fetch_data.py, which checks if existing Cookies are valid; if not, it launches the browser to extract new Cookies, then directly connects to APIs to fetch full data and save it as JSON.
3. Report Generation and Validation: Use generate_diagnosis.py to compile JSON data into metrics and generate a Markdown report; then run check_utf8.py to verify file integrity, and finally convert to HTML format via md_to_html.py.
Applicable Boundaries and Notes
- Environment Requirements: The skill depends on
Python 3.12and an isolated Chromium browser. On Windows, it must isolate the user's daily Chrome instance, controlling it via CDP port 9222 to prevent data leaks or conflicts. - Mandatory Script Usage: All operations must strictly follow the script workflow; writing custom code to substitute is prohibited. Data sources are limited to API responses—fields that cannot be obtained (e.g., some real-time metrics) will be marked in the report for manual supplementation, without guessing or fabricating.
- Strict Report Template: The diagnostic report format is fixed, including chapter structure, table column names, and conclusion formats. The model can only dynamically write analyses based on data, without adding or removing chapters or decorative elements to ensure consistency.
- Complex Login Process: Browser login involves Cookie extraction and process management, requiring continuous polling within the same session to handle QR code refreshes and timeouts. It is suitable for users with technical backgrounds in controlled environments.
Use Cases
- As a 1688 store operations manager, needing to quickly collect full data from the Business Advisor and Workbench after each major promotion (e.g., 328, 920) to generate a structured diagnostic report for review meetings and guide the next phase's operational strategy.
- As an e-commerce data analyst, needing to perform deep analysis of the store's traffic sources, keyword performance, and inventory turnover weekly. Manually exporting and merging multiple reports from the 1688 backend is time-consuming and error-prone, requiring an automated tool to extract and compile key metrics.
- As an operations director managing multiple 1688 stores, needing to horizontally compare real-time transaction data, buyer structure, and customer service response rates across stores to quickly identify operational weaknesses, as the backend does not provide a cross-store summary view.
- As a third-party service provider needing to deliver store health analysis to clients, requiring a repeatable, standardized process to convert raw API data into professional Markdown/HTML diagnostic reports with specific recommendations.
Best For
- 1688 Store Operations Manager: Responsible for overall store operations, needing to regularly monitor core data like traffic, transactions, and inventory turnover, and generate data-driven diagnostic reports for team briefings and guidance.
- E-commerce Data Analyst: Specializes in extracting insights from multi-source data, requiring efficient and accurate access to structured data from 1688 APIs to build analysis models or create visualization reports.
- Operations Director managing multiple 1688 stores: Needs to quickly obtain a comparison of key performance indicators (KPIs) across stores for resource allocation, benchmark management, and identifying common issues.
- SaaS product or technical team providing data services for small and medium e-commerce businesses: Aims to standardize and modularize 1688 platform data collection capabilities to integrate into their own products and offer value-added analysis services to clients.
Related Skills
Bid Proposal Verification Tool is used to verify the consistency between bid proposals and tender documents, checking table of contents, page numbers, attachments, and seals, based on Shibot Technology's bid data API.
An AI engine built on extensive bidding data to precisely search for tender projects and potential clients using natural language or structured criteria.
Automates bid document, response table, and material list generation from bid files and enterprise data using Shibuo Technology API.
An AI assistant built on Shibona Tech's full-spectrum bid data API for analyzing market intelligence, competitor moves, client preferences, and regional trends, with natural language querying and deep insights.