@unityclaw/skills 1.0.1 → 1.0.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 CHANGED
@@ -12,7 +12,22 @@ npm install -g @unityclaw/skills
12
12
  npx @unityclaw/skills --help
13
13
  ```
14
14
 
15
- All skills require the `@unityclaw/sdk` package and an API key:
15
+ ## API Key Configuration
16
+
17
+ All skills require an API key. You can configure it using the SDK CLI:
18
+
19
+ ```bash
20
+ # Install SDK globally
21
+ npm install -g @unityclaw/sdk
22
+
23
+ # Configure API key (stored in ~/.unityclaw/config.json)
24
+ unityclaw-sdk config set apiKey your-api-key
25
+
26
+ # Verify configuration
27
+ unityclaw-sdk config
28
+ ```
29
+
30
+ Or set the environment variable:
16
31
 
17
32
  ```bash
18
33
  export UNITYCLAW_API_KEY=your-api-key
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unityclaw/skills",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "UnityClaw Skills - Claude Code and OpenClaw skill definitions for AI-powered image/video generation, media analysis, and more",
5
5
  "type": "module",
6
6
  "bin": {
@@ -31,9 +31,13 @@ npm install @unityclaw/sdk
31
31
 
32
32
  ## Configuration
33
33
 
34
- Set your API key as environment variable:
34
+ Set your API key using one of these methods:
35
35
 
36
36
  ```bash
37
+ # Method 1: Use SDK CLI (recommended - persists across sessions)
38
+ npx @unityclaw/sdk config set apiKey your-api-key
39
+
40
+ # Method 2: Environment variable
37
41
  export UNITYCLAW_API_KEY=your-api-key
38
42
  ```
39
43
 
@@ -31,9 +31,13 @@ npm install @unityclaw/sdk
31
31
 
32
32
  ## Configuration
33
33
 
34
- Set your API key as environment variable:
34
+ Set your API key using one of these methods:
35
35
 
36
36
  ```bash
37
+ # Method 1: Use SDK CLI (recommended - persists across sessions)
38
+ npx @unityclaw/sdk config set apiKey your-api-key
39
+
40
+ # Method 2: Environment variable
37
41
  export UNITYCLAW_API_KEY=your-api-key
38
42
  ```
39
43
 
@@ -31,9 +31,13 @@ npm install @unityclaw/sdk
31
31
 
32
32
  ## Configuration
33
33
 
34
- Set your API key as environment variable:
34
+ Set your API key using one of these methods:
35
35
 
36
36
  ```bash
37
+ # Method 1: Use SDK CLI (recommended - persists across sessions)
38
+ npx @unityclaw/sdk config set apiKey your-api-key
39
+
40
+ # Method 2: Environment variable
37
41
  export UNITYCLAW_API_KEY=your-api-key
38
42
  ```
39
43
 
@@ -31,9 +31,13 @@ npm install @unityclaw/sdk
31
31
 
32
32
  ## Configuration
33
33
 
34
- Set your API key as environment variable:
34
+ Set your API key using one of these methods:
35
35
 
36
36
  ```bash
37
+ # Method 1: Use SDK CLI (recommended - persists across sessions)
38
+ npx @unityclaw/sdk config set apiKey your-api-key
39
+
40
+ # Method 2: Environment variable
37
41
  export UNITYCLAW_API_KEY=your-api-key
38
42
  ```
39
43
 
@@ -31,9 +31,13 @@ npm install @unityclaw/sdk
31
31
 
32
32
  ## Configuration
33
33
 
34
- Set your API key as environment variable:
34
+ Set your API key using one of these methods:
35
35
 
36
36
  ```bash
37
+ # Method 1: Use SDK CLI (recommended - persists across sessions)
38
+ npx @unityclaw/sdk config set apiKey your-api-key
39
+
40
+ # Method 2: Environment variable
37
41
  export UNITYCLAW_API_KEY=your-api-key
38
42
  ```
39
43
 
@@ -31,9 +31,13 @@ npm install @unityclaw/sdk
31
31
 
32
32
  ## Configuration
33
33
 
34
- Set your API key as environment variable:
34
+ Set your API key using one of these methods:
35
35
 
36
36
  ```bash
37
+ # Method 1: Use SDK CLI (recommended - persists across sessions)
38
+ npx @unityclaw/sdk config set apiKey your-api-key
39
+
40
+ # Method 2: Environment variable
37
41
  export UNITYCLAW_API_KEY=your-api-key
38
42
  ```
39
43
 
@@ -31,9 +31,13 @@ npm install @unityclaw/sdk
31
31
 
32
32
  ## Configuration
33
33
 
34
- Set your API key as environment variable:
34
+ Set your API key using one of these methods:
35
35
 
36
36
  ```bash
37
+ # Method 1: Use SDK CLI (recommended - persists across sessions)
38
+ npx @unityclaw/sdk config set apiKey your-api-key
39
+
40
+ # Method 2: Environment variable
37
41
  export UNITYCLAW_API_KEY=your-api-key
38
42
  ```
39
43
 
@@ -31,9 +31,13 @@ npm install @unityclaw/sdk
31
31
 
32
32
  ## Configuration
33
33
 
34
- Set your API key as environment variable:
34
+ Set your API key using one of these methods:
35
35
 
36
36
  ```bash
37
+ # Method 1: Use SDK CLI (recommended - persists across sessions)
38
+ npx @unityclaw/sdk config set apiKey your-api-key
39
+
40
+ # Method 2: Environment variable
37
41
  export UNITYCLAW_API_KEY=your-api-key
38
42
  ```
39
43
 
@@ -31,9 +31,13 @@ npm install @unityclaw/sdk
31
31
 
32
32
  ## Configuration
33
33
 
34
- Set your API key as environment variable:
34
+ Set your API key using one of these methods:
35
35
 
36
36
  ```bash
37
+ # Method 1: Use SDK CLI (recommended - persists across sessions)
38
+ npx @unityclaw/sdk config set apiKey your-api-key
39
+
40
+ # Method 2: Environment variable
37
41
  export UNITYCLAW_API_KEY=your-api-key
38
42
  ```
39
43