@openskillmd/osm 0.2.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/LICENSE +21 -0
- package/README.md +76 -0
- package/dist/index.js +1373 -0
- package/package.json +67 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 OpenSkill
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# osm — the OpenSkill CLI
|
|
2
|
+
|
|
3
|
+
Search, add, score, and explore AI agent skills, blueprints, and MCP servers from
|
|
4
|
+
[OpenSkill.md](https://openskill.md) — right from your terminal.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npm i -g @openskillmd/osm@beta
|
|
8
|
+
# or the unscoped alias:
|
|
9
|
+
npm i -g openskillmd@beta
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Both packages install the same CLI and expose the `osm` command (plus `openskill`
|
|
13
|
+
and `openskillmd` aliases).
|
|
14
|
+
|
|
15
|
+
> **Beta:** the current release is published under the `beta` dist-tag and points at
|
|
16
|
+
> the staging API — install it with the `@beta` tag shown above. A plain
|
|
17
|
+
> `npm i -g @openskillmd/osm` will not resolve until the stable `latest` release
|
|
18
|
+
> lands when the production API goes live.
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
osm search <query> # Search skills, blueprints, and MCP servers
|
|
24
|
+
osm info <slug> # Show details about a skill or blueprint
|
|
25
|
+
osm add <owner>/<repo> # Add a skill from a source repo (alias: install)
|
|
26
|
+
osm add <owner>/<repo>@<skill>
|
|
27
|
+
osm browse # Explore collections & MCP servers (interactive)
|
|
28
|
+
osm list # Show skills installed in this project
|
|
29
|
+
osm score <file> # Score a local SKILL.md for quality
|
|
30
|
+
osm init <skill|blueprint> # Scaffold a new skill or blueprint
|
|
31
|
+
osm remove <slug> # Remove an installed skill/blueprint
|
|
32
|
+
osm router install # Install the OpenSkill router SKILL.md
|
|
33
|
+
osm mcp setup # Print MCP server config for Claude/Cursor
|
|
34
|
+
osm mcp info <slug> # Show details about an MCP server
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Installing skills
|
|
38
|
+
|
|
39
|
+
`osm add` installs skills from a source repository (it delegates to the
|
|
40
|
+
[`skills`](https://www.npmjs.com/package/skills) installer and is agent-aware):
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
osm add anthropics/skills@frontend-design
|
|
44
|
+
osm add anthropics/skills@frontend-design --agent claude-code
|
|
45
|
+
osm add anthropics/skills --global --copy
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Run `osm search <query>` to discover skills, then `osm info <slug>` — the install
|
|
49
|
+
hint shows the exact `osm add owner/repo` command for that skill.
|
|
50
|
+
|
|
51
|
+
## Configuration
|
|
52
|
+
|
|
53
|
+
Settings live in `~/.openskill/config.json`:
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
{ "baseUrl": "https://staging.openskill.md/api" }
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
The API base URL is resolved in this order:
|
|
60
|
+
|
|
61
|
+
1. `OPENSKILL_API_URL` environment variable
|
|
62
|
+
2. `baseUrl` in `~/.openskill/config.json`
|
|
63
|
+
3. the built-in default (staging during beta)
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
OPENSKILL_API_URL=http://localhost:8080/api osm search testing
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Coming soon
|
|
70
|
+
|
|
71
|
+
Authenticated publishing (`osm login` / `osm publish`) is in development and not
|
|
72
|
+
available in this release.
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
MIT
|