技能 Registration
- 作者仓库星标 340
- 许可证 Complete terms in LICENSE.txt
- 作者仓库 agentkit-samples
AgentKit Skill Registration
This skill registers a local skill directory to the AgentKit platform. It zips the directory, uploads it to TOS, and calls the CreateSkill API.
Usage
To register a skill, run the following command:
python3 scripts/skills_register.py <path_to_skill_directory>
Replace <path_to_skill_directory> with the path to the folder containing your SKILL.md.
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
python3 scripts/skills_register.py ./my-new-skill
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.
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @bytedance · Complete terms in LICENSE.txt
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 需要 · Vendor-specific
- 检测到的系统要求
- 未声明
- 底层运行要求
- Python
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 读取环境变量
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 To register a skill, run the following command: Replace <pathtoskilldirectory> with the path to the folder containing your SKILL.md.
veadk python package installed. Environment variables: VOLCENGINEACCESSKEY
Example
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 Registration
This skill registers a local skill directory to the AgentKit platform. It zips the directory, uploads it to TOS, and calls the CreateSkill API.
## Usage
To register a skill, run the following command:
```bash
python3 scripts/skills_register.py <path_to_skill_directory>
```
Replace `<path_to_skill_directory>` with the path to the folder containing your `SKILL.md`.
## 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
```bash
python3 scripts/skills_register.py ./my-new-skill
```
## 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 → Requirements → Example → Error Handling
要点 -> This skill registers a local skill directory to the AgentKit platform. · Replace <pathtoskilldirectory> with the path to the folder containing your SKILL.md. · - veadk python package installed.
文件/命令 -> <pathtoskilldirectory> · veadk · VOLCENGINEACCESSKEY · VOLCENGINESECRETKEY · SKILLSPACEID · AGENTKITTOOLREGION · VOLCENGINEACCESSKEY and VOLCENGINESECRETKEY are not set in environment variables.
内容 SHA-256 -> 4e89134fdf25
原文结构
适用与边界
原文中的明确线索
<pathtoskilldirectory>、veadk、VOLCENGINEACCESSKEY、VOLCENGINESECRETKEY、SKILLSPACEID、AGENTKITTOOLREGION、VOLCENGINEACCESSKEY and VOLCENGINESECRETKEY are not set in environment variables.