Config Tracker
自动检测并提交 OpenClaw 配置与工作区文件变更,实现零手动操作。
下载 642
从完成的任务中下载生成的文件,支持指定文件或缩略图。
openclaw skills install @supertilico2001/anygen-task-download命令、参数、文件名以原文为准
前置要求: 请先阅读 [
../anygen-shared/SKILL.md](../anygen-shared/SKILL.md) 了解认证方式、全局标志和安全规则。
从已完成的任务中下载生成的文件。
anygen task +download --task-id <id> --output-dir <dir>| 参数 | 必填 | 说明 |
|---|---|---|
--task-id | ✓ | 任务 ID |
--output-dir | — | 本地保存文件的目录(默认为当前目录) |
--file <name...> | — | 按文件名下载指定文件(可重复使用) |
--thumbnail | — | 下载缩略图而非主文件 |
# 下载所有输出文件
anygen task +download --task-id xxx
# 按文件名下载特定文件
anygen task +download --task-id xxx --file report.pptx
anygen task +download --task-id xxx --file report.pptx --file data.xlsx
# 下载缩略图(用于预览)
anygen task +download --task-id xxx --thumbnail
# 指定输出目录
anygen task +download --task-id xxx --output-dir ./output返回包含已下载文件路径的 JSON:
{
"status": "completed",
"task_id": "xxx",
"files": [
{ "file": "./report.pptx", "name": "report.pptx" },
{ "file": "./data.xlsx", "name": "data.xlsx" }
],
"task_url": "https://..."
}completed 状态。如需等待,请先使用 task get --wait。--file,将下载全部输出文件。--thumbnail 查看预览,确认后再下载主文件。smart_draw 类型的任务,图表文件会自动渲染为 PNG 格式。--file 中指定的文件名应来自 task get 响应中的 output.files[].name 字段。[!CAUTION]
此命令为 写入操作(将文件写入磁盘),请确认输出目录是否正确。
anygen-workflow-generate](../anygen-workflow-generate/SKILL.md) — 完整的内容生成工作流已收录 1 个 Skill