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 alivirgo/Major-AI-Skills --skill github-packages-npmgit clone --depth 1 https://github.com/alivirgo/Major-AI-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/alivirgo/major-ai-skills/github-packages-npm)<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/github-packages-npm"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/github-packages-npm/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/alivirgo/major-ai-skills/github-packages-npm"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/github-packages-npm.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.00026 | $0.00847 |
| Opus 5.5 | $0.00010 | $0.00339 |
| Sonnet 5.5 | $0.00005 | $0.00169 |
| Haiku 4.5 | $0.00003 | $0.00085 |
Grade A, and why
github-packages-npm 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 2mo 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GitHub Packages (npm) AI Skill Guide
Overview & Engine Architecture
GitHub Packages hosts npm packages under https://npm.pkg.github.com tied to a GitHub user or organization. Publish with publishConfig and a scoped name (@org/pkg); authenticate with GITHUB_TOKEN in Actions or a PAT with read:packages/write:packages locally. Agents configure .npmrc correctly, avoid leaking tokens, and align package permissions with repo visibility.
package.json (name @org/pkg)
-> npm publish
-> npm.pkg.github.com
Consumers -> .npmrc (@org:registry=...) + token
When to use this skill
- Publishing private or internal npm libraries to GitHub Packages
- Consuming
@org/*packages in apps and Actions - Migrating from npmjs private registries
- Debugging 401/403 publish or install failures
Operational directives
- Scope packages to the org (
@myorg/utils); set"registry": "https://npm.pkg.github.com"inpublishConfig. - Never commit tokens; use
NODE_AUTH_TOKEN/GITHUB_TOKENenv substitution in.npmrc. - Grant least package permissions;
GITHUB_TOKENwrite is limited to the current repo unless workflows are configured otherwise. - Version with semver; prefer CI publish on tagged releases.
- Document install steps for external contributors who need PATs.
publishConfig sketch
{
"name": "@acme/sdk",
"version": "1.4.0",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
}
.npmrc sketches
# project or user level - token via env
@acme:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
# GitHub Actions
- uses: actions/setup-node@v4
with:
registry-url: https://npm.pkg.github.com
scope: "@acme"
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Common failures
| Symptom | Likely cause | Fix |
|---|---|---|
| 401 on install | Missing/invalid token | PAT with read:packages or SSO authorize |
| 403 on publish | Token lacks write / wrong repo | write:packages + package repo permissions |
| Package not found | Wrong scope registry mapping | @org:registry=https://npm.pkg.github.com |
| Duplicate version | Republish same semver | Bump version; do not force overwrite |
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.
- 2mo ago Changed · -10 tokens per session 6a19168e982f
- 2mo ago First seen · 99 lines · 36 tokens per session scan A 54712fc46f6e
github-packages-npm is a skill published in the GitHub repository alivirgo/Major-AI-Skills (6 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 847 once invoked, about $0.0001 per session on Opus 5.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-09-05.
github-packages-npm compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| github-packages-npmalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 26 | Claude Code |
| agenttrace-session-auditsickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 34 | Claude Code |
| ax-extract-workflowsickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 35 | Claude Code |
| antigravity-workflows-v2diegosouzapw/awesome-omni-skills | Skill | 181 | 4mo ago | MIT | A | 71 | Claude Code, Codex |
| npm-docspledgeandgrow/pledge-skills | Skill | 11 | 4mo ago | MIT | A | 91 | Claude Code, Codex |
| antigravity-workflowsdiegosouzapw/awesome-omni-skills | Skill | 181 | 4mo ago | MIT | A | 69 | Claude Code, Codex |
| redis-masterAtulPurohit/Antigravity-Awesome-Skills | Skill | 6 | 4mo ago | none | A | 32 | Claude Code, Codex |