Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions skills/claw-release/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: claw-release
version: 0.0.4
version: 0.0.5
description: Release automation for Claw skills and website. Guides through version bumping, tagging, and release verification.
homepage: https://clawsec.prompt.security
metadata:
Expand Down Expand Up @@ -240,13 +240,17 @@ This skill (`claw-release`) is an internal skill.

## Existing Skills

| Skill | Category | Internal |
|-------|----------|----------|
| clawsec-feed | security | No |
| clawtributor | security | No |
| openclaw-audit-watchdog | security | No |
| soul-guardian | security | No |
| claw-release | utility | Yes |
Do not rely on a hardcoded list here — it drifts out of date as skills are
added. Enumerate the live set from the repo instead:

```bash
for f in skills/*/skill.json; do
jq -r '"\(.name)\t\(.openclaw.category // "-")\tinternal=\(.openclaw.internal // false)"' "$f"
done
```

Each skill's category and internal flag are the source of truth in its own
`skills/<name>/skill.json` (`.openclaw.category` and `.openclaw.internal`).
Comment on lines +247 to +253

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jq hardcodes .openclaw.category / .openclaw.internal for every skills/*/skill.json, but some manifests use picoclaw/hermes/nanoclaw, so the generated list shows -/false; should we derive the platform key from .platform or enumerate per-platform manifests instead of assuming openclaw?

Severity

Want Baz to fix this for you? Activate Fixer

Other fix methods

Fix in Cursor

Prompt for AI Agents
Before applying, verify this suggestion against the current code. In
skills/claw-release/SKILL.md around lines 247-253, the “Existing Skills” enumeration
command uses jq fields `.openclaw.category` and `.openclaw.internal` for every
`skills/*/skill.json`, which breaks for manifests that store metadata under other
platform sections (e.g., `picoclaw`, `hermes`, `nanoclaw`). Refactor that snippet to
derive the platform key dynamically from `.platform` (or enumerate per-platform blocks)
and then read `category` and `internal` from that derived section; if the platform key
is missing, fall back to safe defaults while still not hardcoding `openclaw`. Update the
nearby explanatory text to match the new logic so the generated list accurately reflects
each skill’s real metadata.


---

Expand Down
34 changes: 27 additions & 7 deletions skills/claw-release/skill.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,44 @@
{
"name": "claw-release",
"version": "0.0.4",
"version": "0.0.5",
"description": "Release automation for Claw skills and website. Guides through version bumping, tagging, and release verification.",
"author": "prompt-security",
"license": "AGPL-3.0-or-later",
"homepage": "https://clawsec.prompt.security",
"keywords": ["release", "versioning", "deployment", "automation", "ci-cd", "skills"],

"keywords": [
"release",
"versioning",
"deployment",
"automation",
"ci-cd",
"skills"
],
"sbom": {
"files": [
{ "path": "SKILL.md", "required": true, "description": "Release workflow guide" },
{ "path": "CHANGELOG.md", "required": true, "description": "Version history and release notes" }
{
"path": "SKILL.md",
"required": true,
"description": "Release workflow guide"
},
{
"path": "CHANGELOG.md",
"required": true,
"description": "Version history and release notes"
}
]
},

"openclaw": {
"emoji": "🚀",
"category": "utility",
"internal": true,
"requires": { "bins": ["bash", "git", "jq", "gh"] },
"requires": {
"bins": [
"bash",
"git",
"jq",
"gh"
]
},
"runtime": {
"required_env": [
"GH_TOKEN or existing gh auth"
Expand Down
Loading