All script paths are relative to this Skill directory.
Prerequisites: Requires being logged in and having selected a scan book (refer to the deepscan-login and deepscan-task Skills).
Default Export (Excel)
python scripts/export.py export
Export in a Specified Format
| Format | Command |
|---|---|
| Excel (Default) | python scripts/export.py export --format excel |
| CSV | python scripts/export.py export --format csv |
| TXT | python scripts/export.py export --format txt |
If the user does not specify a format, Excel is used by default.
Example of a Successful Return
{
"task_id": "019c30a1-...",
"task_title": "默认扫码本",
"format": "EXCEL",
"file_name": "20260303095041扫码记录.xlsx",
"file_url": "https://cli-deepscan-net.oss-cn-hangzhou.aliyuncs.com/exports/...",
"file_size": 6802,
"record_count": 2
}
Inform the user: the export file has been generated, containing {record_count} records,click to download {file_name}。
Error Handling
- No scan book selected: Guide the user to execute the deepscan-task Skill to select a scan book.
- Not logged in: Guide the user to execute the deepscan-login Skill to complete login.