@cremini/skillpack 1.1.7 → 1.1.8-beta.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.md +19 -11
- package/dist/cli.js +998 -132
- package/dist/runtime/registry.js +244 -0
- package/package.json +4 -2
- package/web/js/api-key-dialog.js +3 -5
- package/web/js/chat-apps-dialog.js +4 -10
- package/web/js/settings.js +3 -8
package/README.md
CHANGED
|
@@ -6,20 +6,23 @@ Skillpack helps teams turn AI skills into trusted local agents that can run in t
|
|
|
6
6
|
|
|
7
7
|
[skillpack.sh](https://skillpack.sh) is an open-source way to package AI skills into runnable local agents. If skills and tools are like LEGO pieces, a SkillPack is the finished product that assembles them into a complete solution.
|
|
8
8
|
Instead of juggling prompts, scripts, docs, and one-off automations, Skillpack gives you a simple way to:
|
|
9
|
+
|
|
9
10
|
- package AI skills into reusable agents
|
|
10
11
|
- run them locally
|
|
11
12
|
- keep sensitive data in your own environment
|
|
12
13
|
- use agents from tools your team already uses, like Slack and Telegram
|
|
13
14
|
|
|
14
|
-
Skillpack is built for teams that want AI Agents to be deployable, trusted, and easy to use.
|
|
15
|
+
Skillpack is built for teams that want AI Agents to be deployable, trusted, and easy to use.
|
|
15
16
|
|
|
16
17
|
---
|
|
17
18
|
|
|
18
19
|
## Quick Start
|
|
19
20
|
|
|
20
|
-
### 1. Run a skillpack
|
|
21
|
+
### 1. Run a skillpack
|
|
22
|
+
|
|
21
23
|
1. Download the example [Company Deep Research](https://github.com/FinpeakInc/downloads/releases/download/v.0.0.1/Company-Deep-Research.zip)
|
|
22
24
|
2. Unzip it and Run ./start.sh on Mac OS, and double click start.bat on Windows (see below), the server starts and opens http://127.0.0.1:26313 in your browser
|
|
25
|
+
|
|
23
26
|
```bash
|
|
24
27
|
# macOS / Linux
|
|
25
28
|
./start.sh
|
|
@@ -27,10 +30,10 @@ Skillpack is built for teams that want AI Agents to be deployable, trusted, and
|
|
|
27
30
|
# Windows
|
|
28
31
|
start.bat
|
|
29
32
|
```
|
|
33
|
+
|
|
30
34
|
3. Enter an LLM API key (OpenAI or Claude API Key) in the left menu, use the prompt example to try it!
|
|
31
35
|
4. (Optional) Refer to the instructions **Slack/Telegram Integrations** below to integrate with Slack and Telegram.
|
|
32
36
|
|
|
33
|
-
|
|
34
37
|
### 2. Create a new skillpack
|
|
35
38
|
|
|
36
39
|
```bash
|
|
@@ -51,7 +54,7 @@ Step by step:
|
|
|
51
54
|
npx @cremini/skillpack create --config ./skillpack.json
|
|
52
55
|
|
|
53
56
|
# From a remote URL (no directory = current directory)
|
|
54
|
-
npx @cremini/skillpack create comic-explainer --config https://raw.githubusercontent.com/CreminiAI/skillpack/refs/heads/main/examples/
|
|
57
|
+
npx @cremini/skillpack create comic-explainer --config https://raw.githubusercontent.com/CreminiAI/skillpack/refs/heads/main/examples/comic-explainer.json
|
|
55
58
|
```
|
|
56
59
|
|
|
57
60
|
Ready to run using "Run a skillpack" part
|
|
@@ -105,10 +108,12 @@ The start scripts use `npx @cremini/skillpack run .` so Node.js is the only prer
|
|
|
105
108
|
**Telegram configuration**: requires `Bot Token`
|
|
106
109
|
|
|
107
110
|
### Slack App Setup and how to get `App Token` and `Bot Token`
|
|
111
|
+
|
|
108
112
|
1. Create a new Slack app at https://api.slack.com/apps
|
|
109
113
|
2. Enable Socket Mode (Settings → Socket Mode → Enable)
|
|
110
114
|
3. Generate an App-Level Token with `connections:write` scope. This is **`App Token`**
|
|
111
115
|
4. Add Bot Token Scopes (OAuth & Permissions):
|
|
116
|
+
|
|
112
117
|
- `app_mentions:read`
|
|
113
118
|
- `channels:history`
|
|
114
119
|
- `channels:read`
|
|
@@ -123,32 +128,35 @@ The start scripts use `npx @cremini/skillpack run .` so Node.js is the only prer
|
|
|
123
128
|
- `users:read`
|
|
124
129
|
|
|
125
130
|
5. Subscribe to Bot Events (Event Subscriptions):
|
|
131
|
+
|
|
126
132
|
- `app_mention`
|
|
127
133
|
- `message.channels`
|
|
128
134
|
- `message.groups`
|
|
129
135
|
- `message.im`
|
|
130
136
|
|
|
131
137
|
6. Enable Direct Messages (App Home):
|
|
132
|
-
Go to App Home in the left sidebar
|
|
133
|
-
Under Show Tabs, enable the Messages Tab
|
|
134
|
-
Check Allow users to send Slash commands and messages from the messages tab
|
|
138
|
+
Go to App Home in the left sidebar
|
|
139
|
+
Under Show Tabs, enable the Messages Tab
|
|
140
|
+
Check Allow users to send Slash commands and messages from the messages tab
|
|
135
141
|
|
|
136
142
|
7. Install the app to your workspace. Get the Bot User OAuth Token. This is **`Bot Token`**
|
|
137
143
|
8. Add the app to any channels where you want the agent to operate (it'll only see messages in channels it's added to)
|
|
138
144
|
9. On the SkillPack buit-in UI http://127.0.0.1:26313, Tap "Connect to Chat App" button and Enter the **`Bot Token`** and **`App Token`**, Save
|
|
139
145
|
|
|
140
146
|
### Telegram Setup and how to get `Bot Token`
|
|
147
|
+
|
|
141
148
|
1. **Open Telegram** and search for the official account **`@BotFather`** (it will have a blue verified checkmark).
|
|
142
149
|
2. **Start a chat** by tapping "Start" or sending the `/start` command.
|
|
143
150
|
3. **Send the command** `/newbot` to the BotFather.
|
|
144
151
|
4. **Follow the prompts** to choose a display name and a unique username for your bot. The username must end with the word "bot" (e.g., `MyHelperBot` or `My_Helper_bot`).
|
|
145
|
-
5. **Receive the token**. Once the bot is successfully created, the BotFather will provide you with a message containing your unique API token.
|
|
146
|
-
The token will look like a long string of numbers and letters, formatted as `123456789:AABBCCddEeff.... `
|
|
152
|
+
5. **Receive the token**. Once the bot is successfully created, the BotFather will provide you with a message containing your unique API token.
|
|
153
|
+
The token will look like a long string of numbers and letters, formatted as `123456789:AABBCCddEeff.... `
|
|
147
154
|
6. On the SkillPack buit-in UI http://127.0.0.1:26313, Tap "Connect to Chat App" button and Enter the **`Bot Token`**, Save
|
|
148
155
|
|
|
149
156
|
### (Optional) Put tokens into data/config.json if you don't use Web UI
|
|
157
|
+
|
|
150
158
|
Or Once you have telegram or slack tokens, you can also configure them in `data/config.json` (created at runtime, not included in the zip):
|
|
151
|
-
The runtime supports **Slack** and **Telegram** in addition to the built-in web UI.
|
|
159
|
+
The runtime supports **Slack** and **Telegram** in addition to the built-in web UI.
|
|
152
160
|
|
|
153
161
|
```json
|
|
154
162
|
{
|
|
@@ -168,7 +176,7 @@ The runtime supports **Slack** and **Telegram** in addition to the built-in web
|
|
|
168
176
|
|
|
169
177
|
## Example Use Cases
|
|
170
178
|
|
|
171
|
-
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. 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.
|
|
179
|
+
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. 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.
|
|
172
180
|
|
|
173
181
|
Download [Company Deep Research](https://github.com/FinpeakInc/downloads/releases/download/v.0.0.1/Company-Deep-Research.zip) and try it! More examples can be found at [skillpack.sh](https://skillpack.sh)
|
|
174
182
|
|