skillett 0.1.0 → 0.1.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 +67 -0
- package/dist/lib/device-auth.js +0 -1
- package/package.json +12 -1
package/README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Skillett
|
|
2
|
+
|
|
3
|
+
Agent skills platform — connect AI agents to external services through a unified CLI.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Authenticate
|
|
9
|
+
npx skillett login
|
|
10
|
+
|
|
11
|
+
# Connect an integration
|
|
12
|
+
npx skillett connect gmail
|
|
13
|
+
|
|
14
|
+
# Browse available skills
|
|
15
|
+
npx skillett skills
|
|
16
|
+
npx skillett skills gmail
|
|
17
|
+
npx skillett skills gmail send_email
|
|
18
|
+
|
|
19
|
+
# Execute a skill
|
|
20
|
+
npx skillett run gmail send_email --to "user@example.com" --subject "Hello" --body "Hi there"
|
|
21
|
+
npx skillett run google-calendar list_events --calendarId primary --timeMin "2026-04-06T00:00:00Z"
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Or install globally if you prefer:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install -g skillett
|
|
28
|
+
skillett login
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Commands
|
|
32
|
+
|
|
33
|
+
| Command | Description |
|
|
34
|
+
|---|---|
|
|
35
|
+
| `skillett login` | Authenticate via device code or API key |
|
|
36
|
+
| `skillett status` | Show account and connection info |
|
|
37
|
+
| `skillett skills [integration] [endpoint]` | Browse available integrations and endpoints |
|
|
38
|
+
| `skillett connect <integration>` | Connect to a service (opens OAuth in browser) |
|
|
39
|
+
| `skillett disconnect <integration>` | Disconnect a service |
|
|
40
|
+
| `skillett run <integration> <endpoint>` | Execute an endpoint with flags or JSON params |
|
|
41
|
+
| `skillett pull <integration>` | Download skill docs locally |
|
|
42
|
+
|
|
43
|
+
## Supported Integrations
|
|
44
|
+
|
|
45
|
+
- **GitHub** — Issues, PRs, repos, actions, search
|
|
46
|
+
- **Gmail** — Send, read, search emails, manage drafts
|
|
47
|
+
- **Google Calendar** — Events, calendars, scheduling
|
|
48
|
+
- **Google Drive** — Files, folders, sharing, search
|
|
49
|
+
- **Google Sheets** — Read/write cells, create spreadsheets
|
|
50
|
+
|
|
51
|
+
## Parameter Passing
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Flag style
|
|
55
|
+
skillett run gmail list_messages --maxResults 10 --q "is:unread"
|
|
56
|
+
|
|
57
|
+
# JSON style
|
|
58
|
+
skillett run gmail send_email '{"raw": "base64url-encoded-message"}'
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Platform Detection
|
|
62
|
+
|
|
63
|
+
Skillett auto-detects your AI coding environment (Claude Code, Cursor, Windsurf) and places skill docs in the right location during `login`.
|
|
64
|
+
|
|
65
|
+
## Learn More
|
|
66
|
+
|
|
67
|
+
Visit [skillett.dev](https://skillett.dev) for documentation and dashboard access.
|
package/dist/lib/device-auth.js
CHANGED
|
@@ -6,7 +6,6 @@ function getBaseUrl() {
|
|
|
6
6
|
export async function requestDeviceCode() {
|
|
7
7
|
const res = await fetch(`${getBaseUrl()}/auth/device/code`, {
|
|
8
8
|
method: "POST",
|
|
9
|
-
headers: { "Content-Type": "application/json" },
|
|
10
9
|
});
|
|
11
10
|
if (!res.ok) {
|
|
12
11
|
throw new Error(`Failed to request device code: ${res.status}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillett",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Skillett CLI — Agent Skills Platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -24,6 +24,17 @@
|
|
|
24
24
|
"tsx": "^4.19.4",
|
|
25
25
|
"typescript": "~5.9.3"
|
|
26
26
|
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"keywords": [
|
|
29
|
+
"ai",
|
|
30
|
+
"agent",
|
|
31
|
+
"skills",
|
|
32
|
+
"cli",
|
|
33
|
+
"gmail",
|
|
34
|
+
"github",
|
|
35
|
+
"google",
|
|
36
|
+
"integrations"
|
|
37
|
+
],
|
|
27
38
|
"engines": {
|
|
28
39
|
"node": ">=18"
|
|
29
40
|
},
|