c456-cli 0.4.0 → 0.6.0
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 +16 -4
- package/dist/index.js +15390 -1659
- package/package.json +4 -4
- package/skills/c456-cli/SKILL.md +28 -14
- package/skills/c456-cli/references/product-screenshots-for-intake.md +22 -2
- package/skills/c456-llm-wiki/SKILL.md +23 -3
- package/skills/c456-product-channel-article/SKILL.md +131 -0
- package/skills/c456-signal-product-vs/SKILL.md +108 -0
- package/skills/c456-signal-researcher/SKILL.md +169 -0
- package/skills/c456-sync-public-markdown/SKILL.md +65 -0
- package/docs/private-knowledge-base.md +0 -134
package/README.md
CHANGED
|
@@ -35,19 +35,25 @@ npx c456-cli --help
|
|
|
35
35
|
bunx c456-cli --help
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
### Agent 技能(`c456
|
|
38
|
+
### Agent 技能(`c456 skills install`)
|
|
39
39
|
|
|
40
40
|
已全局安装 **c456-cli** 且本机可用 **`npx`** 后,在**目标项目根**执行:
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
c456
|
|
43
|
+
c456 skills install
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
封装 **`npx skills add`**
|
|
46
|
+
封装 **`npx skills add`** 从网络拉取技能。**`c456-cli` 始终会安装**;在交互终端下会弹出**多选菜单**(固定可选项 **karpathy-wiki**;其余来自本包随 npm 发布的 **`skills/`** 目录下的 **`c456-*`** 技能清单)。也可显式指定技能 id(免菜单),例如:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
c456 skills install c456-signal-product-vs c456-signal-researcher
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**`--with-wiki`** 会依次装 **karpathy-wiki**、**c456-llm-wiki** 与 **c456-cli**,适合私人知识库一条命令装齐(见 [private-knowledge-base.md §3](./docs/private-knowledge-base.md))。
|
|
47
53
|
|
|
48
54
|
常用参数(透传给 `skills add`):
|
|
49
55
|
|
|
50
|
-
- **`--with-wiki
|
|
56
|
+
- **`--with-wiki`**:私人知识库三件套(不经菜单)
|
|
51
57
|
- **`-C, --cwd <path>`**:在哪个目录下解析「项目级」安装(默认当前目录;具体路径由 skills CLI 决定)
|
|
52
58
|
- **`-g, --global`**:用户级技能目录
|
|
53
59
|
- **`-a, --agent`**:目标 Agent(如 `cursor`、`claude-code` 等),默认 `cursor`;与 `skills add` 一致
|
|
@@ -172,6 +178,12 @@ c456 browser start
|
|
|
172
178
|
# 复用该实例截图(默认加载后再等 3s 再截,可用 --wait-after-load 0 取消)
|
|
173
179
|
c456 screenshot "https://example.com/app" -o ./.tmp/example.png
|
|
174
180
|
|
|
181
|
+
# github.com 仓库页:默认隐藏 README 上方的「文件与目录」表格,便于首屏突出说明文档;需要保留表格时加 --keep-github-files-table
|
|
182
|
+
c456 screenshot "https://github.com/owner/repo" -o ./.tmp/repo.png
|
|
183
|
+
|
|
184
|
+
# 调试:截图前后在终端按 Enter,期间保留标签页便于在 DevTools 里看 DOM(需交互式终端)
|
|
185
|
+
c456 screenshot "https://github.com/owner/repo" -o ./.tmp/repo.png --pause
|
|
186
|
+
|
|
175
187
|
# 用完关闭并释放记录
|
|
176
188
|
c456 browser stop
|
|
177
189
|
```
|