clawpatch: Skill for Codex

.agents/skills/release-clawpatch/SKILL.md

release-clawpatch is a skill for Codex from openclaw/clawpatch. It costs 25 tokens per session (1,144 once invoked), scanned A, original, MIT.

A release checklist for publishing the clawpatch project as a public npm package. npm is the package registry commonly used to distribute JavaScript and Node.js software.

In plain words
What is it for?
Use it to prepare, verify, commit, tag, and publish a clawpatch release while keeping registry credentials and one-time passwords private.
Why use it?
It reduces release mistakes by checking the version, changelog, repository state, authentication, tests, build, package contents, and publication steps.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); $skill-name invocation; built for openclaw.

This is openclaw/clawpatch's own configuration. It tells Codex how to work on clawpatch itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything clawpatch configures →

Reuse

Borrowing it

Nothing to install: this file belongs to openclaw/clawpatch. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/openclaw/clawpatch/main/.agents/skills/release-clawpatch/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/openclaw/clawpatch

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for release-clawpatch

README.md
[![agentmods](https://agentmods.dev/badge/skills/openclaw/clawpatch/release-clawpatch/github.svg)](https://agentmods.dev/skills/openclaw/clawpatch/release-clawpatch)
Your own site
<a href="https://agentmods.dev/skills/openclaw/clawpatch/release-clawpatch"><img src="https://agentmods.dev/badge/skills/openclaw/clawpatch/release-clawpatch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for release-clawpatch

Your own site · 80×15
<a href="https://agentmods.dev/skills/openclaw/clawpatch/release-clawpatch"><img src="https://agentmods.dev/badge/skills/openclaw/clawpatch/release-clawpatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.01144
Opus 5.5 $0.00010 $0.00458
Sonnet 5.5 $0.00005 $0.00229
Haiku 4.5 $0.00003 $0.00114

Measured 2mo ago against content hash 07905df0bf8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

release-clawpatch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/release-clawpatch/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Clawpatch Release

Scope

Release ~/Projects/clawpatch as the public npm package clawpatch.

Use $npm and $one-password rules for registry auth. Keep all op and npm secret work inside one persistent tmux session and temp npmrc. Never print tokens, passwords, or OTPs.

Workflow

  1. Start clean on main.

    • cd ~/Projects/clawpatch
    • git status --short --branch
    • git pull --ff-only
    • Confirm target version is not already tagged or released: git tag --list "vX.Y.Z" and gh release view vX.Y.Z --repo openclaw/clawpatch.
    • Confirm npm state: npm view clawpatch version dist-tags time --json.
  2. Prep release files.

    • Set package.json version to target.
    • Change top changelog section from Unreleased to X.Y.Z - YYYY-MM-DD.
    • Ensure release notes are the changelog body for that version and include all user-facing changes.
    • Run pnpm install --lockfile-only; commit lockfile only if it actually changes.
  3. Prove locally before publishing.

    • Run pnpm typecheck && pnpm lint && pnpm format:check && pnpm test && pnpm build && pnpm pack:smoke.
    • Fix failures before continuing.
  4. Commit and push release prep.

    • Commit with committer "chore(release): X.Y.Z" CHANGELOG.md package.json [pnpm-lock.yaml].
    • git push origin main.
    • Watch CI/CodeQL for the release commit:
      • gh run list --repo openclaw/clawpatch --branch main --commit <sha> --json databaseId,workflowName,status,conclusion,url,headSha
      • gh run view <run_id> --repo openclaw/clawpatch --json status,conclusion,url,jobs
    • Do not publish until release-commit CI and CodeQL are green.
  5. Publish npm.

    • Use a temp npmrc, never the default user npmrc.
    • First try npm whoami; if unauthenticated, use npm web login in the tmux session:
      • NPM_CONFIG_USERCONFIG="$tmp_npmrc" npm login --auth-type=web --registry=https://registry.npmjs.org/
      • Open/approve browser login if prompted.
    • For publish, fetch a fresh OTP from the npmjs 1Password item inside the same tmux session.
    • Publish with NPM_CONFIG_USERCONFIG="$tmp_npmrc" npm publish --access public --otp "$NPM_OTP".
    • Clean temp npmrc/work dirs after publish.
    • If publish says the version already exists, verify npm metadata and continue only if it matches the release commit/package contents.

Read the full file on GitHub · 86 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 86 lines · 25 tokens per session scan A 07905df0bf8e

Subscribe to this mod's changes

release-clawpatch is a skill published in the GitHub repository openclaw/clawpatch (814 stars, last pushed 2d ago), licensed MIT. It adds 25 tokens to every session and 1,144 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.