Registers a local skill to the AgentKit platform by uploading it. Invoke when the user wants to publish, upload, or register a skill they have created.
Resources
2Install
npx skillscat add bytedance/agentkit-samples/skills-registration Install via the SkillsCat registry.
SKILL.md
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