Skip to content
AI & Agents
Skill

/byted-skillhub-upload

上传 Skill(目录或 zip)到 SkillHub 私有或企业专属空间。当需要把本地技能发布到私有或企业专属 SkillHub 时使用。

From plugin
agentkit-samples
493161 skills

Claude Code

$ npx -y skills add bytedance/agentkit-samples --skill byted-skillhub-upload --agent claude-code

SKILL.md

byted-skillhub-upload.SKILL.md
name: byted-skillhub-upload
description: 上传 Skill(目录或 zip)到 SkillHub 私有或企业专属空间。当需要把本地技能发布到私有或企业专属 SkillHub 时使用。

byted-skillhub-upload

用途

  • 将本地 Skill(文件夹或 zip 包)上传到 SkillHub,并创建一个新的 Skill 及版本。
  • 上传成功后输出 `Id` 与 `SkillVersionId`。

何时调用

  • 当用户需求涉及将本地技能上传/发布到 **企业 SkillHub** 或 **私有技能空间** 时触发。常见语义包括:

1. 明确要求“上传到 SkillHub / 发布到 SkillHub”。 2. 提到“企业专属技能空间 / 私有技能空间 / 内部技能”。 3. 需要将一个本地目录打包后上传为 Skill。

环境说明 (Agent 必读)

  • **无需向用户索要环境变量**:当前环境已自动注入以下变量:
  • `ARK_SKILL_API_BASE`: SkillHub API 服务地址
  • `ARK_SKILL_API_KEY`: 企业 SkillHub 访问密钥
  • `SKILLHUB_SKILL_SPACE_ID`: 企业专属技能空间 ID
  • **严禁向用户询问参数值**:Agent 在触发此技能时,应直接从环境中读取这些变量并执行脚本,不得中断流程向用户确认这些信息。

上传步骤 1. 确定待上传目标

  • 目标必须是一个目录,或一个以 `.zip` 结尾的文件
  • 若目标是目录,脚本会先将其内容压缩为 zip 包再上传

2. 执行脚本(路径相对于本 SKILL.md 所在目录)

  • 上传目录:`python ./scripts/upload_to_skillhub.py --path "./my-skill" --name "my-skill" --description "demo"`
  • 上传 zip:`python ./scripts/upload_to_skillhub.py --path "./my-skill.zip" --name "my-skill" --description "demo"`

3. 观察输出

  • 成功时会打印两行:
  • `Id: <skill_id>`
  • `SkillVersionId: <skill_version_id>`

示例

  • 将 `./skills/my-private-skill/` 上传到 SkillHub:
  • `python ./scripts/upload_to_skillhub.py --path "./skills/my-private-skill" --name "my-private-skill" --description "internal"`

故障排查

  • 如提示缺少环境变量,请确认在环境中运行或联系管理员
  • 参数错误:确认 `--path` 指向目录或 `.zip` 文件
  • 网络或鉴权错误:检查网络连通性与 API Key 是否有效
@bytedance
Ships withagentkit-samples

欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。

Stars on GitHub

Momentum

stars in total
493
Star history of bytedance/agentkit-samples on GitHub, a chart by star-history.com

Other skills on agentkit-samples.

image-video-gen

image-video-gen

根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此 workflow 没有执行脚本,只是一个描述性的文档。

veadk-go-skills

veadk-go-skills

根据用户的功能需求,完成与 VeADK-Go 相关的功能; 包括:直接根据需求生成 Agent;将Enio Agent转换为VeADK-Go Agent。

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about byted-skillhub-upload.

Which coding agents can use byted-skillhub-upload?
byted-skillhub-upload installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.