Agent skill
byted-skillhub-upload
Quellcode ansehen: bytedance/agentkit-samples
Installation
npx skills add bytedance/agentkit-samples --skill byted-skillhub-upload46
Installationen
EU-hosted inference API
Power your AI agent skills with open-source models.
Drop-in OpenAI-compatible API. No data leaves Europe.
MiniMax
MiniMax M3
$0.40 / $1.40
per M tokens
Z.ai
GLM 5.3 Flash
$0.20 / $0.60
per M tokens
MoonshotAI
Kimi K3
$4.00 / $18.00
per M tokens
DeepSeek
DeepSeek V4.1 Flash
$0.40 / $1.40
per M tokens
byted-skillhub-upload
用途
- 将本地 Skill(文件夹或 zip 包)上传到 SkillHub,并创建一个新的 Skill 及版本。
- 上传成功后输出
Id与SkillVersionId。
何时调用
- 当用户需求涉及将本地技能上传/发布到 企业 SkillHub 或 私有技能空间 时触发。常见语义包括:
- 明确要求“上传到 SkillHub / 发布到 SkillHub”。
- 提到“企业专属技能空间 / 私有技能空间 / 内部技能”。
- 需要将一个本地目录打包后上传为 Skill。
环境说明 (Agent 必读)
- 无需向用户索要环境变量:当前环境已自动注入以下变量:
ARK_SKILL_API_BASE: SkillHub API 服务地址ARK_SKILL_API_KEY: 企业 SkillHub 访问密钥SKILLHUB_SKILL_SPACE_ID: 企业专属技能空间 ID
- 严禁向用户询问参数值:Agent 在触发此技能时,应直接从环境中读取这些变量并执行脚本,不得中断流程向用户确认这些信息。
上传步骤
- 确定待上传目标
- 目标必须是一个目录,或一个以
.zip结尾的文件 - 若目标是目录,脚本会先将其内容压缩为 zip 包再上传
- 目标必须是一个目录,或一个以
- 执行脚本(路径相对于本 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"
- 上传目录:
- 观察输出
- 成功时会打印两行:
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 是否有效
Verwandte Skills
Mehr aus dieser Quelle: bytedance/agentkit-samples
byted-web-search
bytedance/agentkit-samples
610 installs
byted-seedream-image-generate
bytedance/agentkit-samples
298 installs
byted-las-video-edit
bytedance/agentkit-samples
208 installs
byted-seedance-video-generate
bytedance/agentkit-samples
180 installs
byted-text-to-speech
bytedance/agentkit-samples
176 installs
byted-las-pdf-parse-doubao
bytedance/agentkit-samples
164 installs
So verwenden Sie diesen Skill
- 1
Install byted-skillhub-upload by running
npx skills add bytedance/agentkit-samples --skill byted-skillhub-uploadin your project directory. Führen Sie den obigen Installationsbefehl in Ihrem Projektverzeichnis aus. Die Skill-Datei wird von GitHub heruntergeladen und in Ihrem Projekt platziert. - 2
Keine Konfiguration erforderlich. Ihr KI-Agent (Claude Code, Cursor, Windsurf usw.) erkennt installierte Skills automatisch und nutzt sie als Kontext bei der Code-Generierung.
- 3
Der Skill verbessert das Verständnis Ihres Agenten für byted-skillhub-upload, und hilft ihm, etablierte Muster zu befolgen, häufige Fehler zu vermeiden und produktionsreifen Code zu erzeugen.
Was Sie erhalten
Skills sind Klartext-Anweisungsdateien — kein ausführbarer Code. Sie kodieren Expertenwissen über Frameworks, Sprachen oder Tools, das Ihr KI-Agent liest, um seine Ausgabe zu verbessern. Das bedeutet null Laufzeit-Overhead, keine Abhängigkeitskonflikte und volle Transparenz: Sie können jede Anweisung vor der Installation lesen und prüfen.
Kompatibilität
Dieser Skill funktioniert mit jedem KI-Coding-Agenten, der das skills.sh-Format unterstützt, einschließlich Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider und anderen Tools, die projektbezogene Kontextdateien lesen. Skills sind auf Transportebene framework-agnostisch — der Inhalt bestimmt, für welche Sprache oder welches Framework er gilt.
Data sourced from the skills.sh registry and GitHub. Install counts and security audits are updated regularly.