bip-skills 1.4.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 ADDED
@@ -0,0 +1,492 @@
1
+ # bip-skills
2
+
3
+ The CLI for the open agent skills ecosystem.
4
+
5
+ <!-- agent-list:start -->
6
+ Supports **OpenCode**, **Claude Code**, **Codex**, **Cursor**, and [37 more](#available-agents).
7
+ <!-- agent-list:end -->
8
+
9
+ ## Install the CLI
10
+
11
+ ```bash
12
+ # Global install
13
+ npm install -g bip-skills
14
+
15
+ # Or use it without installing
16
+ npx bip-skills --help
17
+ ```
18
+
19
+ After a global install, you can run:
20
+
21
+ ```bash
22
+ bip-skills --help
23
+ skills --help
24
+ add-skill --help
25
+ ```
26
+
27
+ ## Install a Skill
28
+
29
+ ```bash
30
+ npx bip-skills add yonyou/agent-skills
31
+ ```
32
+
33
+ ### Source Formats
34
+
35
+ ```bash
36
+ # Default repo shorthand (owner/repo -> git.yonyou.com)
37
+ npx bip-skills add yonyou/agent-skills
38
+
39
+ # Full default Git URL
40
+ npx bip-skills add https://git.yonyou.com/yonyou/agent-skills
41
+
42
+ # Direct path to a skill in a repo
43
+ npx bip-skills add https://git.yonyou.com/yonyou/agent-skills/tree/main/skills/web-design-guidelines
44
+
45
+ # GitLab URL
46
+ npx bip-skills add https://gitlab.com/org/repo
47
+
48
+ # Any git URL
49
+ npx bip-skills add https://git.yonyou.com/yonyou/agent-skills.git
50
+
51
+ # Local path
52
+ npx bip-skills add ./my-local-skills
53
+ ```
54
+
55
+ ### Options
56
+
57
+ | Option | Description |
58
+ | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
59
+ | `-g, --global` | Install to user directory instead of project |
60
+ | `-a, --agent <agents...>` | <!-- agent-names:start -->Target specific agents (e.g., `claude-code`, `codex`). See [Available Agents](#available-agents)<!-- agent-names:end --> |
61
+ | `-s, --skill <skills...>` | Install specific skills by name (use `'*'` for all skills) |
62
+ | `-l, --list` | List available skills without installing |
63
+ | `--copy` | Copy files instead of symlinking to agent directories |
64
+ | `-y, --yes` | Skip all confirmation prompts |
65
+ | `--all` | Install all skills to all agents without prompts |
66
+
67
+ ### Examples
68
+
69
+ ```bash
70
+ # List skills in a repository
71
+ npx bip-skills add yonyou/agent-skills --list
72
+
73
+ # Install specific skills
74
+ npx bip-skills add yonyou/agent-skills --skill frontend-design --skill skill-creator
75
+
76
+ # Install a skill with spaces in the name (must be quoted)
77
+ npx bip-skills add owner/repo --skill "Convex Best Practices"
78
+
79
+ # Install to specific agents
80
+ npx bip-skills add yonyou/agent-skills -a claude-code -a opencode
81
+
82
+ # Non-interactive installation (CI/CD friendly)
83
+ npx bip-skills add yonyou/agent-skills --skill frontend-design -g -a claude-code -y
84
+
85
+ # Install all skills from a repo to all agents
86
+ npx bip-skills add yonyou/agent-skills --all
87
+
88
+ # Install all skills to specific agents
89
+ npx bip-skills add yonyou/agent-skills --skill '*' -a claude-code
90
+
91
+ # Install specific skills to all agents
92
+ npx bip-skills add yonyou/agent-skills --agent '*' --skill frontend-design
93
+ ```
94
+
95
+ ### Installation Scope
96
+
97
+ | Scope | Flag | Location | Use Case |
98
+ | ----------- | --------- | ------------------- | --------------------------------------------- |
99
+ | **Project** | (default) | `./<agent>/skills/` | Committed with your project, shared with team |
100
+ | **Global** | `-g` | `~/<agent>/skills/` | Available across all projects |
101
+
102
+ ### Installation Methods
103
+
104
+ When installing interactively, you can choose:
105
+
106
+ | Method | Description |
107
+ | ------------------------- | ------------------------------------------------------------------------------------------- |
108
+ | **Symlink** (Recommended) | Creates symlinks from each agent to a canonical copy. Single source of truth, easy updates. |
109
+ | **Copy** | Creates independent copies for each agent. Use when symlinks aren't supported. |
110
+
111
+ ## Other Commands
112
+
113
+ | Command | Description |
114
+ | ---------------------------- | ---------------------------------------------- |
115
+ | `npx bip-skills list` | List installed skills (alias: `ls`) |
116
+ | `npx bip-skills find [query]` | Search for skills interactively or by keyword |
117
+ | `npx bip-skills remove [skills]` | Remove installed skills from agents |
118
+ | `npx bip-skills check` | Check for available skill updates |
119
+ | `npx bip-skills update` | Update all installed skills to latest versions |
120
+ | `npx bip-skills init [name]` | Create a new SKILL.md template |
121
+
122
+ ### `bip-skills list`
123
+
124
+ List all installed skills. Similar to `npm ls`.
125
+
126
+ ```bash
127
+ # List all installed skills (project and global)
128
+ npx bip-skills list
129
+
130
+ # List only global skills
131
+ npx bip-skills ls -g
132
+
133
+ # Filter by specific agents
134
+ npx bip-skills ls -a claude-code -a cursor
135
+ ```
136
+
137
+ ### `bip-skills find`
138
+
139
+ Search for skills interactively or by keyword.
140
+
141
+ ```bash
142
+ # Interactive search (fzf-style)
143
+ npx bip-skills find
144
+
145
+ # Search by keyword
146
+ npx bip-skills find typescript
147
+ ```
148
+
149
+ ### `bip-skills check` / `bip-skills update`
150
+
151
+ ```bash
152
+ # Check if any installed skills have updates
153
+ npx bip-skills check
154
+
155
+ # Update all skills to latest versions
156
+ npx bip-skills update
157
+ ```
158
+
159
+ ### `skills init`
160
+
161
+ ```bash
162
+ # Create SKILL.md in current directory
163
+ npx bip-skills init
164
+
165
+ # Create a new skill in a subdirectory
166
+ npx bip-skills init my-skill
167
+ ```
168
+
169
+ ### `skills remove`
170
+
171
+ Remove installed skills from agents.
172
+
173
+ ```bash
174
+ # Remove interactively (select from installed skills)
175
+ npx bip-skills remove
176
+
177
+ # Remove specific skill by name
178
+ npx bip-skills remove web-design-guidelines
179
+
180
+ # Remove multiple skills
181
+ npx bip-skills remove frontend-design web-design-guidelines
182
+
183
+ # Remove from global scope
184
+ npx bip-skills remove --global web-design-guidelines
185
+
186
+ # Remove from specific agents only
187
+ npx bip-skills remove --agent claude-code cursor my-skill
188
+
189
+ # Remove all installed skills without confirmation
190
+ npx bip-skills remove --all
191
+
192
+ # Remove all skills from a specific agent
193
+ npx bip-skills remove --skill '*' -a cursor
194
+
195
+ # Remove a specific skill from all agents
196
+ npx bip-skills remove my-skill --agent '*'
197
+
198
+ # Use 'rm' alias
199
+ npx bip-skills rm my-skill
200
+ ```
201
+
202
+ | Option | Description |
203
+ | -------------- | ------------------------------------------------ |
204
+ | `-g, --global` | Remove from global scope (~/) instead of project |
205
+ | `-a, --agent` | Remove from specific agents (use `'*'` for all) |
206
+ | `-s, --skill` | Specify skills to remove (use `'*'` for all) |
207
+ | `-y, --yes` | Skip confirmation prompts |
208
+ | `--all` | Shorthand for `--skill '*' --agent '*' -y` |
209
+
210
+ ## What are Agent Skills?
211
+
212
+ Agent skills are reusable instruction sets that extend your coding agent's capabilities. They're defined in `SKILL.md`
213
+ files with YAML frontmatter containing a `name` and `description`.
214
+
215
+ Skills let agents perform specialized tasks like:
216
+
217
+ - Generating release notes from git history
218
+ - Creating PRs following your team's conventions
219
+ - Integrating with external tools (Linear, Notion, etc.)
220
+
221
+ Discover skills at **[sun.yyuap.com](https://sun.yyuap.com)**
222
+
223
+ ## Supported Agents
224
+
225
+ Skills can be installed to any of these agents:
226
+
227
+ <!-- supported-agents:start -->
228
+ | Agent | `--agent` | Project Path | Global Path |
229
+ |-------|-----------|--------------|-------------|
230
+ | Amp, Kimi Code CLI, Replit, Universal | `amp`, `kimi-cli`, `replit`, `universal` | `.agents/skills/` | `~/.config/agents/skills/` |
231
+ | Antigravity | `antigravity` | `.agent/skills/` | `~/.gemini/antigravity/skills/` |
232
+ | Augment | `augment` | `.augment/skills/` | `~/.augment/skills/` |
233
+ | Claude Code | `claude-code` | `.claude/skills/` | `~/.claude/skills/` |
234
+ | OpenClaw | `openclaw` | `skills/` | `~/.openclaw/skills/` |
235
+ | Cline | `cline` | `.agents/skills/` | `~/.agents/skills/` |
236
+ | CodeBuddy | `codebuddy` | `.codebuddy/skills/` | `~/.codebuddy/skills/` |
237
+ | Codex | `codex` | `.agents/skills/` | `~/.codex/skills/` |
238
+ | Command Code | `command-code` | `.commandcode/skills/` | `~/.commandcode/skills/` |
239
+ | Continue | `continue` | `.continue/skills/` | `~/.continue/skills/` |
240
+ | Cortex Code | `cortex` | `.cortex/skills/` | `~/.snowflake/cortex/skills/` |
241
+ | Crush | `crush` | `.crush/skills/` | `~/.config/crush/skills/` |
242
+ | Cursor | `cursor` | `.agents/skills/` | `~/.cursor/skills/` |
243
+ | Droid | `droid` | `.factory/skills/` | `~/.factory/skills/` |
244
+ | Gemini CLI | `gemini-cli` | `.agents/skills/` | `~/.gemini/skills/` |
245
+ | GitHub Copilot | `github-copilot` | `.agents/skills/` | `~/.copilot/skills/` |
246
+ | Goose | `goose` | `.goose/skills/` | `~/.config/goose/skills/` |
247
+ | Junie | `junie` | `.junie/skills/` | `~/.junie/skills/` |
248
+ | iFlow CLI | `iflow-cli` | `.iflow/skills/` | `~/.iflow/skills/` |
249
+ | Kilo Code | `kilo` | `.kilocode/skills/` | `~/.kilocode/skills/` |
250
+ | Kiro CLI | `kiro-cli` | `.kiro/skills/` | `~/.kiro/skills/` |
251
+ | Kode | `kode` | `.kode/skills/` | `~/.kode/skills/` |
252
+ | MCPJam | `mcpjam` | `.mcpjam/skills/` | `~/.mcpjam/skills/` |
253
+ | Mistral Vibe | `mistral-vibe` | `.vibe/skills/` | `~/.vibe/skills/` |
254
+ | Mux | `mux` | `.mux/skills/` | `~/.mux/skills/` |
255
+ | OpenCode | `opencode` | `.agents/skills/` | `~/.config/opencode/skills/` |
256
+ | OpenHands | `openhands` | `.openhands/skills/` | `~/.openhands/skills/` |
257
+ | Pi | `pi` | `.pi/skills/` | `~/.pi/agent/skills/` |
258
+ | Qoder | `qoder` | `.qoder/skills/` | `~/.qoder/skills/` |
259
+ | Qwen Code | `qwen-code` | `.qwen/skills/` | `~/.qwen/skills/` |
260
+ | Roo Code | `roo` | `.roo/skills/` | `~/.roo/skills/` |
261
+ | Trae | `trae` | `.trae/skills/` | `~/.trae/skills/` |
262
+ | Trae CN | `trae-cn` | `.trae/skills/` | `~/.trae-cn/skills/` |
263
+ | Windsurf | `windsurf` | `.windsurf/skills/` | `~/.codeium/windsurf/skills/` |
264
+ | Zencoder | `zencoder` | `.zencoder/skills/` | `~/.zencoder/skills/` |
265
+ | Neovate | `neovate` | `.neovate/skills/` | `~/.neovate/skills/` |
266
+ | Pochi | `pochi` | `.pochi/skills/` | `~/.pochi/skills/` |
267
+ | AdaL | `adal` | `.adal/skills/` | `~/.adal/skills/` |
268
+ <!-- supported-agents:end -->
269
+
270
+ > [!NOTE]
271
+ > **Kiro CLI users:** After installing skills, manually add them to your custom agent's `resources` in
272
+ > `.kiro/agents/<agent>.json`:
273
+ >
274
+ > ```json
275
+ > {
276
+ > "resources": ["skill://.kiro/skills/**/SKILL.md"]
277
+ > }
278
+ > ```
279
+
280
+ The CLI automatically detects which coding agents you have installed. If none are detected, you'll be prompted to select
281
+ which agents to install to.
282
+
283
+ ## Creating Skills
284
+
285
+ Skills are directories containing a `SKILL.md` file with YAML frontmatter:
286
+
287
+ ```markdown
288
+ ---
289
+ name: my-skill
290
+ description: What this skill does and when to use it
291
+ ---
292
+
293
+ # My Skill
294
+
295
+ Instructions for the agent to follow when this skill is activated.
296
+
297
+ ## When to Use
298
+
299
+ Describe the scenarios where this skill should be used.
300
+
301
+ ## Steps
302
+
303
+ 1. First, do this
304
+ 2. Then, do that
305
+ ```
306
+
307
+ ### Required Fields
308
+
309
+ - `name`: Unique identifier (lowercase, hyphens allowed)
310
+ - `description`: Brief explanation of what the skill does
311
+
312
+ ### Optional Fields
313
+
314
+ - `metadata.internal`: Set to `true` to hide the skill from normal discovery. Internal skills are only visible and
315
+ installable when `INSTALL_INTERNAL_SKILLS=1` is set. Useful for work-in-progress skills or skills meant only for
316
+ internal tooling.
317
+
318
+ ```markdown
319
+ ---
320
+ name: my-internal-skill
321
+ description: An internal skill not shown by default
322
+ metadata:
323
+ internal: true
324
+ ---
325
+ ```
326
+
327
+ ### Skill Discovery
328
+
329
+ The CLI searches for skills in these locations within a repository:
330
+
331
+ <!-- skill-discovery:start -->
332
+ - Root directory (if it contains `SKILL.md`)
333
+ - `skills/`
334
+ - `skills/.curated/`
335
+ - `skills/.experimental/`
336
+ - `skills/.system/`
337
+ - `.agents/skills/`
338
+ - `.agent/skills/`
339
+ - `.augment/skills/`
340
+ - `.claude/skills/`
341
+ - `./skills/`
342
+ - `.codebuddy/skills/`
343
+ - `.commandcode/skills/`
344
+ - `.continue/skills/`
345
+ - `.cortex/skills/`
346
+ - `.crush/skills/`
347
+ - `.factory/skills/`
348
+ - `.goose/skills/`
349
+ - `.junie/skills/`
350
+ - `.iflow/skills/`
351
+ - `.kilocode/skills/`
352
+ - `.kiro/skills/`
353
+ - `.kode/skills/`
354
+ - `.mcpjam/skills/`
355
+ - `.vibe/skills/`
356
+ - `.mux/skills/`
357
+ - `.openhands/skills/`
358
+ - `.pi/skills/`
359
+ - `.qoder/skills/`
360
+ - `.qwen/skills/`
361
+ - `.roo/skills/`
362
+ - `.trae/skills/`
363
+ - `.windsurf/skills/`
364
+ - `.zencoder/skills/`
365
+ - `.neovate/skills/`
366
+ - `.pochi/skills/`
367
+ - `.adal/skills/`
368
+ <!-- skill-discovery:end -->
369
+
370
+ ### Plugin Manifest Discovery
371
+
372
+ If `.claude-plugin/marketplace.json` or `.claude-plugin/plugin.json` exists, skills declared in those files are also discovered:
373
+
374
+ ```json
375
+ // .claude-plugin/marketplace.json
376
+ {
377
+ "metadata": { "pluginRoot": "./plugins" },
378
+ "plugins": [
379
+ {
380
+ "name": "my-plugin",
381
+ "source": "my-plugin",
382
+ "skills": ["./skills/review", "./skills/test"]
383
+ }
384
+ ]
385
+ }
386
+ ```
387
+
388
+ This enables compatibility with the [Claude Code plugin marketplace](https://code.claude.com/docs/en/plugin-marketplaces) ecosystem.
389
+
390
+ If no skills are found in standard locations, a recursive search is performed.
391
+
392
+ ## Compatibility
393
+
394
+ Skills are generally compatible across agents since they follow a
395
+ shared [Agent Skills specification](https://agentskills.io). However, some features may be agent-specific:
396
+
397
+ | Feature | OpenCode | OpenHands | Claude Code | Cline | CodeBuddy | Codex | Command Code | Kiro CLI | Cursor | Antigravity | Roo Code | Github Copilot | Amp | OpenClaw | Neovate | Pi | Qoder | Zencoder |
398
+ | --------------- | -------- | --------- | ----------- | ----- | --------- | ----- | ------------ | -------- | ------ | ----------- | -------- | -------------- | --- | -------- | ------- | --- | ----- | -------- |
399
+ | Basic skills | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
400
+ | `allowed-tools` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No |
401
+ | `context: fork` | No | No | Yes | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
402
+ | Hooks | No | No | Yes | Yes | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
403
+
404
+ ## Troubleshooting
405
+
406
+ ### "No skills found"
407
+
408
+ Ensure the repository contains valid `SKILL.md` files with both `name` and `description` in the frontmatter.
409
+
410
+ ### Skill not loading in agent
411
+
412
+ - Verify the skill was installed to the correct path
413
+ - Check the agent's documentation for skill loading requirements
414
+ - Ensure the `SKILL.md` frontmatter is valid YAML
415
+
416
+ ### Permission errors
417
+
418
+ Ensure you have write access to the target directory.
419
+
420
+ ## Environment Variables
421
+
422
+ | Variable | Description |
423
+ | ------------------------- | -------------------------------------------------------------------------- |
424
+ | `INSTALL_INTERNAL_SKILLS` | Set to `1` or `true` to show and install skills marked as `internal: true` |
425
+ | `DISABLE_TELEMETRY` | Set to disable anonymous usage telemetry |
426
+ | `DO_NOT_TRACK` | Alternative way to disable telemetry |
427
+ | `SKILLS_TELEMETRY_URL` | Optional telemetry endpoint. Only `yyuap.com` hosts are accepted. |
428
+ | `SKILLS_AUDIT_URL` | Optional audit endpoint. Only `yyuap.com` hosts are accepted. |
429
+
430
+ ```bash
431
+ # Install internal skills
432
+ INSTALL_INTERNAL_SKILLS=1 npx bip-skills add yonyou/agent-skills --list
433
+ ```
434
+
435
+ ## Telemetry
436
+
437
+ This CLI only sends telemetry or audit requests when `SKILLS_TELEMETRY_URL` or `SKILLS_AUDIT_URL`
438
+ is explicitly configured to a `yyuap.com` endpoint.
439
+
440
+ Telemetry is automatically disabled in CI environments.
441
+
442
+ ## Publish
443
+
444
+ For maintainers releasing this CLI to npm:
445
+
446
+ ```bash
447
+ # Build the distributable CLI
448
+ pnpm build
449
+
450
+ # Verify the published tarball contents locally
451
+ npm run pack:check
452
+
453
+ # Publish to npm
454
+ npm publish --access public
455
+ ```
456
+
457
+ The repository also includes [`.github/workflows/publish.yml`](.github/workflows/publish.yml), which can publish automatically from `main`, version tags like `v1.4.3`, or manual workflow dispatch.
458
+
459
+ ## Related Links
460
+
461
+ - [Agent Skills Specification](https://agentskills.io)
462
+ - [Skills Directory](https://sun.yyuap.com)
463
+ - [Amp Skills Documentation](https://ampcode.com/manual#agent-skills)
464
+ - [Antigravity Skills Documentation](https://antigravity.google/docs/skills)
465
+ - [Factory AI / Droid Skills Documentation](https://docs.factory.ai/cli/configuration/skills)
466
+ - [Claude Code Skills Documentation](https://code.claude.com/docs/en/skills)
467
+ - [OpenClaw Skills Documentation](https://docs.openclaw.ai/tools/skills)
468
+ - [Cline Skills Documentation](https://docs.cline.bot/features/skills)
469
+ - [CodeBuddy Skills Documentation](https://www.codebuddy.ai/docs/ide/Features/Skills)
470
+ - [Codex Skills Documentation](https://developers.openai.com/codex/skills)
471
+ - [Command Code Skills Documentation](https://commandcode.ai/docs/skills)
472
+ - [Crush Skills Documentation](https://github.com/charmbracelet/crush?tab=readme-ov-file#agent-skills)
473
+ - [Cursor Skills Documentation](https://cursor.com/docs/context/skills)
474
+ - [Gemini CLI Skills Documentation](https://geminicli.com/docs/cli/skills/)
475
+ - [GitHub Copilot Agent Skills](https://docs.github.com/en/copilot/concepts/agents/about-agent-skills)
476
+ - [iFlow CLI Skills Documentation](https://platform.iflow.cn/en/cli/examples/skill)
477
+ - [Kimi Code CLI Skills Documentation](https://moonshotai.github.io/kimi-cli/en/customization/skills.html)
478
+ - [Kiro CLI Skills Documentation](https://kiro.dev/docs/cli/custom-agents/configuration-reference/#skill-resources)
479
+ - [Kode Skills Documentation](https://github.com/shareAI-lab/kode/blob/main/docs/skills.md)
480
+ - [OpenCode Skills Documentation](https://opencode.ai/docs/skills)
481
+ - [Qwen Code Skills Documentation](https://qwenlm.github.io/qwen-code-docs/en/users/features/skills/)
482
+ - [OpenHands Skills Documentation](https://docs.openhands.ai/modules/usage/how-to/using-skills)
483
+ - [Pi Skills Documentation](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/docs/skills.md)
484
+ - [Qoder Skills Documentation](https://docs.qoder.com/cli/Skills)
485
+ - [Replit Skills Documentation](https://docs.replit.com/replitai/skills)
486
+ - [Roo Code Skills Documentation](https://docs.roocode.com/features/skills)
487
+ - [Trae Skills Documentation](https://docs.trae.ai/ide/skills)
488
+ - [YonYou Agent Skills Repository](https://git.yonyou.com/yonyou/agent-skills)
489
+
490
+ ## License
491
+
492
+ MIT