Xpersona
A

Alibaba Store Analysis

CLAWHUB · Unverified

Alibaba International Station weekly business report analysis skill. Retrieves store weekly report data via browser session, validates, and presents structur... Skill: Alibaba Store Analysis Owner: simoncai519 Summary: Alibaba International Station weekly business report analysis skill. Retrieves store weekly report data via browser session, validates, and presents structur... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-13T06:50:43.414Z | auto alibaba-store-analysis 1.0.0 - Added version metadata and improved attribution in SKILL.md. - Moved external repository cred

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s173dng2k1aa2nm91ggjy3sx5984hyga:alibaba-store-analysis
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-simoncai519-alibaba-store-analysis/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

27,782 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: alibaba-store-analysis
description: Alibaba International Station weekly business report analysis skill. Retrieves store weekly report data via browser session, validates, and presents structured diagnostics with on-demand deep report access.
version: "1.0.0"
---


# Alibaba Store Analysis Skill

## Overview

This skill automates the retrieval and analysis of Alibaba International Station weekly business reports. It logs in via a browser, pulls summary data, validates it, displays key metrics and diagnostics, and optionally fetches the full report for on‑demand queries.

## Core Workflow (high‑level)
1. **Login Check** – Open `https://i.alibaba.com/`. If redirected to the login page, prompt the user to log in and wait until the session is authenticated.
2. **Fetch Summary Data** – Call `diagnoseData.json` API and obtain `encryptedReportId`, `receipt` and diagnostic arrays.
3. **Validate Data** – Silent checks for empty response, missing `encryptedReportId` or `receipt`. On failure, display a friendly fallback message and stop.
4. **Display Summary** – Render four sections in one output:
   - Store data overview (metrics table)
   - Diagnostic summary text
   - Merchant task list
   - Link to the weekly report using `encryptedReportId`.
5. **Full Report Retrieval** – Using the `receipt` token, call `queryWeekReportAllData.json` to obtain the detailed report. Validate silently; on success announce *"Full data analysis complete. Feel free to ask me any questions about your store data!"* and wait for user queries.

## Usage
```sh
openclaw run alibaba-store-analysis
```
The skill will guide the user through any required login steps and then output the analysis automatically.

For the complete step‑by‑step workflow, API payloads, error handling and module explanations, see `references/workflow.md`.


---

**Created by [Simon Cai](https://github.com/simoncai519) · More e-commerce skills: [github.com/simoncai519/open-accio-skill](https://github.com/simoncai519/open-accio-skill)**

_meta.json

{
  "ownerId": "kn749sw2ctptf40dsxj3kj7yv584h4m6",
  "slug": "alibaba-store-analysis",
  "version": "1.0.0",
  "publishedAt": 1776063043414
}

references/workflow.md

## Full Workflow Details

### Step 1: Login Check
- Open `https://i.alibaba.com/` in the browser tool.
- If the URL redirects to `https://login.alibaba.com/...` → user is not logged in.
  - Prompt: *"Please log in to Alibaba International Station. Once you have completed login, press Enter to continue.*"
  - Poll the page until the URL no longer redirects (i.e., the main dashboard loads).
- If no redirect occurs, proceed directly.

### Step 2: Retrieve Business Data (Summary)
Execute in the browser console:
```js
(async () => {
  const url = 'https://crm.alibaba.com/crmlogin/aisales/dingwukong/diagnoseData.json';
  const r = await fetch(url, {method: 'POST', credentials: 'include'});
  if (!r.ok) throw new Error(`HTTP error: ${r.status}`);
  return await r.json();
})()
```
Expected JSON fields (important):
- `encryptedReportId` – token for constructing the weekly report link.
- `values.receipt` – token required for the detailed report API.
- `values.weekDiagnose` – array of diagnostic objects, each containing `scope`, `diagnoseTitle`, `diagnoseSummary`.
- `values.indicatorList` – metric list for the overview table.
- `maTaskList` – merchant task list (title & description).
- `diagnoseSummary` – free‑text diagnostic summary.

### Step 3: Data Validation (Silent)
1. If the entire response is `{}` or `null` → **CRITICAL**: No data available. Abort workflow with fallback message.
2. Missing/empty `encryptedReportId` → abort.
3. Missing/empty `values.receipt` → abort.
4. Non‑critical missing fields:
   - Missing `weekDiagnose` → note *"Business diagnostics not included for this period"* and continue.
   - Both `diagnoseTitle` and `diagnoseSummary` empty → skip that diagnostic entry.

**Fallback message** (displayed on abort):
```
Sorry, no business data is available for the current account in the Alibaba Weekly Report system. Analysis cannot be performed at this time.

**Expert Tip:** If you can see data in your backend, provide a screenshot or list key metrics (Exposure, Clicks, Inquiries, etc.) and I will give a manual diagnostic.
```

### Step 4: Structured Summary Display
Render four sections **in a single response** after validation passes.

#### 4.1 Store Data Overview
Create a Markdown table from `values.indicatorList`:
| Metric | This Week | WoW Change | vs. Industry Avg |
|---|---|---|---|
| {name} | {value} | {cycleCRC || '-'} | {valueVsAvg || '-'} |
If `cycleCRC` or `valueVsAvg` missing, show `-`.

#### 4.2 Diagnostic Summary
Print `values.diagnoseSummary` verbatim.

#### 4.3 Merchant Tasks
Iterate `maTaskList`, strip HTML tags from `desc`, and output:
- **{title}**\n  {desc cleaned}

#### 4.4 Weekly Report Link
Construct URL:
```
https://crm.alibaba.com/crmagent/crm-grow/luyou/report-render.html?id={encryptedReportId}&dateScope=week&isDownload=false
```
Display as a clickable Markdown link.

### Step 5: Full Report Retrieval
If Step 3 validation succeeded, use `values.receipt` to call the detailed report API:
```js
(async () => {
  const r

skill-card.md

## Description:

Alibaba International Station weekly business report analysis skill. Retrieves store weekly report data via browser session, validates, and presents structured diagnostics with on-demand deep report access.

This skill is ready for commercial/non-commercial use.

## Publisher:

[simoncai519](https://clawhub.ai/user/simoncai519)

### License/Terms of Use:

MIT-0

## Use Case:

External sellers and e-commerce operators use this skill to retrieve Alibaba International Station weekly store reports, review store metrics, diagnostics, and merchant tasks, and ask follow-up questions about detailed report data.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can expose private Alibaba store analytics, report tokens, merchant tasks, and business diagnostics in the agent conversation.

Mitigation: Run it only with Alibaba accounts whose business metrics may be shown to the agent, and avoid using it on sensitive accounts unless that disclosure is acceptable.

Risk: The workflow depends on the user's logged-in Alibaba browser session to retrieve report data.

Mitigation: Confirm the active Alibaba account before running the skill and stop if the browser is logged in to the wrong account.

Risk: Missing or unavailable Alibaba report data can lead to incomplete analysis.

Mitigation: Use the skill's validation and fallback behavior; provide screenshots or key metrics manually when the weekly report system has no data.

## Reference(s):

- [Workflow details](references/workflow.md)
- [ClawHub skill page](https://clawhub.ai/simoncai519/skills/alibaba-store-analysis)

## Skill Output:

**Output Type(s):** [text, markdown, guidance]

**Output Format:** [Markdown with metric tables, diagnostic summaries, task bullet lists, report links, and concise answers to follow-up questions]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Uses the user's authenticated Alibaba browser session and avoids proactively dumping the full report JSON after retrieval.]

## Skill Version(s):

1.0.0 (source: frontmatter and release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Alibaba Store Analysis and adjacent AI workflows.