Anygen Task Download

v1.0.0

AnyGen: Download artifacts from a completed task.

0· 29· 1 versions· 0 current· 0 all-time· Updated 5h ago· MIT-0

Install

openclaw skills install anygen-task-download

task +download

PREREQUISITE: Read ../anygen-shared/SKILL.md for auth, global flags, and security rules.

Download artifacts from a completed task.

Usage

anygen task +download --task-id <id> --output-dir <dir>

Flags

FlagRequiredDescription
--task-idTask ID
--output-dirLocal directory to save files (default: current directory)
--file <name...>Download specific file(s) by name (repeatable)
--thumbnailDownload thumbnail image instead of main files

Examples

# Download all output files
anygen task +download --task-id xxx

# Download specific file(s) by name
anygen task +download --task-id xxx --file report.pptx
anygen task +download --task-id xxx --file report.pptx --file data.xlsx

# Download thumbnail (for preview)
anygen task +download --task-id xxx --thumbnail

# Specify output directory
anygen task +download --task-id xxx --output-dir ./output

Output

Returns JSON with downloaded file paths:

{
  "status": "completed",
  "task_id": "xxx",
  "files": [
    { "file": "./report.pptx", "name": "report.pptx" },
    { "file": "./data.xlsx", "name": "data.xlsx" }
  ],
  "task_url": "https://..."
}

Tips

  • The task must be in completed state. Use task get --wait first if needed.
  • Without --file, all output files are downloaded.
  • Use --thumbnail first to show a preview, then download the main files when user requests it.
  • For smart_draw tasks, diagram files are automatically rendered to PNG.
  • File names for --file come from the output.files[].name field in the task get response.

[!CAUTION] This is a write command (writes files to disk) — confirm the output directory with the user.

See Also

Version tags

latestvk977xz0thchanrr6e2bvmfcn9d85wj3w