PREREQUISITE: Read
../anygen-shared/SKILL.mdfor auth, global flags, and security rules.
Download artifacts from a completed task.
bash
anygen task +download --task-id <id> --output-dir <dir>
FlagRequiredDescription--task-id✓Task ID--output-dir—Local directory to save files (default: current directory)--file <name...>—Download specific file(s) by name (repeatable)--thumbnail—Download thumbnail image instead of main files
bash
# 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
Returns JSON with downloaded file paths:
json
{
"status": "completed",
"task_id": "xxx",
"files": [
{ "file": "./report.pptx", "name": "report.pptx" },
{ "file": "./data.xlsx", "name": "data.xlsx" }
],
"task_url": "https://..."
}
completed state. Use task get --wait first if needed.--file, all output files are downloaded.--thumbnail first to show a preview, then download the main files when user requests it.--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.
anygen-workflow-generate — Full content generation workflow