Skill-CN Skill Fetcher
Fetches the complete skill catalog from Skill-CN (skill-cn.com) and writes it to a local text file.
What it does
- Paginates through
https://www.skill-cn.com/api/skills?page={page}&size=12&sort=heat - Auto-detects
totalPagesfrom first response - Extracts:
name,subtitle(empty),brief(description),category(tag),url(source_url),stars(heat_score * 10, rounded) - Outputs one skill per line, tab-separated, to
skill-cn-skills.txt
Usage
Run the helper script from the skill directory:
bashnode .trae/skills/skill-cn-fetcher/scripts/fetch.js
The script will:
- Fetch page 1 to detect total pages
- Iterate through remaining pages
- Map fields as specified
- Write results to
skill-cn-skills.txtin the current working directory
Output format
name\tsubtitle\tbrief\tcategory\turl\tstars
Example line:
skill-creator\t\t指导用户如何创建、组织和发布高质量的 Skills\t编程\thttps://github.com/anthropics/skills/tree/main/skills/skill-creator\t629721
Parameters
outputFile— destination path (default:./skill-cn-skills.txt)size— items per page (default: 12)sort— sort field (default:heat)delayMs— delay between pages in ms (default: 800)


