openclaw-workflowskill 0.3.2 → 0.3.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 +25 -5
- package/lib/openclaw-context.md +9 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,13 +34,22 @@ In OpenClaw settings, change your profile from `messaging` (the default) to `cod
|
|
|
34
34
|
openclaw plugins install openclaw-workflowskill
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
### 3.
|
|
37
|
+
### 3. Configure
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
openclaw config set plugins.allow '["openclaw-workflowskill"]'
|
|
41
|
+
openclaw config set tools.alsoAllow '["openclaw-workflowskill"]'
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
The first command allowlists the plugin for loading. The second makes its tools available in all sessions (including cron).
|
|
45
|
+
|
|
46
|
+
### 4. Restart the gateway
|
|
38
47
|
|
|
39
48
|
```bash
|
|
40
49
|
openclaw gateway restart
|
|
41
50
|
```
|
|
42
51
|
|
|
43
|
-
###
|
|
52
|
+
### 5. Verify
|
|
44
53
|
|
|
45
54
|
```bash
|
|
46
55
|
openclaw plugins list
|
|
@@ -52,7 +61,7 @@ openclaw skills list
|
|
|
52
61
|
|
|
53
62
|
> **Note:** `workflowskill_llm` uses your Anthropic credentials from the main agent — no separate API key configuration needed.
|
|
54
63
|
|
|
55
|
-
###
|
|
64
|
+
### 6. Create a workflow
|
|
56
65
|
|
|
57
66
|
Just tell the agent what you want to automate:
|
|
58
67
|
|
|
@@ -64,7 +73,7 @@ Just tell the agent what you want to automate:
|
|
|
64
73
|
>
|
|
65
74
|
> Run complete: 4 AI stories found, summary drafted. Ready to schedule — want me to set up a daily cron at 8 AM?
|
|
66
75
|
|
|
67
|
-
###
|
|
76
|
+
### 7. Schedule it
|
|
68
77
|
|
|
69
78
|
Ask the agent to set up a cron job, or add one manually at `~/.openclaw/cron/jobs.json`:
|
|
70
79
|
|
|
@@ -80,6 +89,14 @@ Ask the agent to set up a cron job, or add one manually at `~/.openclaw/cron/job
|
|
|
80
89
|
|
|
81
90
|
Your agent will use `"model": "haiku"` for cron jobs, ensuring execution is cheap and lightweight.
|
|
82
91
|
|
|
92
|
+
> **Important:** Plugin tools are not available in sessions by default. Before scheduling, ensure `tools.alsoAllow` includes `openclaw-workflowskill`:
|
|
93
|
+
>
|
|
94
|
+
> ```bash
|
|
95
|
+
> openclaw config set tools.alsoAllow '["openclaw-workflowskill"]'
|
|
96
|
+
> ```
|
|
97
|
+
>
|
|
98
|
+
> Without this, cron sessions cannot invoke `workflowskill_run` and will fail silently.
|
|
99
|
+
|
|
83
100
|
## Tools
|
|
84
101
|
|
|
85
102
|
Registers four tools with the OpenClaw agent:
|
|
@@ -177,9 +194,12 @@ To test changes, link the plugin locally and restart the OpenClaw gateway:
|
|
|
177
194
|
```bash
|
|
178
195
|
openclaw plugins install --link "$(pwd)"
|
|
179
196
|
openclaw gateway restart
|
|
180
|
-
openclaw tools invoke workflowskill_validate '{"content": "..."}'
|
|
181
197
|
```
|
|
182
198
|
|
|
199
|
+
Then verify tools work by asking the agent:
|
|
200
|
+
|
|
201
|
+
> Validate this workflow: `inputs: { url: { type: string } }`
|
|
202
|
+
|
|
183
203
|
## License
|
|
184
204
|
|
|
185
205
|
MIT
|
package/lib/openclaw-context.md
CHANGED
|
@@ -25,3 +25,12 @@ Always set `"model": "haiku"` on cron payloads — cron runs are lightweight orc
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
```
|
|
28
|
+
|
|
29
|
+
> **Important:** Plugin tools are not available in sessions by default.
|
|
30
|
+
> Before scheduling, ensure `tools.alsoAllow` includes `openclaw-workflowskill`:
|
|
31
|
+
>
|
|
32
|
+
> ```bash
|
|
33
|
+
> openclaw config set tools.alsoAllow '["openclaw-workflowskill"]'
|
|
34
|
+
> ```
|
|
35
|
+
>
|
|
36
|
+
> Without this, cron sessions cannot invoke `workflowskill_run` and will fail silently.
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "openclaw-workflowskill",
|
|
3
3
|
"name": "WorkflowSkill",
|
|
4
4
|
"description": "Author, validate, run, and review WorkflowSkill YAML workflows",
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.3",
|
|
6
6
|
"skills": ["skills/workflowskill-author"],
|
|
7
7
|
"configSchema": {
|
|
8
8
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-workflowskill",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "WorkflowSkill plugin for OpenClaw — author, validate, run, and review YAML workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"workflowskill": "^0.3.
|
|
38
|
+
"workflowskill": "^0.3.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^25.3.0",
|