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.
git clone --depth 1 https://github.com/hmake98/nestjs-starterWrote 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/commands/hmake98/nestjs-starter/gen-module)<a href="https://agentmods.dev/commands/hmake98/nestjs-starter/gen-module"><img src="https://agentmods.dev/badge/commands/hmake98/nestjs-starter/gen-module/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/commands/hmake98/nestjs-starter/gen-module"><img src="https://agentmods.dev/badge/commands/hmake98/nestjs-starter/gen-module.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.00000 | $0.00836 |
| Opus 5.5 | $0.00000 | $0.00334 |
| Sonnet 5.5 | $0.00000 | $0.00167 |
| Haiku 4.5 | $0.00000 | $0.00084 |
Grade A, and why
gen-module 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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate a complete NestJS feature module for: $ARGUMENTS
Step 1 — Read codebase patterns
Study these files to match existing conventions exactly:
src/modules/user/user.module.tssrc/modules/user/services/user.service.tssrc/modules/user/controllers/user.public.controller.tssrc/modules/user/controllers/user.admin.controller.tssrc/modules/user/dtos/user.dto.tssrc/modules/user/dtos/user.update.dto.tssrc/common/database/repositories/user.repository.tssrc/common/database/interfaces/user.interface.ts
Step 2 — Generate all 8 files
Use the reference files (Step 1) for structure, decorators, and patterns.
1. src/common/database/interfaces/<name>.interface.ts
export type <Name>Entity = <Name>from@prisma/clientCreate<Name>InputandUpdate<Name>Inputinterfaces
2. src/common/database/repositories/<name>.repository.ts
@Injectable()injectingDatabaseService as db- Standard methods:
findById,existsById(viafindUnique({ select: { id: true } })),create,update,softDelete,hardDeleteById - Return types use
<Name>Entity
3. src/modules/<name>/dtos/<name>.dto.ts (response DTOs)
<Name>ResponseDtowith@Expose()+@ApiProperty({ example: faker.* })on every included field@ApiHideProperty()+@Exclude()on sensitive fields- Named variants extending base:
<Name>GetResponseDto,<Name>CreateResponseDto,<Name>UpdateResponseDto
4. src/modules/<name>/dtos/<name>.create.dto.ts + <name>.update.dto.ts
- class-validator decorators on every field per the spec's DTO Fields section
- Update DTO: all fields
@IsOptional()first
5. src/modules/<name>/services/<name>.service.ts
- Inject repository (not
DatabaseService) private readonly logger = new Logger(<Name>Service.name)private async assertExists(id)usingexistsById- Business rules from spec implemented here
- All errors:
throw new HttpException('<name>.error.key', HttpStatus.STATUS)
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 · 73 lines · 0 tokens per session scan A 7cc34f1f8d0d
gen-module is a command published in the GitHub repository hmake98/nestjs-starter (64 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 836 tokens. 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 commands, from other repositories
node-microservice-builder
Create or modify Node.js/TypeScript microservice endpoints following the conventions in the node-typescript-service and backend-policy rules — this is the guided end-to-end build workflow.
nxt-api-route
Generates a Next.js App Router API route handler (route.ts) with proper TypeScript types, request validation, and error handling. Auto-detects auth patterns from the project.
gen-ts-api-code
A code-generation workflow that reads API definitions from YApi, a tool for documenting and testing web APIs, and produces TypeScript code.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.