Entry
python3 skills/find-skills/scripts/skillhub_tool.py search "关键词" --json
python3 skills/find-skills/scripts/skillhub_tool.py install <slug> --json
python3 skills/find-skills/scripts/skillhub_tool.py list --json
python3 skills/find-skills/scripts/skillhub_tool.py enable <slug> --json
python3 skills/find-skills/scripts/skillhub_tool.py disable <slug> --json
python3 skills/find-skills/scripts/skillhub_tool.py delete <slug> --json
python3 skills/find-skills/scripts/skillhub_tool.py bootstrap --cli-only --json
Commands and Parameters
search
python3 skills/find-skills/scripts/skillhub_tool.py search "关键词" [--limit N] [--json]
Parameter description:
querySearch keyword, required. It is recommended to use 1 concise phrase.--limitNumber of results to return, optional. Range1-50, default10。--jsonOutput results as JSON, optional.
Returned fields:
slugnamedescriptionversion
install
python3 skills/find-skills/scripts/skillhub_tool.py install <slug> [--force] [--json]
Parameter description:
slugUnique skill identifier, required.--forceOverwrite the installation when the target directory already exists, optional.--jsonOutput the installation result as JSON, optional.
Behavior description:
- By default, install to the current workspace's
workspace/skills/<slug>/ - The installation result will be written to
workspace/skills/.skills_store_lock.json
list
python3 skills/find-skills/scripts/skillhub_tool.py list [--json]
Parameter description:
--jsonOutput the current workspace skill list as JSON, optional.
Returned fields:
slugpathstatusenabledmanagednameversionsource
enable
python3 skills/find-skills/scripts/skillhub_tool.py enable <slug> [--json]
Parameter description:
slugSlug of the skill to enable, required.--jsonOutput the result as JSON, optional.
Behavior description:
- The enabled state will be written to
workspace/.skills_config.json
disable
python3 skills/find-skills/scripts/skillhub_tool.py disable <slug> [--json]
Parameter description:
slugSlug of the skill to disable, required.--jsonOutput the result as JSON, optional.
Behavior description:
- The disabled state will be written to
workspace/.skills_config.json
delete
python3 skills/find-skills/scripts/skillhub_tool.py delete <slug> [--json]
Parameter description:
slugSlug of the skill to delete, required.--jsonOutput the result as JSON, optional.
Behavior description:
- Delete
workspace/skills/<slug>/ - Also clean up
workspace/skills/.skills_store_lock.json - Also clean up
workspace/.skills_config.jsonthe corresponding disabled state in
bootstrap
python3 skills/find-skills/scripts/skillhub_tool.py bootstrap [--cli-only | --skill-only | --plugin-only] [--no-skills | --with-skills] [--restart-gateway] [--json]
Parameter description:
--cli-onlyInstall only the SkillHub CLI.--skill-onlyInstall only SkillHub's built-in skill templates.--plugin-onlyInstall only the SkillHub plugin.--no-skillsSkip workspace skill template installation.--with-skillsForce installation of the workspace skill template.--restart-gatewayTry to restart the gateway after installation is complete.--jsonOutput the result as JSON, optional.
Behavior description:
- The CLI is installed to the user directory
- Skill templates are written to the current CountBot workspace by default
- Do not overwrite an existing local skill
Workflow
- When the user asks whether a certain type of skill exists, first execute
search - Return 1 to 3 of the most relevant results
- After the user confirms, execute
install - Only when the user explicitly requests management of installed skills, execute
list、enable、disable、delete - Only when the user explicitly requests installation of the SkillHub CLI, execute
bootstrap
Rules
- Searching and installation rely on
https://skillhub.tencent.com/'s public APIs and download URLs - When the user has already provided an explicit
slug, you can install directly - When the user is only asking "is there a certain type of skill", search first and do not install directly
- Keep the output concise, and do not add irrelevant explanations