Agent skill · Security

openclaw-ghsa-maintainer

Maintainer workflow for OpenClaw GitHub Security Advisories (GHSA). Use when Codex needs to inspect, patch, validate, or publish a repo advisory, verify private-fork state, prepare advisory Markdown or JSON payloads safely, handle GHSA API-specific publish constraints, or confirm advisory publish success.

SafeAI-Lab-Xgithub.com/SafeAI-Lab-XGitHub ↗
claude-code
Install
npx skills add SafeAI-Lab-X/ClawKeeper --skill openclaw-ghsa-maintainer --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Path: legacy/clawkeeper-watcher/.agents/skills/openclaw-ghsa-maintainer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,034
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# OpenClaw GHSA Maintainer Use this skill for repo security advisory workflow only. Keep general release work in `openclaw-release-maintainer`. ## Respect advisory guardrails - Before reviewing or publishing a repo advisory, read `SECURITY.md`. - Ask permission before any publish action. - Treat this skill as GHSA-only. Do not use it for stable or beta release work. ## Fetch and inspect advisory state Fetch the current advisory and the latest published npm version: ```bash gh api /repos/openclaw/openclaw/security-advisories/<GHSA> npm view openclaw version --userconfig "$(mktemp)" ``` Use the fetch output to confirm the advisory state, linked private fork, and vulnerability payload shape before patching. ## Verify private fork PRs are closed Before publishing, verify that the advisory's private fork has no open PRs: ```bash fork=$(gh api /repos/openclaw/openclaw/security-advisories/<GHSA> | jq -r .private_fork.full_name) gh pr list -R "$fork" --state open ``` The PR list must be empty before publish. ## Prepare advisory Markdown and JSON safely - Write advisory Markdown via heredoc to a temp file. Do not use escaped `\n` strings. - Build PATCH payload JSON with `jq`, not hand-escap

What's inside
Steps it walks through
  1. Respect advisory guardrails
  2. Fetch and inspect advisory state
  3. Verify private fork PRs are closed
  4. Prepare advisory Markdown and JSON safely
  5. Apply PATCH calls in the correct sequence
  6. Publish and verify success
  7. Common GHSA footguns
Commands it runs
gh api /repos/openclaw/openclaw/security-advisories/<GHSA>
npm view openclaw version --userconfig "$(mktemp)"
gh pr list -R "$fork" --state open
cat > /tmp/ghsa.desc.md <<'EOF'
jq -n --rawfile desc /tmp/ghsa.desc.md \
gh api -X PATCH /repos/openclaw/openclaw/security-advisories/<GHSA> \
jq -r .description < /tmp/ghsa.refetch.json | rg '\\\\n'
More from ClawKeeper
All skills →
About this skill
What does the openclaw-ghsa-maintainer skill do?

Maintainer workflow for OpenClaw GitHub Security Advisories (GHSA). Use when Codex needs to inspect, patch, validate, or publish a repo advisory, verify private-fork state, prepare advisory Markdown or JSON payloads safely, handle GHSA API-specific publish constraints, or confirm advisory publish success.

How do I install it?

Run `npx skills add SafeAI-Lab-X/ClawKeeper --skill openclaw-ghsa-maintainer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From SafeAI-Lab-X/ClawKeeper, a repository with 1,034 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going