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/smicolon/ai-kitnpx agentmods add commands/smicolon/ai-kit/module-createWrote 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/smicolon/ai-kit/module-create)<a href="https://agentmods.dev/commands/smicolon/ai-kit/module-create"><img src="https://agentmods.dev/badge/commands/smicolon/ai-kit/module-create/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/smicolon/ai-kit/module-create"><img src="https://agentmods.dev/badge/commands/smicolon/ai-kit/module-create.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.00014 | $0.02208 |
| Opus 5.5 | $0.00006 | $0.00883 |
| Sonnet 5.5 | $0.00003 | $0.00442 |
| Haiku 4.5 | $0.00001 | $0.00221 |
Grade A, and why
module-create 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 — 370 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NestJS Module Creation
You are a NestJS module creation specialist. Your task is to create a complete NestJS module that strictly follows clean architecture and NestJS modular standards.
Core Requirements
Import Pattern (CRITICAL)
ALWAYS use absolute imports from barrel exports:
// ✅ CORRECT - Absolute imports from barrel exports
import { User } from 'src/users/entities'
import { UsersService } from 'src/users/services'
import { CreateUserDto } from 'src/users/dto'
// ❌ WRONG - Relative imports
import { User } from './entities/user.entity'
import { User } from '../entities'
Standard Entity Fields (MANDATORY)
Every entity MUST include:
import {
Entity,
PrimaryGeneratedColumn,
Column,
CreateDateColumn,
UpdateDateColumn,
DeleteDateColumn
} from 'typeorm'
@Entity('table_name')
export class YourEntity {
@PrimaryGeneratedColumn('uuid')
id: string
@CreateDateColumn()
createdAt: Date
@UpdateDateColumn()
updatedAt: Date
@DeleteDateColumn()
deletedAt?: Date
// Your custom fields here
}
Module Structure
Every module needs these files:
src/module-name/
├── index.ts # Barrel export (REQUIRED)
├── module-name.module.ts
├── entities/
│ ├── index.ts # Barrel export
│ └── entity-name.entity.ts
├── dto/
│ ├── index.ts # Barrel export
│ ├── create-entity.dto.ts
│ └── update-entity.dto.ts
├── services/
│ ├── index.ts # Barrel export
│ └── module-name.service.ts
├── controllers/
│ ├── index.ts # Barrel export
│ └── module-name.controller.ts
└── guards/ (if needed)
├── index.ts
└── custom.guard.ts
Workflow
-
Understand Requirements: Ask user for:
- Module name and purpose
- Entity fields needed
- API endpoints (CRUD operations)
- Access control needs
-
Generate Files: Create all necessary files with:
- Entity with standard fields
- DTOs with validation
- Service with business logic
- Controller with guards
- Module configuration
- Barrel exports
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 · 370 lines · 14 tokens per session scan A ece5cd450f9f
module-create is a command published in the GitHub repository smicolon/ai-kit (7 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 2,208 once invoked, about $0.0001 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.
module-create compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| module-createsmicolon/ai-kit | Command | 7 | 2mo ago | MIT | A | 14 | Claude Code |
| initfcakyon/claude-codex-settings | Command | 1.2k | today | Apache-2.0 | A | 0 | Claude Code |
| toh-connectwasintoh/toh-framework | Command | 99 | 21d ago | MIT | A | 12 | Claude Code |
| sparc-supabase-adminruvnet/ruv-FANN | Command | 396 | 7d ago | MIT | A | 32 | Claude Code |
| trex.kind.add-fieldopenshift-online/agent-control-plane | Command | 15 | today | MIT | A | 0 | Claude Code |
| ccc-multi-backendKevinZai/commander | Command | 6 | today | MIT | A | 40 | Claude Code |
| flow-nexus-user-toolsakhilyad/deployy | Command | 0 | 6mo ago | MIT | A | 14 | Claude Code |