SuperAPI AI Directory

find-skills

General & other

View repository

Updated 10-15 20:28

About this skill

Skill Search, Installation, and Management

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:

  • query Search keyword, required. It is recommended to use 1 concise phrase.
  • --limit Number of results to return, optional. Range 1-50, default 10。
  • --json Output results as JSON, optional.

Returned fields:

  • slug
  • name
  • description
  • version

install

python3 skills/find-skills/scripts/skillhub_tool.py install <slug> [--force] [--json]

Parameter description:

  • slug Unique skill identifier, required.
  • --force Overwrite the installation when the target directory already exists, optional.
  • --json Output 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:

  • --json Output the current workspace skill list as JSON, optional.

Returned fields:

  • slug
  • path
  • status
  • enabled
  • managed
  • name
  • version
  • source

enable

python3 skills/find-skills/scripts/skillhub_tool.py enable <slug> [--json]

Parameter description:

  • slug Slug of the skill to enable, required.
  • --json Output 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:

  • slug Slug of the skill to disable, required.
  • --json Output 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:

  • slug Slug of the skill to delete, required.
  • --json Output 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.json the 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-only Install only the SkillHub CLI.
  • --skill-only Install only SkillHub's built-in skill templates.
  • --plugin-only Install only the SkillHub plugin.
  • --no-skills Skip workspace skill template installation.
  • --with-skills Force installation of the workspace skill template.
  • --restart-gateway Try to restart the gateway after installation is complete.
  • --json Output 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

  1. When the user asks whether a certain type of skill exists, first execute search
  2. Return 1 to 3 of the most relevant results
  3. After the user confirms, execute install
  4. Only when the user explicitly requests management of installed skills, execute list、enable、disable、delete
  5. 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