skills registration
- Repo stars 340
- License Complete terms in LICENSE.txt
- Author repo agentkit-samples
- Domain
- AI
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 94 / 100 · heuristic scan, not runtime safety proof
- Runtime evidence
- Not run; no isolated runtime test evidence is currently recorded
- Author / version / license
- @bytedance · Complete terms in LICENSE.txt
- Token usage
- Lean
- Setup complexity
- Guided setup
- External API key
- Required · Vendor-specific
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- Python
- Detected file/system behavior
-
- Read-only
- Write / modify
- Env read
- Network behavior
- External requests
- Install commands
- None (reference only)
Heads up: Tool permissions are not declared; actual access depends on the runtime.
# 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. Sections and files
Listed in source order.
sections -> Usage → Requirements → Example → Error Handling
terms -> 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.
files/cmd -> <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.
body sha256 -> 4e89134fdf25
Usage
To register a skill, run the following command: Replace
<path_to_skill_directory>with the path to the folder containing yourSKILL.md.Requirements
veadkpython package installed. Environment variables:VOLCENGINE_ACCESS_KEYVOLCENGINE_SECRET_KEYSKILL_SPACE_ID(required, comma-separated list of skill space IDs)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.