npm-trusted-publishing
85 / 100 · Low risk
Fine to try.
Set up or fix npm trusted publishing (OIDC) in GitHub Actions and remove NPM_TOKEN. Use for ENEEDAUTH, E404 on PUT, E422 repository.url, or migrating off 2FA-bypass tokens before January 2027.
What this skill can do
Downloads and installs other software
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'npm-trusted-publishing' ] || [ -L ~/.agents/skills/'npm-trusted-publishing' ]; then echo 'A skill folder named npm-trusted-publishing already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/github/awesome-copilot' "$d" && git -C "$d" checkout --quiet '227949a7542a55d2155c00e7cdb998d9a0fee4f3' -- 'skills/npm-trusted-publishing' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/npm-trusted-publishing' ~/.agents/skills/'npm-trusted-publishing' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'npm-trusted-publishing' ~/.claude/skills/'npm-trusted-publishing' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/github/awesome-copilot/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-10 | 227949a | 85 |
| 2026-11-08 | 797337f | 85 |
| 2026-11-07 | 797337f | 85 |