Agent skill · software engineering · steipete
npm
npm registry ops: login, whoami, names, publish; 1Password tmux.
Why this skill is useful
Adds executable scripts for npm registry operations that automate authentication, publishing, and package reservation, which are not standard knowledge.
What it needs
Requires jq, node, npm, op, tmux installed locally. Requires 1password account access. About 3k tokens when loaded. Last updated 2026-08-06. 6,510 stars on the source repository.
What this skill does
npm Use for npm registry/account tasks: npm whoami, package availability, package reservation, publish, org checks, and auth debugging. Auth Use one-password first for secret rules. Never run op directly in the shell tool. Primary item: npm Registry - steipete - Release Automation in Molty. Default to OPSERVICEACCOUNTTOKEN; no desktop unlock. The item carries the working registry session (registrytoken) plus username/password/TOTP fallback. Desktop npmjs fallback is explicit only: pass --account my.1password.com when Molty is unavailable and the user wants the fallback. Explicit release/publish requests are consent for its unlock prompt. Stop and ask if the item is missing, the account/vault is ambiguous, credentials are malformed, npm denies package access, or the requested package/version does not match the repo release target. Run npm auth work inside one task window of the shared op-work tmux session (clawdbot-op.sock; see one-password). Reuse the window on failure; kill it when the npm task is done. Never mint an npm-specific socket or session. Keep npm auth in a temp npmrc; delete it after the command. All helpers share scripts/npm-auth.sh: stored registrytoken session first, then scripts/npm-auth-login.mjs registry login with a fresh six-digit OTP; successful fallback sessions are cached back to the same item. Do not hand-roll field extraction, registry login, or cache writes. Installed skill directory symlinks are supported. Shell entrypoints resolve physical siblings; sourced npm-auth.sh owns NPMAUTHSCRIPTDIR without changing the caller's SCRIPTDIR or working directory. Node helpers also support file symlinks, including --preserve-symlinks-main. Credential selection prefers canonical field id, then purpose, then a unique label; duplicate label-only matches are rejected (legacy npmjs may retain same-label fields). For ad-hoc authenticated registry commands, use scripts/npm-service.sh -- <npm args...>; use publish-package.sh for a local package. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills steipete/npm