npx-package-agent

npx-package-agent is an agent for Claude Code from vanzan01/claude-code-sub-agent-collective. It costs 38 tokens per session (1,751 once invoked), scanned A, original, MIT.

An NPX package installer for distributing the Claude Code Sub-Agent Collective through npm, the package registry for JavaScript tools. It sets up agent, hook, documentation, and configuration templates.

In plain words
What is it for?
Use it to create the installer package, customize installation settings, publish the package to npm, and test the installation process.
Why use it?
It removes the need to manually copy files and configure the collective. It also checks whether installation completed correctly.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is const { Installer } = require('../src/installer');.

Good fit Use it to create the installer package, customize installation settings, publish the package to npm, and test the installation process.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/vanzan01/claude-code-sub-agent-collective
agentmods
npx agentmods add agents/vanzan01/claude-code-sub-agent-collective/npx-package-agent

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 npx-package-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/npx-package-agent/github.svg)](https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/npx-package-agent)
Your own site
<a href="https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/npx-package-agent"><img src="https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/npx-package-agent/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 npx-package-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/npx-package-agent"><img src="https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/npx-package-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,751 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.00038 $0.01751
Opus 5.5 $0.00015 $0.00700
Sonnet 5.5 $0.00008 $0.00350
Haiku 4.5 $0.00004 $0.00175

Measured 1mo ago against content hash 312f34ae1df8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

npx-package-agent 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 1mo 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.

templates/agents/npx-package-agent.md · 246 lines

How it starts

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

I am a specialized agent for Phase 4 - NPX Package Distribution. I create NPX installer packages that distribute the claude-code-sub-agent-collective system for easy installation and setup.

My Core Responsibilities:

🎯 Phase 4 Implementation

  • Create NPX installer package structure
  • Build template system for collective installation
  • Implement configuration customization options
  • Set up npm registry publishing pipeline
  • Create installation validation and testing

🔧 Technical Capabilities:

NPX Package Structure:

claude-code-collective/
├── package.json              # NPX package configuration
├── bin/
│   └── install-collective.js  # Main installer script
├── templates/
│   ├── agents/               # Agent template files
│   ├── hooks/                # Hook script templates
│   ├── docs/                 # Documentation templates
│   └── settings/             # Configuration templates
├── src/
│   ├── installer.js          # Core installation logic
│   ├── validator.js          # Installation validation
│   └── configurator.js       # Configuration management
└── tests/
    └── installation.test.js   # Installation testing

Installation Modes:

  • npx claude-code-collective init - Full system installation
  • npx claude-code-collective init --minimal - Core agents only
  • npx claude-code-collective init --custom - Interactive configuration
  • npx claude-code-collective update - Update existing installation
  • npx claude-code-collective validate - Verify installation integrity

Template System:

  • Parameterized agent definitions with variable substitution
  • Configurable hook scripts with project-specific settings
  • Documentation templates with project customization
  • Settings templates with environment-specific configurations

📋 TaskMaster Integration:

MANDATORY: Always check TaskMaster before starting work:

# Get Task 4 details
mcp__task-master__get_task --id=4 --projectRoot=/mnt/h/Active/taskmaster-agent-claude-code

# Update subtask status to in-progress
mcp__task-master__set_task_status --id=4.X --status=in-progress --projectRoot=/mnt/h/Active/taskmaster-agent-claude-code

# Update task with progress
mcp__task-master__update_task --id=4.X --prompt="NPX package development progress" --projectRoot=/mnt/h/Active/taskmaster-agent-claude-code

# Mark subtask complete
mcp__task-master__set_task_status --id=4.X --status=done --projectRoot=/mnt/h/Active/taskmaster-agent-claude-code

Read the full file on GitHub · 246 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. 1mo ago First seen · 246 lines · 38 tokens per session scan A 312f34ae1df8

Subscribe to this mod's changes

npx-package-agent is an agent published in the GitHub repository vanzan01/claude-code-sub-agent-collective (520 stars, last pushed 6mo ago), licensed MIT. It adds 38 tokens to every session and 1,751 once invoked, about $0.0002 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-08-30.

Related

Other agents, from other repositories

Expert React Frontend Engineer

Expert React 19.2 frontend engineer specializing in modern hooks, Server Components, Actions, TypeScript, and performance optimization.

github/awesome-copilot · 30 tokens

Next.js Expert

Expert Next.js 16 developer specializing in App Router, Server Components, Cache Components, Turbopack, and modern React patterns with TypeScript.

github/awesome-copilot · 33 tokens

Frontend Developer

React/TypeScript specialist for CoreAI DIY frontend development with React Flow, Zustand, and Tailwind CSS.

microsoft/skills · 24 tokens

angular-reviewer

Angular 22 and TypeScript code review specialist — Signals, Signal Forms (stable), standalone components, RxJS, performance, zoneless change detection, httpResource.

TheBeardedBearSAS/claude-craft · 36 tokens

react-frontend-development-expert

Expert React frontend developer that provides React 19, Vite, TypeScript, Tailwind CSS, and shadcn/ui capabilities. MUST BE USED for React frontend development tasks, component design, state management, UI implementation, and best practices. Use PROACTIVELY for building modern, responsive, and accessible React…

giuseppe-trisciuoglio/developer-kit · 78 tokens

typescript-documentation-expert

Expert TypeScript documentation specialist that generates comprehensive technical documentation for TypeScript projects. Analyzes architecture, design patterns, and implementation details to produce complete project documentation including API docs, architecture guides, ADRs, and technical manuals. Use PROACTIVELY for…

giuseppe-trisciuoglio/developer-kit · 72 tokens