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 perniemann/pnCore --skill pn-node-apigit clone --depth 1 https://github.com/perniemann/pnCoreWrote 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/perniemann/pncore/pn-node-api)<a href="https://agentmods.dev/skills/perniemann/pncore/pn-node-api"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-node-api/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/perniemann/pncore/pn-node-api"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-node-api.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.00041 | $0.01547 |
| Opus 5.5 | $0.00016 | $0.00619 |
| Sonnet 5.5 | $0.00008 | $0.00309 |
| Haiku 4.5 | $0.00004 | $0.00155 |
Grade A, and why
pn-node-api 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.
How it starts
The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Node / API skill
When to use
- Designing or implementing REST/API endpoints.
- Adding or changing database access (queries, migrations, connections).
- Setting up or refactoring env/config and secrets.
- Reviewing backend error handling and safety.
- Establishing consistent request/response patterns across an API.
Workflow
1. API design
Use clear resource names (nouns), appropriate HTTP methods, and standard status codes. Design the contract before writing implementation.
// Resource: /users
// Collection: GET /users, POST /users
// Resource: GET /users/:id, PATCH /users/:id, HTTP DELETE on /users/:id
// Sub-resource: GET /users/:id/orders
// Status codes — always be specific
// 201 Created (POST that creates a resource)
// 204 No Content (DELETE or PATCH with no body to return)
// 400 Bad Request (malformed syntax, wrong types)
// 401 Unauthorized (no valid credentials)
// 403 Forbidden (valid credentials, wrong permissions)
// 404 Not Found (resource doesn't exist)
// 422 Unprocessable (valid JSON, failed business rules / validation)
// 429 Too Many Requests (rate limited)
// 500 Internal Server Error (unexpected programmer error)
Document request/response shapes with OpenAPI or TypeScript interfaces before implementation. Reference pn-core://skills/backend/reference/api-design.md for full REST conventions, versioning, pagination, and anti-patterns.
2. Input validation
Validate at the route boundary — before any business logic executes.
import { z } from "zod";
export const CreateUserSchema = z.object({
email: z.string().email().max(255).toLowerCase(),
name: z.string().min(1).max(100).trim(),
role: z.enum(["user", "admin"]).default("user"),
});
// In the route handler
const result = CreateUserSchema.safeParse(req.body);
if (!result.success) {
throw new AppError("VALIDATION_FAILED", 422, "Invalid request data");
}
const validated = result.data; // TypeScript knows the shape
3. Config and secrets
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.
- 1mo ago First seen · 179 lines · 41 tokens per session scan A c60b05726356
pn-node-api is a skill published in the GitHub repository perniemann/pnCore (0 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,547 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-09-03.
Other skills, from other repositories
nestjs-patterns
NestJS architecture patterns for modules, controllers, providers, DTO validation, guards, interceptors, config, and production-grade TypeScript backends.
azure-identity-ts
Authenticate to Azure services using Azure Identity library for JavaScript (@azure/identity). Use when configuring authentication with DefaultAzureCredential, managed identity, service principals, or interactive browser login.
typescript
TypeScript coding conventions, best practices, and patterns for writing clean, maintainable code.
chat-sdk
Build multi-platform chat bots with Chat SDK (chat npm package). Use when developers want to (1) Build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, (2) Use Chat SDK to handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, or AI…
python-backend
Production Python async patterns including asyncio TaskGroup, FastAPI dependency injection and middleware, SQLAlchemy 2.0 async sessions, and database connection pool tuning. Python 3.11+ runtime concerns such as ExceptionGroup, cancellation semantics, and session rollback. Use when building async services, wiring…
fluent-development
This skill should be used when the user asks to "build a fluent app", "create a servicenow app in typescript", or mentions "servicenow sdk", "now-sdk", "fluent", "scoped app as code", or "pro-code development" — or when the working directory contains a now.config.json or .now.ts files.