algorithmic-art
Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric,…
Upload files or directories to TOS-compatible object storage for Volcano Engine or BytePlus and download files from URLs. Use this skill when (1) Upload Agent-generated files or directories for sharing, (2) Download files from URLs before Agent processing.
$ npx -y skills add bytedance/agentkit-samples --skill tos-file-access --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/tos-file-accessContext preview
The summary Claude sees to decide when to auto-load this skill.
Upload files or directories to TOS-compatible object storage for Volcano Engine or BytePlus and download files from URLs. Use this skill when (1) Upload Agent-generated files or directories for sharing, (2) Download files from URLs before Agent processing.
name: tos-file-access description: Upload files or directories to TOS-compatible object storage for Volcano Engine or BytePlus and download files from URLs. Use this skill when (1) Upload Agent-generated files or directories for sharing, (2) Download files from URLs before Agent processing. license: Complete terms in LICENSE.txt
This skill provides utilities for uploading files and directories to TOS-compatible object storage for Volcano Engine or BytePlus, and downloading files from URLs.
**TOS-compatible object storage** is used by Volcano Engine and BytePlus, similar to AWS S3. This skill enables:
When users provide file URLs (TOS or external), download them before processing:
# Download single file python scripts/file_download.py https://example.com/data.csv # Download multiple files python scripts/file_download.py https://example.com/data.csv https://example.com/config.json # Specify save directory and filenames python scripts/file_download.py https://example.com/data.csv --save-dir /workspace --filenames dataset.csv
After generating files or directories (videos, charts, reports, output folders, etc.), upload them to TOS for user access:
# Upload single file (auto-detected) python scripts/tos_upload.py /path/to/output.mp4 --bucket my-bucket # Upload entire directory (auto-detected) python scripts/tos_upload.py /path/to/output_folder --bucket my-bucket # Upload to BytePlus with custom expiration TOS_REGION=ap-southeast-1 python scripts/tos_upload.py /path/to/report.pdf --bucket my-bucket --expires 86400
Download files from URLs to local storage.
**Usage:**
python scripts/file_download.py <url1> [url2 ...] [--save-dir DIR] [--filenames NAME1 NAME2 ...]
**Arguments:**
**Examples:**
# Download single file to /tmp python scripts/file_download.py https://tos-cn-beijing.volces.com/bucket/file.pdf # Download to specific directory python scripts/file_download.py https://example.com/data.json --save-dir /workspace/data # Download multiple files with custom names python scripts/file_download.py \ https://example.com/file1.pdf \ https://example.com/file2.jpg \ --save-dir /workspace \ --filenames document.pdf image.jpg
**Returns:** Prints absolute paths of downloaded files (one per line)
Upload files or directories to TOS and generate signed access URLs (for files) or TOS paths (for directories).
**Key Features:**
**Usage:**
python scripts/tos_upload.py <path> --bucket BUCKET [--region REGION] [--expires SECONDS]
**Arguments:**
**Upload Structure:**
**Session Prefix:**
**Cloud provider and authentication:** Requires one of:
**Examples:**
# Upload single file (auto-detected) python scripts/tos_upload.py /workspace/output.mp4 --bucket my-bucket # Upload entire directory (auto-detected) python scripts/tos_upload.py /workspace/results_folder --bucket my-bucket # Upload to BytePlus with 1-day expiration TOS_REGION=ap-southeast-1 python scripts/tos_upload.py /workspace/report.pdf \ --bucket my-reports \ --expires 86400 # Upload directory with all options python scripts/tos_upload.py /workspace/output_dir \ --bucket data-storage \ --region cn-beijing
**Returns:**
**Output Examples:**
# File upload output ============================================================ ✅ Upload Successful! ============================================================ Signed URL: https://my-bucket.tos-cn-beijing.volces.com/upload/skill_agent_xxx/video.mp4?X-Tos-Signature=... ============================================================ # Directory upload output ================
欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。
Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric,…
Optimize code performance through iterative improvements (max 2 rounds). Benchmark execution…
根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此…
Manage AgentKit skills, SkillHub/skillhub, skill centers, and skill spaces. Use this skill…
根据用户的功能需求,完成与 VeADK-Go 相关的功能; 包括:直接根据需求生成 Agent;将Enio Agent转换为VeADK-Go Agent。