技能 Download
- 作者仓库星标 340
- 许可证 Complete terms in LICENSE.txt
- 作者仓库 agentkit-samples
AgentKit Skill Download
This skill downloads skills from a specified AgentKit skill space to a local directory. It handles downloading the skill package from TOS and extracting it.
Usage
To download skills, run the following command:
python3 scripts/skills_download.py <download_path> [--skills <skill_name1> <skill_name2> ...]
Arguments
<download_path>: The local directory path where the skills will be saved.--skills: (Optional) A space-separated list of specific skill names to download. If omitted, all skills in the space will be downloaded.
Requirements
veadkpython package installed.- Environment variables:
VOLCENGINE_ACCESS_KEYVOLCENGINE_SECRET_KEYSKILL_SPACE_ID(required, comma-separated list of skill space IDs)AGENTKIT_TOOL_REGION(optional, defaults to cn-beijing)
Example
Download all skills to ./my-skills:
python3 scripts/skills_download.py ./my-skills
Download only skill-a and skill-b:
python3 scripts/skills_download.py ./my-skills --skills skill-a skill-b
Error Handling
- IF the script raises the error
VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY are not set in environment variables., inform the user that they need to provide theVOLCENGINE_ACCESS_KEYandVOLCENGINE_SECRET_KEYenvironment variable. Write it to the environment variable file in the workspace. If the file already exists, append it to the end. Ensure the environment variable format is correct, make the environment variable effective, and retry the task that just failed. - IF the script raises the error
SKILL_SPACE_ID environment variable is not set, inform the user that they need to provide theSKILL_SPACE_IDenvironment variable. Write it to the environment variable file in the workspace. If the file already exists, append it to the end. Ensure the environment variable format is correct, make the environment variable effective
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @bytedance · Complete terms in LICENSE.txt
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 需要 · Vendor-specific
- 检测到的系统要求
- 未声明
- 底层运行要求
- Python
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 读取环境变量
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 To download skills, run the following command:
<downloadpath>: The local directory path where the skills will be saved. --skills: (Optional) A space-separated list of specific skill names to download. If omitted, all skills in the space will be downloaded.
veadk python package installed. Environment variables: VOLCENGINEACCESSKEY
Download all skills to ./my-skills: Download only skill-a and skill-b:
IF the script raises the error VOLCENGINEACCESSKEY and VOLCENGINESECRETKEY are not set in environment variables., inform the user that they need to provide the VOLCENGINEACCESSKEY and VOLCENGINESECRETKEY environment variable. Write it to the environment…
# AgentKit Skill Download
This skill downloads skills from a specified AgentKit skill space to a local directory. It handles downloading the skill package from TOS and extracting it.
## Usage
To download skills, run the following command:
```bash
python3 scripts/skills_download.py <download_path> [--skills <skill_name1> <skill_name2> ...]
```
### Arguments
- `<download_path>`: The local directory path where the skills will be saved.
- `--skills`: (Optional) A space-separated list of specific skill names to download. If omitted, all skills in the space will be downloaded.
## Requirements
- `veadk` python package installed.
- Environment variables:
- `VOLCENGINE_ACCESS_KEY`
- `VOLCENGINE_SECRET_KEY`
- `SKILL_SPACE_ID` (required, comma-separated list of skill space IDs)
- `AGENTKIT_TOOL_REGION` (optional, defaults to cn-beijing)
## Example
Download all skills to `./my-skills`:
```bash
python3 scripts/skills_download.py ./my-skills
```
Download only `skill-a` and `skill-b`:
```bash
python3 scripts/skills_download.py ./my-skills --skills skill-a skill-b
```
## Error Handling
- IF the script raises the error `VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY are not set in environment variables.`, inform the user that they need to provide the `VOLCENGINE_ACCESS_KEY` and `VOLCENGINE_SECRET_KEY` environment variable. Write it to the environment variable file in the workspace. If the file already exists, append it to the end. Ensure the environment variable format is correct, make the environment variable effective, and retry the task that just failed.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Usage → Arguments → Requirements → Example → Error Handling
要点 -> This skill downloads skills from a specified AgentKit skill space to a local directory. · - <downloadpath>: The local directory path where the skills will be saved. · - veadk python package installed.
文件/命令 -> <downloadpath> · --skills · veadk · VOLCENGINEACCESSKEY · VOLCENGINESECRETKEY · SKILLSPACEID · AGENTKITTOOLREGION · ./my-skills
内容 SHA-256 -> a264c176aebc
原文结构
适用与边界
原文中的明确线索
<downloadpath>、--skills、veadk、VOLCENGINEACCESSKEY、VOLCENGINESECRETKEY、SKILLSPACEID、AGENTKITTOOLREGION、./my-skills