publish

publish is a skill for Claude Code from aave/aave-v4-sdk. It costs 19 tokens per session (635 once invoked), scanned A, original, MIT.

A release workflow for publishing Aave SDK packages to the npm registry, the public package store used by JavaScript and TypeScript projects. It uses changesets to update package versions and publish them.

In plain words
What is it for?
Preparing and publishing SDK package releases, including installing dependencies, building packages, applying changesets, committing version updates, checking npm login status, and handling an OTP.
Why use it?
It provides checks for branch state, dependencies, builds, version changes, authentication, and one-time password confirmation before a release.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the TodoWrite tool.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/aave/aave-v4-sdk/publish
Any agent
npx skills add aave/aave-v4-sdk --skill publish
Clone the repo
git clone --depth 1 https://github.com/aave/aave-v4-sdk

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 publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/aave/aave-v4-sdk/publish.svg)](https://agentmods.dev/skills/aave/aave-v4-sdk/publish)
Your own site
<a href="https://agentmods.dev/skills/aave/aave-v4-sdk/publish"><img src="https://agentmods.dev/badge/skills/aave/aave-v4-sdk/publish.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 635 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00019 $0.00635
Opus 5 $0.00010 $0.00318
Sonnet 5 $0.00004 $0.00127
Haiku 4.5 $0.00002 $0.00064

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

Security

Grade A, and why

publish 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 6d 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.

.claude/skills/publish/SKILL.md · 63 lines

How it starts

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

Publish SDK Packages

Publishes @aave packages to npm using changesets.

Checklist

You MUST use TodoWrite to create a todo for EACH step below. Mark each complete only after verification.

Pre-flight

  • Verify on main branch and up-to-date: git checkout main && git pull
  • Verify working directory is clean: git status shows no uncommitted changes
  • Run nvm use to ensure correct Node.js version
  • Run corepack enable to ensure correct pnpm version
  • Run pnpm install to update dependencies
  • Run pnpm build to build all packages

Version Bump

  • Run pnpm changeset:status to check for pending changesets (if none exist, nothing to publish - STOP)
  • Run pnpm changeset:version to bump versions
  • Review output: if in pre-release mode and "major" bumps appear, ask user to confirm
  • Stage and commit: git add . && git commit -m "chore: bumps up versions"

Publish

  • Verify npm authentication: run pnpm whoami
    • If it fails: ask user to run pnpm login then re-verify
  • Ask user for npm OTP code (from authenticator app)
  • Run NPM_CONFIG_OTP=<otp> pnpm changeset:publish with the provided OTP
    • If OTP expires mid-publish: ask for new OTP and retry failed packages manually
    • If publish fails partially: check npm for which packages published, may need manual recovery
  • Run git push --follow-tags

Stop Conditions

Condition Action
Not on main branch git checkout main && git pull first
Uncommitted changes Stash or commit first
Tests failing Fix tests before publishing
pnpm changeset:status shows no changesets Nothing to publish - inform user
pnpm whoami fails User must run pnpm login
Major bump in pre-release mode Confirm with user - may be unintentional

Pre-release Mode

When .changeset/pre.json exists:

  • Packages publish with -next.N suffix (e.g., 4.1.0-next.16)
  • Major version bumps should be rare - verify intentional
  • The tag field in pre.json shows the npm dist-tag (next)

Read the full file on GitHub · 63 lines

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. 6d ago First seen · 63 lines · 19 tokens per session scan A cf0e6c035210

Subscribe to this mod's changes

publish is a skill published in the GitHub repository aave/aave-v4-sdk (24 stars, last pushed 4d ago), licensed MIT. It adds 19 tokens to every session and 635 once invoked, about $0.0001 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-30.