@cremini/skillpack 1.1.4-beta.0 → 1.1.4
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 +87 -47
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,83 +1,99 @@
|
|
|
1
|
-
# SkillPack.sh
|
|
1
|
+
# SkillPack.sh — Pack AI Skills into Local Agents
|
|
2
2
|
|
|
3
3
|
Skillpack by Cremini is built on the idea of distributed intelligence, much like cremini mushrooms that grow from a vast, interconnected mycelial network.
|
|
4
4
|
|
|
5
5
|
## Use Case
|
|
6
|
-
The main use case is to **run local agents on your computer and integrate them with Slack or Telegram** so they can work for you and your team—operating entirely on your machine to keep all team data local and private, while continuously improving by learning new skills.
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
The main use case is to **run local agents on your computer and integrate them with Slack or Telegram** so they can work for you and your team — operating entirely on your machine to keep all team data local and private, while continuously improving by learning new skills.
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
If skills and tools are like LEGO pieces, a SkillPack is the finished product that assembles them into a complete solution. Go to [skillpack.sh](https://skillpack.sh) to download ready-made packs.
|
|
10
|
+
|
|
11
|
+
Each SkillPack organizes skills around a well-defined job — for example: research a company by gathering information from multiple sources and produce a PowerPoint presentation from the findings.
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Quick Start
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
### Create a new pack interactively
|
|
15
18
|
|
|
16
19
|
```bash
|
|
17
20
|
npx @cremini/skillpack create
|
|
18
21
|
```
|
|
19
22
|
|
|
20
|
-
Step
|
|
23
|
+
Step by step:
|
|
21
24
|
|
|
22
|
-
1. Set the
|
|
23
|
-
2. Add skills from
|
|
24
|
-
3. Add prompts to
|
|
25
|
-
4.
|
|
25
|
+
1. Set the pack name and description.
|
|
26
|
+
2. Add skills from GitHub repos, URLs, or local paths.
|
|
27
|
+
3. Add prompts to tell the agent how to orchestrate those skills.
|
|
28
|
+
4. Optionally package the result as a zip immediately.
|
|
26
29
|
|
|
27
|
-
### Initialize
|
|
30
|
+
### Initialize from an existing config
|
|
28
31
|
|
|
29
32
|
```bash
|
|
30
|
-
|
|
31
|
-
npx @cremini/skillpack
|
|
33
|
+
# From a local file
|
|
34
|
+
npx @cremini/skillpack create --config ./skillpack.json
|
|
35
|
+
|
|
36
|
+
# From a remote URL (no directory = current directory)
|
|
37
|
+
npx @cremini/skillpack create comic-explainer --config https://raw.githubusercontent.com/CreminiAI/skillpack/refs/heads/main/examples/comic_explainer.json
|
|
32
38
|
```
|
|
33
39
|
|
|
34
|
-
|
|
40
|
+
Downloads and validates the config, installs all declared skills, and copies the start scripts — ready to run in one step.
|
|
35
41
|
|
|
36
|
-
###
|
|
42
|
+
### Run a pack
|
|
37
43
|
|
|
38
44
|
```bash
|
|
39
|
-
|
|
40
|
-
npx @cremini/skillpack
|
|
41
|
-
|
|
45
|
+
npx @cremini/skillpack run
|
|
46
|
+
npx @cremini/skillpack run ./comic-explainer
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
- If `skillpack.json` is missing, you are prompted to create one on the spot.
|
|
50
|
+
- Any remote skills declared in the config but not yet installed are installed automatically.
|
|
51
|
+
- The server starts and opens [http://127.0.0.1:26313](http://127.0.0.1:26313) in your browser.
|
|
42
52
|
|
|
43
|
-
|
|
44
|
-
npx @cremini/skillpack prompts add "Collect company data using Skill A, create charts from the data using Skill B, and compile the results into a PowerPoint using Skill C"
|
|
45
|
-
npx @cremini/skillpack prompts list
|
|
53
|
+
### Package a pack for distribution
|
|
46
54
|
|
|
47
|
-
|
|
48
|
-
npx @cremini/skillpack
|
|
55
|
+
```bash
|
|
56
|
+
npx @cremini/skillpack zip
|
|
49
57
|
```
|
|
50
58
|
|
|
51
|
-
|
|
59
|
+
Produces `<pack-name>.zip` in the current directory.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Skill Source Formats
|
|
64
|
+
|
|
65
|
+
When adding skills through `create`, the source field accepts:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# GitHub shorthand
|
|
69
|
+
vercel-labs/agent-skills --skill frontend-design
|
|
52
70
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
| `build` | Package the skill pack as a zip file |
|
|
71
|
+
# Full GitHub URL
|
|
72
|
+
https://github.com/JimLiu/baoyu-skills/tree/main/skills --skill baoyu-comic
|
|
73
|
+
|
|
74
|
+
# Local path
|
|
75
|
+
./skills/my-local-skill
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Multiple skill names from the same source can be listed comma-separated.
|
|
79
|
+
|
|
80
|
+
---
|
|
64
81
|
|
|
65
82
|
## Zip Output
|
|
66
83
|
|
|
67
|
-
The
|
|
84
|
+
The archive produced by `zip` is intentionally minimal:
|
|
68
85
|
|
|
69
86
|
```text
|
|
70
|
-
|
|
87
|
+
<pack-name>/
|
|
71
88
|
├── skillpack.json # Pack configuration
|
|
72
|
-
├── skills/ #
|
|
73
|
-
├──
|
|
74
|
-
|
|
75
|
-
├── start.sh # One-click launcher for macOS/Linux
|
|
76
|
-
├── start.bat # One-click launcher for Windows
|
|
77
|
-
└── README.md # Runtime guide
|
|
89
|
+
├── skills/ # Installed skills
|
|
90
|
+
├── start.sh # One-click launcher for macOS / Linux
|
|
91
|
+
└── start.bat # One-click launcher for Windows
|
|
78
92
|
```
|
|
79
93
|
|
|
80
|
-
|
|
94
|
+
The start scripts use `npx @cremini/skillpack run .` so Node.js is the only prerequisite — no pre-bundled server directory is included.
|
|
95
|
+
|
|
96
|
+
### Run a distributed pack
|
|
81
97
|
|
|
82
98
|
```bash
|
|
83
99
|
# macOS / Linux
|
|
@@ -87,11 +103,35 @@ skillpack/
|
|
|
87
103
|
start.bat
|
|
88
104
|
```
|
|
89
105
|
|
|
90
|
-
|
|
106
|
+
The browser opens [http://127.0.0.1:26313](http://127.0.0.1:26313) automatically. Enter your API key and start working.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## IM Integrations
|
|
111
|
+
|
|
112
|
+
The runtime supports **Slack** and **Telegram** in addition to the built-in web UI. Configure them in `data/config.json` (created at runtime, not included in the zip):
|
|
113
|
+
|
|
114
|
+
```json
|
|
115
|
+
{
|
|
116
|
+
"adapters": {
|
|
117
|
+
"telegram": {
|
|
118
|
+
"token": "123456:ABC-DEF..."
|
|
119
|
+
},
|
|
120
|
+
"slack": {
|
|
121
|
+
"botToken": "xoxb-...",
|
|
122
|
+
"appToken": "xapp-..."
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
See [docs/runtime/im-adapters.md](docs/runtime/im-adapters.md) for setup requirements.
|
|
129
|
+
|
|
130
|
+
---
|
|
91
131
|
|
|
92
132
|
## Development
|
|
93
133
|
|
|
94
|
-
For
|
|
134
|
+
For build commands, CLI reference, and environment variables, see [Development Guide](docs/development.md).
|
|
95
135
|
|
|
96
136
|
## License
|
|
97
137
|
|