@caik.dev/cli 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +92 -0
  2. 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)
package/package.json CHANGED
@@ -1,13 +1,32 @@
1
1
  {
2
2
  "name": "@caik.dev/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "CAIK CLI — Search, install, and publish AI artifacts from your terminal",
6
+ "keywords": [
7
+ "caik",
8
+ "ai",
9
+ "artifacts",
10
+ "cli",
11
+ "mcp",
12
+ "claude",
13
+ "cursor",
14
+ "skills",
15
+ "registry"
16
+ ],
17
+ "homepage": "https://caik.dev",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/open-lattice-ai/caik",
21
+ "directory": "packages/cli"
22
+ },
23
+ "license": "MIT",
6
24
  "bin": {
7
25
  "caik": "./dist/index.js"
8
26
  },
9
27
  "files": [
10
- "dist"
28
+ "dist",
29
+ "README.md"
11
30
  ],
12
31
  "scripts": {
13
32
  "build": "tsup",