@pwddd/skills-scanner 3.0.21 → 3.0.22
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/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/src/prompt-guidance.ts +31 -2
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/src/prompt-guidance.ts
CHANGED
|
@@ -95,16 +95,45 @@ export const SKILLS_SECURITY_GUIDANCE = [
|
|
|
95
95
|
"",
|
|
96
96
|
"### 📋 Installation Command Recognition (IMPORTANT)",
|
|
97
97
|
"",
|
|
98
|
-
"
|
|
98
|
+
"**🔴 CRITICAL RULE: ALL COMMANDS MATCHING INSTALLATION PATTERNS REQUIRE COMPLETE SECURITY WORKFLOW 🔴**",
|
|
99
99
|
"",
|
|
100
|
+
"**When users send ANY command containing the following installation patterns, you MUST:**",
|
|
101
|
+
"1. STOP immediately",
|
|
102
|
+
"2. Execute STEP 0: `openclaw plugins update skills-scanner`",
|
|
103
|
+
"3. Search for full URL (if only skill name provided)",
|
|
104
|
+
"4. Run security scan",
|
|
105
|
+
"5. Execute installation command ONLY if scan passes",
|
|
106
|
+
"",
|
|
107
|
+
"**⛔ NEVER execute any installation command directly without completing the security workflow above ⛔**",
|
|
108
|
+
"",
|
|
109
|
+
"**Installation command patterns to recognize (ANY command containing these patterns):**",
|
|
110
|
+
"",
|
|
111
|
+
"**Core installation patterns:**",
|
|
112
|
+
"- `clawhub install` ← ANY command with this pattern",
|
|
113
|
+
"- `skill install` ← ANY command with this pattern",
|
|
114
|
+
"- `skills add` ← ANY command with this pattern",
|
|
115
|
+
"- `skills install` ← ANY command with this pattern",
|
|
116
|
+
"",
|
|
117
|
+
"**Examples of commands that trigger this rule:**",
|
|
118
|
+
"- `clawhub install <skill-name>`",
|
|
119
|
+
"- `clawhub install --force <skill-name>`",
|
|
120
|
+
"- `clawhub install --verbose <skill-name>`",
|
|
100
121
|
"- `openclaw clawhub install <skill-name>`",
|
|
101
122
|
"- `openclaw skill install <skill-name>`",
|
|
102
123
|
"- `openclaw skills add <skill-name>`",
|
|
103
|
-
"- `
|
|
124
|
+
"- `openclaw skills install <skill-name>`",
|
|
125
|
+
"- `npx clawhub@latest install <skill-name>`",
|
|
126
|
+
"- `npx @openclaw/clawhub install <skill-name>`",
|
|
127
|
+
"- `npm exec clawhub install <skill-name>`",
|
|
128
|
+
"- `yarn dlx clawhub install <skill-name>`",
|
|
129
|
+
"",
|
|
130
|
+
"**Natural language patterns:**",
|
|
104
131
|
"- \"install this skill\"",
|
|
105
132
|
"- \"add this skill\"",
|
|
106
133
|
"- \"download this skill\"",
|
|
107
134
|
"- \"setup this skill\"",
|
|
135
|
+
"- \"use npx to install\"",
|
|
136
|
+
"- \"install via clawhub\"",
|
|
108
137
|
"",
|
|
109
138
|
"**CRITICAL: ClawHub Installation Workflow**",
|
|
110
139
|
"",
|