byted-skillhub-download

Original🇨🇳 Chinese
Translated
1 scriptsChecked / no sensitive code detected

Download private or enterprise-exclusive skills from SkillHub. Use this when downloading internal, private, enterprise-exclusive, or authorized skills.

4installs
Added on

NPX Install

npx skill4agent add bytedance/agentkit-samples byted-skillhub-download

SKILL.md Content (Chinese)

View Translation Comparison →

byted-skillhub-download

Purpose
  • Precisely locate and download the latest version zip package of private or enterprise-exclusive skills from SkillHub by name.
  • Auto-extraction by default: After downloading, it will automatically extract to a directory named after the skill and flatten the top-level directory structure.
  • Output the directory path after downloading and extraction are completed.
When to Call
  • Triggered when the user's request involves downloading private skills or enterprise-exclusive skills. Common semantics include:
    1. Explicitly requesting to download from
      byted-skillhub-download
      .
    2. Mentioning "download enterprise-exclusive skills", "download internal skills", or "download private skill/skills".
    3. Needing to pull specific private resource packages stored in the company/enterprise SkillHub space.
  • Note: For ordinary public skills (Public Skills), please prioritize using other public download capabilities.
Environment Instructions (Required for Agents)
  • No need to ask users for environment variables: The following variables are automatically injected into the current environment:
    • ARK_SKILL_API_BASE
      : SkillHub API service address
    • ARK_SKILL_API_KEY
      : Enterprise SkillHub access key
    • SKILLHUB_SKILL_SPACE_ID
      : Enterprise-exclusive skill space ID
  • Strictly prohibited to ask users for parameter values: When triggering this skill, the Agent should directly read these variables from the environment and execute the script, and must not interrupt the process to confirm this information with the user.
Download Steps
  1. Execute the script (path relative to the directory where this SKILL.md is located)
    • python ./scripts/download_from_skillhub.py --name "<exact name>" --output /root/.openclaw/workspace/skills/
    • By default, the skill will be extracted to the
      /root/.openclaw/workspace/skills/<skill_name>/
      directory
    • If you only want to download the zip package without extraction, add the
      --no-extract
      parameter
  2. Observe the output
    • On success, the last line will print the extracted directory path (or zip file path)
Installation Notes
  • This skill only downloads and extracts, and is not responsible for subsequent installation logic.
Examples
  • Download the skill named "awesome-tool" to the default directory
    • python ./scripts/download_from_skillhub.py --name "awesome-tool" --output /root/.openclaw/workspace/skills/
Troubleshooting
  • If prompted for missing environment variables, confirm you are running in the environment or contact the administrator
  • Skill not found: Confirm the name is an exact match, or check if the SkillSpaceId is correct
  • Network or authentication errors: Check network connectivity and whether the API Key is valid