@caik.dev/cli 0.1.0 → 0.1.2
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 +92 -0
- package/dist/index.js +1857 -49
- package/package.json +21 -2
package/README.md
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# CAIK CLI
|
|
2
|
+
|
|
3
|
+
Search, install, and publish AI artifacts from your terminal.
|
|
4
|
+
|
|
5
|
+
[CAIK](https://caik.dev) is the open registry for AI artifacts — skills, MCP servers, knowledge bases, connectors, and compositions that make AI agents more capable.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g @caik.dev/cli
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or run directly with npx:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx @caik.dev/cli search "auth"
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Quick Start
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Configure the CLI
|
|
23
|
+
caik init
|
|
24
|
+
|
|
25
|
+
# Search for artifacts
|
|
26
|
+
caik search "calendar integration"
|
|
27
|
+
caik search "auth" --primitive executable --tag security
|
|
28
|
+
|
|
29
|
+
# Install an artifact
|
|
30
|
+
caik install auth-middleware
|
|
31
|
+
caik install my-skill --platform claude
|
|
32
|
+
|
|
33
|
+
# Check ecosystem stats
|
|
34
|
+
caik stats
|
|
35
|
+
|
|
36
|
+
# View your status
|
|
37
|
+
caik status
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Commands
|
|
41
|
+
|
|
42
|
+
| Command | Description |
|
|
43
|
+
|---------|-------------|
|
|
44
|
+
| `caik search <query>` | Search the artifact registry |
|
|
45
|
+
| `caik install <slug>` | Install an artifact |
|
|
46
|
+
| `caik init` | Configure the CLI |
|
|
47
|
+
| `caik status` | Show config and connectivity |
|
|
48
|
+
| `caik stats` | Show ecosystem statistics |
|
|
49
|
+
| `caik publish [path]` | Publish an artifact |
|
|
50
|
+
| `caik karma` | Show your karma breakdown |
|
|
51
|
+
| `caik alternatives <slug>` | Find similar artifacts |
|
|
52
|
+
| `caik review-queue` | List pending artifacts (admin) |
|
|
53
|
+
| `caik approve <slug>` | Approve an artifact (admin) |
|
|
54
|
+
| `caik flag <slug>` | Flag an artifact for review |
|
|
55
|
+
|
|
56
|
+
## Global Options
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
--api-url <url> API base URL (default: https://caik.dev)
|
|
60
|
+
--api-key <key> API key for authentication
|
|
61
|
+
--verbose Show detailed output including API calls
|
|
62
|
+
--json Output raw JSON (for scripting)
|
|
63
|
+
-v, --version Show version
|
|
64
|
+
-h, --help Show help
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## JSON Mode
|
|
68
|
+
|
|
69
|
+
Every command supports `--json` for scriptable output:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
caik search "auth" --json | jq '.results[].slug'
|
|
73
|
+
caik stats --json
|
|
74
|
+
caik status --json
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Configuration
|
|
78
|
+
|
|
79
|
+
Config is stored at `~/.caik/config.json` (chmod 600).
|
|
80
|
+
|
|
81
|
+
Priority: CLI flags > environment variables > config file > defaults.
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
# Environment variables
|
|
85
|
+
export CAIK_API_URL=https://caik.dev
|
|
86
|
+
export CAIK_API_KEY=caik_sk_...
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Links
|
|
90
|
+
|
|
91
|
+
- [Website](https://caik.dev)
|
|
92
|
+
- [GitHub](https://github.com/open-lattice-ai/caik)
|