Skip to content

Commit 943063e

Browse files
author
BailingHub
committed
docs: fix ClawHub install command
1 parent 962facd commit 943063e

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ After the catalog release is available:
3838

3939
```bash
4040
npm i -g clawhub
41-
clawhub install @bailinghub/bailinghub-executor
41+
clawhub install bailinghub/bailinghub-executor
4242
```
4343

4444
Then follow the installed skill's `SKILL.md`. A self-hosted BailingHub instance, an executor target, and a target-scoped token are required.

scripts/check-skill.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const runnerPath = join(skillDir, 'scripts', 'bailinghub-openclaw-executor.mjs')
99

1010
const skill = await readFile(skillPath, 'utf8');
1111
const runner = await readFile(runnerPath, 'utf8');
12+
const readme = await readFile(join(root, 'README.md'), 'utf8');
1213

1314
const failures = [];
1415
const requirePattern = (pattern, message, source = skill) => {
@@ -22,6 +23,14 @@ requirePattern(/audit trails/i, 'Description must include the audit-trail search
2223
requirePattern(/existing business systems/i, 'Description must name existing business systems');
2324
requirePattern(/outbound executor/i, 'Description must name the outbound-executor role');
2425
requirePattern(/self-hosted/i, 'Description must make the external BailingHub dependency clear');
26+
requirePattern(
27+
/clawhub install bailinghub\/bailinghub-executor/,
28+
'README must use the verified ClawHub install slug',
29+
readme,
30+
);
31+
if (/clawhub install @bailinghub\/bailinghub-executor/.test(readme)) {
32+
failures.push('README still contains the invalid scoped ClawHub install slug');
33+
}
2534

2635
for (const variable of ['BAILING_HUB_URL', 'BAILING_EXECUTOR_TOKEN', 'BAILING_TARGET']) {
2736
requirePattern(new RegExp(`- ${variable}\\b`), `Missing required env declaration: ${variable}`);

0 commit comments

Comments
 (0)