技能登记
- 作者仓库星标 340
- 许可证 Complete terms in LICENSE.txt
- 作者仓库 agentkit-samples
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @bytedance · Complete terms in LICENSE.txt
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 需要 · Vendor-specific
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- Python
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 读取环境变量
- 网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
python3 scripts/skills_register.py ./my-new-skill
# 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. 章节与文件索引
按说明文件中的顺序排列。
用途
要求
错误处理
文件/命令 -> <path_to_skill_directory> · veadk · VOLCENGINE_ACCESS_KEY · VOLCENGINE_SECRET_KEY · SKILL_SPACE_ID · AGENTKIT_TOOL_REGION · VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY are not set in environment variables.
内容校验值 -> 4e89134fdf25
当前原文的自动摘译,尚未人工审校。
用途
要注册技能,请运行以下命令:将
<path_to_skill_directory>替换为包含SKILL.md的文件夹路径。要求
veadkpython 包已安装。环境变量:VOLCENGINE_ACCESS_KEYVOLCENGINE_SECRET_KEYSKILL_SPACE_ID(必填,以逗号分隔的技能空间 ID 列表)错误处理
如果脚本引发错误
VOLCENGINE_ACCESS_KEY and VOLCENGINE_SECRET_KEY are not set in environment variables.,请通知用户他们需要提供VOLCENGINE_ACCESS_KEY和VOLCENGINE_SECRET_KEY环境变量。将其写入工作区的环境变量文件中。如果该文件已存在,请将其附加到末尾。确保环境变量格式正确,使环境变量生效,然后重试刚刚失败的任务。