airig: Skill for Claude Code

.ai/skills/automate-npm-release/SKILL.md

automate-npm-release is a skill for Claude Code from jd-solanki/airig. It costs 96 tokens per session (536 once invoked), scanned A, original, MIT.

A GitHub Actions workflow for publishing npm packages, which are reusable JavaScript or TypeScript libraries, from a repository. It supports both one-package repositories and monorepos, where multiple packages share one code repository but can be released separately.

In plain words
What is it for?
Use it to set up or modify npm release pipelines with version tags, GitHub release notes, trusted publishing, provenance, or package-specific release tags.
Why use it?
It removes the repeated manual work of changing versions, creating release information, tagging packages, and publishing them safely.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

This is jd-solanki/airig's own configuration. It tells Claude Code how to work on airig 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 airig configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jd-solanki/airig. 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/jd-solanki/airig/main/.ai/skills/automate-npm-release/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jd-solanki/airig

Made for: Claude Code.

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 automate-npm-release

README.md
[![agentmods](https://agentmods.dev/badge/skills/jd-solanki/airig/automate-npm-release/github.svg)](https://agentmods.dev/skills/jd-solanki/airig/automate-npm-release)
Your own site
<a href="https://agentmods.dev/skills/jd-solanki/airig/automate-npm-release"><img src="https://agentmods.dev/badge/skills/jd-solanki/airig/automate-npm-release/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 automate-npm-release

Your own site · 80×15
<a href="https://agentmods.dev/skills/jd-solanki/airig/automate-npm-release"><img src="https://agentmods.dev/badge/skills/jd-solanki/airig/automate-npm-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 536 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.
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.00096 $0.00536
Opus 5 $0.00048 $0.00268
Sonnet 5 $0.00019 $0.00107
Haiku 4.5 $0.00010 $0.00054

Measured 11d ago against content hash e89a9721b2df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

automate-npm-release 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 11d 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.

.ai/skills/automate-npm-release/SKILL.md · 38 lines

What it actually says

Automate npm Release

Use this skill to set up npm release automation. First identify the repository shape, then load the matching reference:

Shared rules

  • npm requires the first publish to be done manually for each public package:
npm publish --access public
  • Prefer npm trusted publishing/OIDC when the project asks for it. Configure the package on npmjs.com after the first manual publish, then use id-token: write in GitHub Actions. Ensure package.json has repository.url exactly matching the GitHub repo URL (case-sensitive) — required for provenance validation.
  • If using token-based publishing, configure actions/setup-node with registry-url: https://registry.npmjs.org so NODE_AUTH_TOKEN can authenticate npm publish.
  • In pnpm workspaces, publish via pnpm pack followed by npm publish <tarball> --access public. This lets pnpm rewrite workspace:* dependencies while npm handles trusted publishing/OIDC. Use changelogithub only for GitHub release notes/releases.
  • Always run checks, tests, and package builds before publishing.
  • Keep the private workspace root unpublished; publish from the actual package directory.

Quick choice

Use single-package release automation when one package.json owns the npm artifact and one v* tag maps to one package.

Use monorepo release automation when multiple workspace packages publish independently. In that flow, tags must encode the package, such as cli-v0.1.0, and GitHub release-note generation must use explicit previous same-package tag ranges.

Workflow examples

Files

What ships with it

4 files 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. 11d ago First seen · 38 lines · 96 tokens per session scan A e89a9721b2df

Subscribe to this mod's changes

automate-npm-release is a skill published in the GitHub repository jd-solanki/airig (2 stars, last pushed 2mo ago), licensed MIT. It adds 96 tokens to every session and 536 once invoked, about $0.0005 per session on Opus 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-31.