dsh-codex-port 0.1.0 → 0.1.1
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.en.md +2 -0
- package/README.md +25 -0
- package/package.json +4 -3
package/README.en.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
# dsh-codex-port
|
|
4
4
|
|
|
5
|
+
[](https://awesome-dsh-plugin.com)
|
|
6
|
+
|
|
5
7
|
Move the whole **official Codex plugin family** into DSH: scan `~/.codex` unpacked plugins and plugin caches, then batch-port their skills into DSH skills (automatic frontmatter conversion, codex-only files stripped, name sanitization, idempotent skips).
|
|
6
8
|
|
|
7
9
|
> Measured on a real machine: 186 official Codex plugins, 583 skills — one port run moved 577 successfully, 0 failures.
|
package/README.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# dsh-codex-port
|
|
4
4
|
|
|
5
|
+
> **Codex 全家桶,一条命令进 DSH**:实测 186 插件、583 技能、移植 577 个 0 失败。
|
|
6
|
+
|
|
7
|
+
   
|
|
8
|
+
|
|
9
|
+
[](https://awesome-dsh-plugin.com)
|
|
10
|
+
|
|
11
|
+
|
|
5
12
|
把 **Codex 官方插件全家桶**一键搬进 DSH:扫描 `~/.codex` 里的解包插件与插件缓存,把它们的技能批量移植为 DSH 技能(frontmatter 自动转换、codex 专属文件剔除、名称清洗、幂等跳过)。
|
|
6
13
|
|
|
7
14
|
> 本机实测:186 个 Codex 官方插件、583 个技能,一次移植 577 个成功、0 失败。
|
|
@@ -48,6 +55,22 @@ codex_status {} # 还有多少没移植
|
|
|
48
55
|
|
|
49
56
|
移植后 DSH 技能目录立即可用,agent 按技能描述自动触发。
|
|
50
57
|
|
|
58
|
+
## 跨平台使用
|
|
59
|
+
|
|
60
|
+
`targetDir` 不限于 DSH:指向任何支持 Agent Skills(SKILL.md)格式的 agent 技能目录,即可把 Codex 全家桶移植给它们:
|
|
61
|
+
|
|
62
|
+
| Agent | 建议 targetDir |
|
|
63
|
+
| :-- | :-- |
|
|
64
|
+
| DSH | `~/.dsh/skills`(默认)|
|
|
65
|
+
| Claude Code | `~/.claude/skills/` |
|
|
66
|
+
| Cursor | `.cursor/skills/` |
|
|
67
|
+
| Gemini CLI | `~/.gemini/skills/` |
|
|
68
|
+
|
|
69
|
+
```text
|
|
70
|
+
codex_port { targetDir: ~/.claude/skills }
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
|
|
51
74
|
## 移植规则
|
|
52
75
|
|
|
53
76
|
- **frontmatter 转换**:Codex 的 `name/description/metadata` → DSH 的 `name/description/compatibility/allowed-tools`,多行描述完整保留
|
|
@@ -66,3 +89,5 @@ pnpm test # 构建 + 33 个测试
|
|
|
66
89
|
## License
|
|
67
90
|
|
|
68
91
|
MIT
|
|
92
|
+
|
|
93
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-codex-port",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "DSH 技能移植工具插件:把 ~/.codex 里的 Codex 官方插件(170+ 个)一键移植为 DSH 技能(codex_list / codex_port / codex_status),frontmatter 自动转换、名称清洗、幂等跳过。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"plugin",
|
|
38
38
|
"codex",
|
|
39
39
|
"skills",
|
|
40
|
-
"migration"
|
|
40
|
+
"migration",
|
|
41
|
+
"dsh-plugin"
|
|
41
42
|
],
|
|
42
43
|
"license": "MIT",
|
|
43
44
|
"engines": {
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
},
|
|
53
54
|
"repository": {
|
|
54
55
|
"type": "git",
|
|
55
|
-
"url": "https://github.com/STARDUSTLC666/dsh-codex-port"
|
|
56
|
+
"url": "git+https://github.com/STARDUSTLC666/dsh-codex-port.git"
|
|
56
57
|
},
|
|
57
58
|
"bugs": {
|
|
58
59
|
"url": "https://github.com/STARDUSTLC666/dsh-codex-port/issues"
|