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.
npx skills add sailingnaturali/claude-skills --skill npm-oidc-publishgit clone --depth 1 https://github.com/sailingnaturali/claude-skillsWrote 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.
[](https://agentmods.dev/skills/sailingnaturali/claude-skills/npm-oidc-publish)<a href="https://agentmods.dev/skills/sailingnaturali/claude-skills/npm-oidc-publish"><img src="https://agentmods.dev/badge/skills/sailingnaturali/claude-skills/npm-oidc-publish/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.
<a href="https://agentmods.dev/skills/sailingnaturali/claude-skills/npm-oidc-publish"><img src="https://agentmods.dev/badge/skills/sailingnaturali/claude-skills/npm-oidc-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00067 | $0.00795 |
| Opus 5 | $0.00034 | $0.00398 |
| Sonnet 5 | $0.00013 | $0.00159 |
| Haiku 4.5 | $0.00007 | $0.00080 |
Grade A, and why
npm-oidc-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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Publish to npm with OIDC trusted publishing
npm "trusted publishing" lets a GitHub Actions workflow npm publish without a long-lived
NPM_TOKEN — it authenticates via OIDC and stamps provenance automatically. Works for any
package; nothing language- or framework-specific.
The workflow
.github/workflows/publish.yml:
name: publish
on: { release: { types: [published] } }
permissions:
contents: read
id-token: write # <- this is what enables OIDC
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 24 } # npm >= 11.5 supports OIDC; node 24 is safe
- run: npm ci # needs a committed package-lock.json
- run: npm test
- run: npm publish # no token, no --otp; provenance is automatic
- Scoped public package? add
"publishConfig": { "access": "public" }topackage.json(and a"files"array so the build actually ships). - A TypeScript build runs via
"prepare": "npm run build"onnpm publish.
The chicken-and-egg (every new package hits this)
You cannot configure a trusted publisher for a package that doesn't exist on npm yet, and the OIDC publish needs that config to exist. So the first publish is manual:
npm publishlocally → enter your 2FA OTP (npm publish --otp=<code>). This creates0.1.0.- On npmjs.com → the package → Settings → Trusted Publisher → GitHub Actions: set the
repo (
owner/repo), the workflow filename (publish.yml), and leave the environment blank (unless you actually use one). - From then on it's hands-free:
gh release create vX.Y.Z --notes "..."triggers the workflow and publishes via OIDC.
If the workflow's npm publish fails with ENEEDAUTH ("requires you to be logged in"),
the trusted publisher isn't configured yet, or the workflow filename / repo doesn't match what
you registered on npm — it's a config problem, not code. (npm ci + npm test passing then
npm publish failing is the tell.)
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.
- 12d ago First seen · 68 lines · 67 tokens per session scan A 922217f07a3c
npm-oidc-publish is a skill published in the GitHub repository sailingnaturali/claude-skills (2 stars, last pushed 6d ago), licensed MIT. It adds 67 tokens to every session and 795 once invoked, about $0.0003 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.
Other skills, from other repositories
ship
Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR. (gstack).
github-release-management
Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management.
agent-github-modes
Agent skill for github-modes - invoke with $agent-github-modes.
releasepr
Adopt, configure, run, or troubleshoot compozy/releasepr in a consuming repository, including Actions, beta/stable/legacy plans, notes, dry-runs, and publication. Excludes pr-release internals and general versioning advice.
gitlab-devops
GitLab DevOps operations — issues, merge requests, CI/CD pipelines, repository browsing, labels, milestones, releases, and wiki management. Use when querying GitLab project status, monitoring pipeline executions, browsing repository files, creating issues for network findings, opening merge requests for config…
seed-snapshot-release
An automated workflow for creating and tracking a snapshot release of the pull request on the current branch. A snapshot release is a temporary package build used for testing a branch before a normal release.