agent-skill-installer 0.1.2 → 0.1.3
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.
- package/README.md +2 -2
- package/bin/cli.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
# 查看可安装 skills
|
|
26
26
|
npx agent-skill-installer list
|
|
27
27
|
|
|
28
|
-
# 安装一个 skill(默认安装到 ~/.
|
|
28
|
+
# 安装一个 skill(默认安装到 ~/.agent/skills)
|
|
29
29
|
npx agent-skill-installer install git-commit-helper
|
|
30
30
|
|
|
31
31
|
# 一次安装多个 skills
|
|
32
32
|
npx agent-skill-installer install git-commit-helper codex-session-daily-report
|
|
33
33
|
|
|
34
34
|
# 安装到自定义目录
|
|
35
|
-
npx agent-skill-installer install git-commit-helper --dest ~/.
|
|
35
|
+
npx agent-skill-installer install git-commit-helper --dest ~/.agent/skills
|
|
36
36
|
|
|
37
37
|
# 覆盖已存在 skill
|
|
38
38
|
npx agent-skill-installer install git-commit-helper --force
|
package/bin/cli.js
CHANGED
|
@@ -6,7 +6,7 @@ const os = require("node:os");
|
|
|
6
6
|
|
|
7
7
|
const REPO_ROOT = path.resolve(__dirname, "..");
|
|
8
8
|
const SKILLS_SOURCE_DIR = path.join(REPO_ROOT, "skills");
|
|
9
|
-
const DEFAULT_DEST = path.join(os.homedir(), ".
|
|
9
|
+
const DEFAULT_DEST = path.join(os.homedir(), ".agent", "skills");
|
|
10
10
|
|
|
11
11
|
function printHelp() {
|
|
12
12
|
console.log(`agent-skill-installer
|
|
@@ -17,7 +17,7 @@ Usage:
|
|
|
17
17
|
|
|
18
18
|
Commands:
|
|
19
19
|
list List installable skills in this package.
|
|
20
|
-
install <skill...> Install one or more skills to ~/.
|
|
20
|
+
install <skill...> Install one or more skills to ~/.agent/skills by default.
|
|
21
21
|
|
|
22
22
|
Options:
|
|
23
23
|
--dest <path> Custom destination directory.
|