skill-atlas-cli 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/bin/cli.js +1 -1
  2. package/package.json +1 -1
  3. package/skillhub.md +23 -21
package/bin/cli.js CHANGED
@@ -49,7 +49,7 @@ async function main() {
49
49
  plugin: options.plugin
50
50
  });
51
51
  });
52
- cli.command("install [name]", "安装 skill(支持 skill 名称)").option("-y, --yes", "非交互模式,默认安装到全局").option("-g, --global", "安装到全局目录").option("-p, --path <dir>", "安装到自定义路径(目录),如 -p /path/to/skills 或 -p .qoder/skills").option("-a, --agent <agent...>", " TTY 模式下指定目标 agent(如 cursor、openclaw),可传多个").action(async (name, options) => {
52
+ cli.command("install [name]", "安装 skill(支持 skill 名称)").option("-y, --yes", "非交互模式,默认安装到全局").option("-g, --global", "安装到全局目录").option("-p, --path <dir>", "安装到自定义路径(目录),如 -p /path/to/skills 或 -p .qoder/skills").option("-a, --agent <agent...>", "非交互/非 TTY 时指定目标 agent(如 cursor、openclaw").action(async (name, options) => {
53
53
  await install.run(name ? [name] : [], {
54
54
  yes: options.yes,
55
55
  global: options.global,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skill-atlas-cli",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "skill-atlas CLI - 虾小宝 命令行工具",
5
5
  "homepage": "https://skillatlas.cn/",
6
6
  "type": "module",
package/skillhub.md CHANGED
@@ -1,4 +1,4 @@
1
- # SkillAtlas 安装与配置指南
1
+ # SkillAtlas 安装与配置指南
2
2
 
3
3
  ## 概述
4
4
 
@@ -78,10 +78,27 @@ npx skill-atlas-cli update
78
78
 
79
79
  ---
80
80
 
81
- ## 三、安装技能(非交互式)
81
+ ## 三、SKILL安装路径
82
+
83
+ ⚠️ **此处容易犯错**
84
+
85
+ - OpenClaw 安装到你的 skills 目录。
86
+ - OpenClaw变体(NanoBot、PicoClaw、memUBot、MaxClaw、CoPaw、AutoClaw、KimiClaw、QClaw、EasyClaw,workbuddy 等),会有类似skills目录。
87
+
88
+ 常用 AI Client 的 Skills 路径如下:
89
+
90
+ - Claude Code: `~/.claude/skills/`
91
+ - Cursor: `~/.cursor/skills/`
92
+ - Windsurf: `~/.codeium/windsurf/skills/` 或项目下的 `.windsurf/skills/`
93
+ - Codex: `~/.codex/skills/` 或项目下的 `.agents/skills/`
94
+ - Google Antigravity: `~/.gemini/antigravity/skills/`
95
+ - Gemini CLI: `~/.gemini/skills/`
96
+ - QoderWork: `~/.qoderwork/skills/`
97
+
98
+ ## 四、安装技能(非交互式)
82
99
 
83
100
  ```bash
84
- # 指定安装到某 Agent
101
+ # 指定安装到某 Agent 一定要注意--agent参数,否则会安装到默认路径
85
102
  npx skill-atlas-cli install <skillName> --agent <agent 名称> -y
86
103
  ```
87
104
 
@@ -93,26 +110,10 @@ npx skill-atlas-cli install <skillName> --agent <agent 名称> -y
93
110
 
94
111
  ---
95
112
 
96
- ## 四、社区入驻检查
113
+ ## 五、社区入驻检查
97
114
 
98
115
  ### 4.0 社区skill安装
99
116
 
100
- ### skill安装路径
101
-
102
- ⚠️ **此处容易犯错**
103
-
104
- - OpenClaw 安装到你的 skills 目录。
105
- - OpenClaw变体(NanoBot、PicoClaw、memUBot、MaxClaw、CoPaw、AutoClaw、KimiClaw、QClaw、EasyClaw,workbuddy 等),会有类似skills目录。
106
-
107
- 常用 AI Client 的 Skills 路径如下:
108
-
109
- - Claude Code: `~/.claude/skills/`
110
- - Cursor: `~/.cursor/skills/`
111
- - Windsurf: `~/.codeium/windsurf/skills/` 或项目下的 `.windsurf/skills/`
112
- - Codex: `~/.codex/skills/` 或项目下的 `.agents/skills/`
113
- - Google Antigravity: `~/.gemini/antigravity/skills/`
114
- - Gemini CLI: `~/.gemini/skills/`
115
-
116
117
  **一键安装**(将 `SKILLS_DIR` 替换为你的 skills 路径,优先用 `curl`,不可用时用 WebFetch):
117
118
 
118
119
  ```bash
@@ -197,7 +198,8 @@ npx skill-atlas-cli agent-register --pre
197
198
  └─ skill-atlas search <keywords> --query <用户原始 query(可选;缺省使用位置参数关键词>
198
199
 
199
200
  5. 安装技能(非交互式)
200
- └─ skill-atlas install <skillName> --agent <agent 名称> -y
201
+ ├─ 优先: skill-atlas install <skillName> --agent <名称> -y
202
+ └─ 未指定时由 CLI 根据环境与本地目录推断;脚本场景仍建议显式指定
201
203
 
202
204
  6. 验证安装
203
205
  └─ 检查技能目录是否存在