npm

Use npm for package install, version inspection, dist-tags, and safe publish flows. Use when working on OpenClaw or ClawHub package releases, validating published versions, or handling npm auth/OTP publishing.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "npm" with this command: npx skills add jvy/npm

npm

Use this skill for npm package operations with release-safe defaults.

Scope

  • OpenClaw packages in this monorepo (core + plugins)
  • ClawHub CLI package/release checks when npm is involved
  • npm publish, dist-tag, and version verification

Guardrails

  • Never publish from repo root unless explicitly requested for openclaw.
  • For plugin-only releases, publish only changed plugins and keep openclaw untouched.
  • For beta tags, publish matching beta versions (for example 2026.2.15-beta.1) with --tag beta.
  • Use npm view <pkg> version --userconfig "$(mktemp)" for read-only verification.
  • If OTP is required, fetch it through the 1password skill in tmux before publish.

Quick Checks

npm --version
npm whoami
npm view openclaw version --userconfig "$(mktemp)"

OpenClaw Release-safe Flow

  1. Verify target package and local version:
npm view <package-name> version --userconfig "$(mktemp)"
node -p "require('./package.json').version"
  1. Publish from package directory only:
cd <package-dir>
npm publish --access public --otp="<otp>"
  1. Verify published version:
npm view <package-name> version --userconfig "$(mktemp)"
  1. For beta releases:
npm publish --access public --tag beta --otp="<otp>"

ClawHub Interop

  • Use npm only for ClawHub package version/auth concerns.
  • Use clawhub CLI for skill search/install/update/publish workflows.
  • If both are needed: publish npm package first, then run clawhub publish/update commands.

Useful Commands

# Inspect package metadata
npm view <package-name> dist-tags --json --userconfig "$(mktemp)"
npm view <package-name> versions --json --userconfig "$(mktemp)"

# Manage dist-tags
npm dist-tag add <package-name>@<version> beta
npm dist-tag add <package-name>@<version> latest

# Verify current auth context
npm whoami
npm profile get --json

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Weibo Hot Search API

Call GET /api/weibo/hot-search/v1 for Weibo Hot Search through JustOneAPI.

Registry SourceRecently Updated
General

Weibo Keyword Search API

Call GET /api/weibo/search-all/v2 for Weibo Keyword Search through JustOneAPI with endDay, endHour, q, startDay, and startHour.

Registry SourceRecently Updated
General

Weibo Search User Published Posts API

Call GET /api/weibo/search-profile/v1 for Weibo Search User Published Posts through JustOneAPI with q and uid.

Registry SourceRecently Updated
General

Weibo Post Details API

Call GET /api/weibo/get-weibo-detail/v1 for Weibo Post Details through JustOneAPI with id.

Registry SourceRecently Updated