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 agentmods add skills/khaledsaeed18/node-express-boilerplate/add-testnpx skills add KhaledSaeed18/node-express-boilerplate --skill add-testgit clone --depth 1 https://github.com/KhaledSaeed18/node-express-boilerplateWrote 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/add-test)<a href="https://agentmods.dev/skills/khaledsaeed18/node-express-boilerplate/add-test"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/node-express-boilerplate/add-test.svg" alt="Measured on agentmods" 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 | $0.00044 | $0.01330 |
| Opus 5 | $0.00022 | $0.00665 |
| Sonnet 5 | $0.00009 | $0.00266 |
| Haiku 4.5 | $0.00004 | $0.00133 |
Grade A, and why
add-test 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 5d 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 — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When the user asks to add tests for a resource, follow this sequence. Ask for the resource name if not provided.
Variables
<Name>= PascalCase singular (e.g.Note)<name>= camelCase singular (e.g.note)<names>= camelCase plural (e.g.notes)
Unit Tests (tests/unit/services/<name>.service.test.ts)
Unit tests cover the service layer in isolation. The repository is fully mocked.
Structure:
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { <Name>Service } from '../../../src/services/<name>.service';
import type { I<Name>Repository } from '../../../src/repository/<name>.repository';
import { NotFoundError, ConflictError } from '../../../src/errors';
const mockRepository: I<Name>Repository = {
create: vi.fn(),
findById: vi.fn(),
findAll: vi.fn(),
update: vi.fn(),
delete: vi.fn(),
count: vi.fn(),
};
describe('<Name>Service', () => {
let service: <Name>Service;
beforeEach(() => {
vi.clearAllMocks();
service = new <Name>Service(mockRepository);
});
describe('create', () => {
it('creates and returns a DTO', async () => {
vi.mocked(mockRepository.create).mockResolvedValue({ id: '1', /* fields */ } as any);
const result = await service.create({ /* input */ });
expect(result).toMatchObject({ id: '1' });
});
it('throws ConflictError when item already exists', async () => {
vi.mocked(mockRepository.create).mockRejectedValue(new ConflictError('<Name> already exists'));
await expect(service.create({ /* input */ })).rejects.toThrow(ConflictError);
});
});
describe('findById', () => {
it('returns DTO when found', async () => {
vi.mocked(mockRepository.findById).mockResolvedValue({ id: '1' } as any);
const result = await service.findById('1');
expect(result.id).toBe('1');
});
it('throws NotFoundError when not found', async () => {
vi.mocked(mockRepository.findById).mockResolvedValue(null);
await expect(service.findById('missing')).rejects.toThrow(NotFoundError);
});
});
// Add describe blocks for: update, delete, list, and any resource-specific methods
});
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.
- 5d ago First seen · 178 lines · 44 tokens per session scan A e158683799b5
add-test is a skill published in the GitHub repository KhaledSaeed18/node-express-boilerplate (33 stars, last pushed 4d ago), licensed MIT. It adds 44 tokens to every session and 1,330 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
backend
Backend development with Node.js, Express, NestJS, and server patterns.
expressjs-development
Comprehensive Express.js development skill covering routing, middleware, request/response handling, error handling, and building production-ready REST APIs.
debugging-output-and-previewing-html-using-ray
Use when user says "send to Ray," "show in Ray," "debug in Ray," "log to Ray," "display in Ray," or wants to visualize data, debug output, or show diagrams in the Ray desktop application.
laravel-actions
Build, refactor, and troubleshoot Laravel Actions using lorisleiva/laravel-actions. Use when implementing reusable action classes (object/controller/job/listener/command), converting service classes/controllers/jobs into actions, orchestrating workflows via faked actions, or debugging action entrypoints and wiring.
review-pending-pr-reviews
Review, grill, edit, and post pending PR review drafts saved by /review-pr (or its batch/cron runners). Lists drafts that have not yet been posted, walks the maintainer through each finding, then posts, closes, or discards. Use when the user says "post my pending reviews", "what reviews are waiting", "go through the…
saas-builder
Clone, verify, map, and build on top of ixartz/SaaS-Boilerplate for a user's SaaS idea. Use when a user wants to reuse SaaS Boilerplate, evaluate how their product fits it, or build product-specific pages, database schema, roles, permissions, MVP features, and launch scope on top of the boilerplate.