Trae Skill Finder
Wrapper for find-skills . Only adds --agent flag for Trae installation.
What This Skill Does
-
Delegate ALL logic to find-skills (search, display, install prompts)
-
Only inject --agent flag when find-skills runs install command
Agent Flag Injection
When find-skills would run:
npx skills add <package> -g -y
Change to:
Trae CN (if ~/.trae-cn/ exists)
npx skills add <package> -a trae-cn -g -y
Trae (if ~/.trae/ exists)
npx skills add <package> -a trae -g -y
That's it. Everything else is handled by find-skills .
Fallback
If NOT in Trae/Trae-CN environment → use find-skills directly without -a flag.