find-skill
Search and Install Skills
Search Priority
Always search in this order and stop as soon as a match is found:
- My skill library (already owned, ready to use)
- Platform skill market (published by platform, can be added then installed)
- skillhub (external community, last resort fallback)
platform-search — Search Within Platform (Run First)
Searches both "my skill library" and the "platform skill market" simultaneously, returning JSON. Always run this before trying skillhub.
Result fields:
my_skills: In your skill librarymarket: Available in the platform skill market
shell_exec(
cwd='<find-skill-absolute-path>',
command="python scripts/search.py --keyword \"<keyword>\""
)
If found in my_skills, install with install-platform-me; if found in market, install with install-platform-market; then load with read_skills. Use the code field from search results as the argument:
shell_exec(
command="skillhub install-platform-me <code>"
)
shell_exec(
command="skillhub install-platform-market <code>"
)
read_skills(skill_names=["<skill-name>"])
skillhub — External Search (Fallback Only)
Only use skillhub if the platform search above returns no useful results.
Important: Never pass the
cwdparameter when callingshell_execfor anyskillhubcommand. The system automatically uses the project root as the working directory to ensure skills are installed to the correct location. Specifyingcwdmanually will cause skills to be installed to the wrong path.
search — Search for Skills
Keyword / natural language search, returns up to 20 results by default.
shell_exec(
command="skillhub search \"react best practices\""
)
install — Install a Skill
The slug comes from the slug field in search results. After installation, use read_skills to load the skill — the parameter is the name field value in the skill's SKILL.md.
shell_exec(
command="skillhub install <slug>"
)
read_skills(skill_names=["<skill-name>"])
upgrade — Upgrade Installed Skills
Upgrade all installed skills to their latest versions.
shell_exec(
command="skillhub upgrade"
)
Upgrade a specific skill:
shell_exec(
command="skillhub upgrade <slug>"
)
list — List Installed Skills
List all currently installed skills and their versions.
shell_exec(
command="skillhub list"
)
install-github — Install a Skill from GitHub
Supports a full repository or a subdirectory inside a repository. After installation, use read_skills to load it.
Install from a full repository:
shell_exec(
command="skillhub install-github https://github.com/<owner>/<repo>"
)
Install from a subdirectory:
shell_exec(
command="skillhub install-github https://github.com/<owner>/<repo>/tree/<branch>/<path/to/skill>"
)
read_skills(skill_names=["<skill-name>"])
remove — Remove an Installed Skill
shell_exec(
command="skillhub remove <skill-name>"
)
More from dtyq/magic
ui-data-testid
Add stable `data-testid` attributes by default for new or refactored UI components. Use when implementing React/TSX views, shadcn/antd-style components, dropdown/menu configs, or interactive UI flows that need reliable selectors for unit/E2E tests.
17analyzing-data-html-report
Data analysis report development skill. Use when users need to develop data analysis reports, create analysis report projects, build static HTML analysis documents, or produce one-time analysis reports with visualization.
16skill-vetter
Security-first skill vetting protocol for AI agents. Use before installing any skill from the platform skill market, skillhub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns to determine whether a skill is safe to install.
16wiki-generator
通过分析代码结构与依赖,自动提取系统总体架构、核心特有功能模块的实现细节,并生成互相关联的多页面 Wiki 结构文档集。作为项目的架构知识库守护者,还负责在日常开发中解答疑问,并在架构变更时自动维护文档。
15env-manager
Manage persistent environment variables. Use when the user provides API keys or other configuration values that need to be saved and reused across sessions.
14using-cron
Manage scheduled tasks — create, query, update, and delete. CRITICAL - When user message contains any future time intent (e.g. "in 2 days", "tomorrow at 8am", "every morning"), you MUST load this skill first. NEVER write custom scheduler scripts.
14