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.
git clone --depth 1 https://github.com/KhaledSaeed18/node-express-boilerplatenpx agentmods add skills/khaledsaeed18/node-express-boilerplate/new-resourceWrote 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/khaledsaeed18/node-express-boilerplate/new-resource)<a href="https://agentmods.dev/skills/khaledsaeed18/node-express-boilerplate/new-resource"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/node-express-boilerplate/new-resource/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/khaledsaeed18/node-express-boilerplate/new-resource"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/node-express-boilerplate/new-resource.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00053 | $0.01442 |
| Opus 5.5 | $0.00021 | $0.00577 |
| Sonnet 5.5 | $0.00011 | $0.00288 |
| Haiku 4.5 | $0.00005 | $0.00144 |
Grade A, and why
new-resource 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 — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When the user asks to add a new resource (e.g. "add a comments resource"), follow this exact sequence. Ask for the resource name if not provided.
Variables
<Name>= PascalCase singular (e.g.Comment)<name>= camelCase singular (e.g.comment)<names>= camelCase plural (e.g.comments)
Step 1 — Prisma Schema (prisma/schema.prisma)
Add the new model first so TypeScript types are available for every subsequent step.
Requirements:
id String @id @default(cuid())- All fields with appropriate types and nullability
- Foreign key relations with
onDelete: Cascadeon the child side createdAt DateTime @default(now())andupdatedAt DateTime @updatedAt@@indexon every foreign key column and commonly filtered fields@@map("snake_case_table_name")
Then immediately run:
pnpm prisma:migrate
pnpm prisma:generate
Step 2 — Types (src/types/<name>.types.ts)
Define DTOs before writing any other layer:
export interface Create<Name>DTO { /* fields */ }
export interface Update<Name>DTO { /* partial fields */ }
export interface <Name>ResponseDTO { /* safe fields to return, no password etc. */ }
Export from src/types/index.ts.
Step 3 — Validation (src/validations/<name>.validation.ts)
Create Zod v4 schemas. Pattern from src/validations/note.validation.ts:
import { z } from 'zod';
import { validateBody } from '../lib/validate';
import type { RequestHandler } from 'express';
export const create<Name>Schema = z.object({ /* fields */ });
export type Create<Name>Input = z.infer<typeof create<Name>Schema>;
export const create<Name>Validation: RequestHandler = validateBody(create<Name>Schema);
export const update<Name>Schema = z.object({ /* fields, all optional for PATCH */ });
export type Update<Name>Input = z.infer<typeof update<Name>Schema>;
export const update<Name>Validation: RequestHandler = validateBody(update<Name>Schema);
Step 4 — Repository (src/repository/<name>.repository.ts)
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 First seen · 190 lines · 53 tokens per session scan A 2a11bce02600
new-resource is a skill published in the GitHub repository KhaledSaeed18/node-express-boilerplate (36 stars, last pushed 4d ago), licensed MIT. It adds 53 tokens to every session and 1,442 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.
new-resource compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| new-resourceKhaledSaeed18/node-express-boilerplate | Skill | 36 | 4d ago | MIT | A | 53 | Claude Code, Codex |
| prisma-8prisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 220 | Claude Code, Codex |
| mail-timeveliovgroup/mail-time | Skill | 143 | 9d ago | BSD-3-Clause | A | 195 | Claude Code, Codex |
| webiny-api-opensearch-catalogwebiny/webiny-js | Skill | 8.0k | yesterday | none | A | 19 | Claude Code, Codex |
| nodejs-drizzlej4flmao/agent-skills | Skill | 38 | 3d ago | MIT | A | 85 | Claude Code, Codex |
| nodejs-prismaj4flmao/agent-skills | Skill | 38 | 3d ago | MIT | A | 79 | Claude Code, Codex |
| query-grammarkavo-labs/kavo | Skill | 17 | yesterday | MIT | A | 83 | Claude Code |