Skip to content

Commit ce81350

Browse files
fix(auth0): use formula for brew installs, not package (#138)
* fix(auth0): use `formula` for brew installs, not `package` The brew install entries declare the Homebrew formula under a `package` key. OpenClaw's skill installer reads `formula` (or `cask`) for a `kind: brew` entry and ignores `package`, so an entry with only `package` is missing its required field and is silently dropped — the installer never appears in `openclaw skills info`, leaving these skills with no working install path on a fresh machine. `package` is the field for `kind: node`/`uv` installs, not `brew`. Renames `package` -> `formula` in the brew entries of 9 skills (the values are already valid Homebrew tap/formula names). * chore: update custom linter rule for clawhub --------- Co-authored-by: Frederik Prijck <frederik.prijck@okta.com>
1 parent 1ee3e4c commit ce81350

10 files changed

Lines changed: 12 additions & 12 deletions

File tree

.skillsaw/rules.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,13 +665,13 @@ def _check_optional_fields(self, openclaw: Dict[str, Any], skill_md: Path) -> Li
665665
violations.append(
666666
self.violation(
667667
f"metadata.openclaw.install[{i}] must be a mapping with "
668-
"'id', 'kind', 'package', 'bins', and 'label' fields.",
668+
"'id', 'kind', 'formula', 'bins', and 'label' fields.",
669669
file_path=skill_md
670670
)
671671
)
672672
continue
673673
missing = [
674-
k for k in ('id', 'kind', 'package', 'bins', 'label')
674+
k for k in ('id', 'kind', 'formula', 'bins', 'label')
675675
if not entry.get(k)
676676
]
677677
if missing:

plugins/auth0/skills/auth0-branding/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ metadata:
1818
install:
1919
- id: brew
2020
kind: brew
21-
package: auth0/auth0-cli/auth0
21+
formula: auth0/auth0-cli/auth0
2222
bins: [auth0]
2323
label: 'Install Auth0 CLI (brew)'
2424
---

plugins/auth0/skills/auth0-cli/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ metadata:
1818
install:
1919
- id: brew
2020
kind: brew
21-
package: auth0/auth0-cli/auth0
21+
formula: auth0/auth0-cli/auth0
2222
bins: [auth0]
2323
label: 'Install Auth0 CLI (brew)'
2424
---

plugins/auth0/skills/auth0-custom-domains/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ metadata:
1818
install:
1919
- id: brew
2020
kind: brew
21-
package: auth0/auth0-cli/auth0
21+
formula: auth0/auth0-cli/auth0
2222
bins: [auth0]
2323
label: 'Install Auth0 CLI (brew)'
2424
---

plugins/auth0/skills/auth0-dpop/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ metadata:
1717
install:
1818
- id: brew
1919
kind: brew
20-
package: auth0/auth0-cli/auth0
20+
formula: auth0/auth0-cli/auth0
2121
bins: [auth0]
2222
label: 'Install Auth0 CLI (brew)'
2323
---

plugins/auth0/skills/auth0-mfa/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ metadata:
1818
install:
1919
- id: brew
2020
kind: brew
21-
package: auth0/auth0-cli/auth0
21+
formula: auth0/auth0-cli/auth0
2222
bins: [auth0]
2323
label: 'Install Auth0 CLI (brew)'
2424
---

plugins/auth0/skills/auth0-migration/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ metadata:
1818
install:
1919
- id: brew
2020
kind: brew
21-
package: auth0/auth0-cli/auth0
21+
formula: auth0/auth0-cli/auth0
2222
bins: [auth0]
2323
label: 'Install Auth0 CLI (brew)'
2424
---

plugins/auth0/skills/auth0-quickstart/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ metadata:
1818
install:
1919
- id: brew
2020
kind: brew
21-
package: auth0/auth0-cli/auth0
21+
formula: auth0/auth0-cli/auth0
2222
bins: [auth0]
2323
label: 'Install Auth0 CLI (brew)'
2424
---

plugins/auth0/skills/auth0-react/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ metadata:
2020
install:
2121
- id: brew
2222
kind: brew
23-
package: auth0/auth0-cli/auth0
23+
formula: auth0/auth0-cli/auth0
2424
bins: [auth0]
2525
label: 'Install Auth0 CLI (brew)'
2626
---

plugins/auth0/skills/go-jwt-middleware/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ metadata:
2020
install:
2121
- id: brew
2222
kind: brew
23-
package: auth0/auth0-cli/auth0
23+
formula: auth0/auth0-cli/auth0
2424
bins: [auth0]
2525
label: 'Install Auth0 CLI (brew)'
2626
- id: brew
2727
kind: brew
28-
package: gh
28+
formula: gh
2929
bins: [gh]
3030
label: 'Install GitHub CLI (brew)'
3131
---

0 commit comments

Comments
 (0)