mcpField
S
skills-registration

skills-registration

github.com/bytedanceAgent workflows47749 installsUpdated today
Repository

About skills-registration

AgentKit Skill Registration is a skill for registering a local skill directory with the AgentKit platform. It packages the directory, uploads it to TOS, and calls the CreateSkill API.

Key features

  1. 01Register local skill directories
  2. 02Package directories as ZIP files
  3. 03Upload packages to TOS
  4. 04Call the CreateSkill API

Use cases

  1. 01Register a newly created skill
  2. 02Publish a local skill directory to AgentKit

MCP support

This skill is not described as an MCP server or client; it registers skills with AgentKit.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bytedance/agentkit-samples --skill skills-registration

After installing, type/skills-registrationin Claude Code to confirm it loaded.

Bundled filesLICENSE.txtscripts/skills_register.py

Details

From the project README

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

  • 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

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.

Comments

Markdown supported