skill-exporter
4
总安装量
3
周安装量
#49091
全站排名
安装命令
npx skills add https://github.com/v5tech/skills --skill skill-exporter
Agent 安装分布
opencode
3
claude-code
3
antigravity
3
gemini-cli
3
Skill 文档
Skill Exporter
Generate npx skills add commands from current installation.
Workflow
- Run
npx skills ls -gand read~/.agents/.skill-lock.json - Parse skill names and agent lists from ls output
- Extract source repos from lock file
- Map agent display names to CLI values (see references/agents.md)
- Group skills by (source, agent-set)
- Output one command per group
Parsing npx skills ls -g
Format:
<skill-name> <path>
Agents: <Agent1>, <Agent2>, ...
Extract skill name (first word of non-indented line) and agents (comma-separated after “Agents:”).
Lock File
Path: ~/.agents/.skill-lock.json
{ "<skill-name>": { "source": "<owner/repo>", ... } }
Command Format
npx skills add <source> -g -y -s <skill1> -s <skill2> -a <agent1> -a <agent2>
Grouping
Group skills sharing same source repo AND same agent set into one command.
Example
Input:
docx ~/.agents/skills/docx
Agents: Antigravity, Claude Code
pdf ~/.agents/skills/pdf
Agents: Antigravity, Claude Code
Lock: docx and pdf both have "source": "anthropics/skills"
Output:
npx skills add anthropics/skills -g -y -s docx -s pdf -a antigravity -a claude-code