AI Agent Hub
Back to skills
E-Commerce Daily Report OSS Upload icon

E-Commerce Daily Report OSS Upload

Business Operations Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_e9ec61f3/oss-report-upload into your AI assistant.

About this skill

Problem

Daily e-commerce reports are often stored in separate local folders, with different file formats and platform-specific rules. Manual uploads can miss nested folders, use the wrong business date, or submit Windows backslash paths that OSS cannot resolve. This skill turns the PDD, Douyin, JD, and Tmall daily report upload process into a repeatable workflow.

How It Works

For PDD, Douyin, and Tmall, the workflow first checks whether all files in the corresponding Desktop folder were modified today. If any file is stale, it stops and prompts the user to update the files. JD skips that date check, extracts ZIP files while preserving the original file names inside the archive, and overwrites existing XLSX outputs. Uploads are keyed by yesterday’s date and keep the original subdirectory structure, such as product, category, and store folders, without changing file formats. Credentials are loaded from the configured OSS_CREDENTIALS.py file. The implementation also needs to handle Windows path separators, converting backslash paths from os.path.relpath() into forward-slash paths for OSS.

Boundaries

This is intended for Windows workstations where daily reports are already saved in the expected local folders. It is not meant for pulling data from platform APIs, cleaning or transforming reports, or building cross-platform analytics. Trigger phrases should identify the platform clearly, such as “process JD data.”

Use Cases

  • Ops staff upload local PDD, Douyin, and Tmall daily reports to OSS while keeping folder structure.
  • Data staff extract JD ZIP reports, overwrite matching XLSX files, and upload them to yesterday's folder.
  • On-call staff stop the upload and prompt the user when report files were not modified today.
  • Windows users convert backslash paths to OSS-compatible paths before uploading daily reports.

Best For

  • E-commerce ops owners who need PDD, Douyin, and Tmall daily reports archived to OSS by date and subfolder.
  • Data engineers handling JD ZIP reports who need extraction, original file names, and XLSX overwrite.
  • Windows automation engineers maintaining local daily report scripts who need OSS path and credential handling.
  • On-call process owners who need stale report files to block upload and trigger an update prompt.