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 instructions/softtor/nestjs-hexagonal/claude-mdgit clone --depth 1 https://github.com/Softtor/nestjs-hexagonalWhat 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.01001 | $0.01001 |
| Opus 5 | $0.00500 | $0.00500 |
| Sonnet 5 | $0.00200 | $0.00200 |
| Haiku 4.5 | $0.00100 | $0.00100 |
Grade A, and why
nestjs-hexagonal CLAUDE.md 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 2d 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 — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NestJS Hexagonal Plugin — Instructions
Plugin for building NestJS bounded contexts with Hexagonal Architecture + DDD + CQRS. Compatible with GSD workflow.
Entry Point
nestjs-hexagonal:using-nestjs-hexagonal — meta-skill that routes any NestJS task to the correct skill or agent. Check this FIRST when working in a hexagonal NestJS project.
Architecture Rules (enforced by all skills and agents)
- Entity extends AggregateRoot from
@nestjs/cqrs— usesthis.apply(event)for domain events - Repository is PURE persistence — save, find, search, delete. NO event dispatch
- EventPublisher lives in the Handler, NEVER in UseCase — UseCase returns entity, Handler calls
publisher.mergeObjectContext(entity)thenentity.commit() - No NestJS imports in domain — exception:
AggregateRootandIEventfrom@nestjs/cqrs - Module exports ONLY Port tokens — never use cases or repositories
- class-validator ONLY in presentation request DTOs — never in domain or application
- Write operations return void or
{ id: string }— CQRS strict - No over-engineering — no use case for simple
findById, no abstraction for single use, no generic relay patterns
Skills
| Skill | When |
|---|---|
nestjs-hexagonal:domain |
Entity, VO, event, repository interface, data builder |
nestjs-hexagonal:application |
Use case, CQRS handler, DTO, port, read model |
nestjs-hexagonal:infrastructure |
Prisma repo, module wiring, adapter, event handler infra |
nestjs-hexagonal:presentation |
Controller, request DTO, Swagger, error filter |
nestjs-hexagonal:websocket-broadcasting |
Domain event -> WebSocket broadcast to frontend |
nestjs-hexagonal:event-listeners |
Same-BC, cross-BC, and bridge listeners (WS, broker, email) |
nestjs-hexagonal:create-subdomain |
Full BC orchestrator (dispatches agents per layer) |
nestjs-hexagonal:review-subdomain |
Architecture compliance review |
Agents (each loads its corresponding skill)
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.
- 2d ago First seen · 76 lines · 1,001 tokens per session scan A f1d277122823
nestjs-hexagonal CLAUDE.md is an instructions file published in the GitHub repository Softtor/nestjs-hexagonal (5 stars, last pushed 23d ago), licensed MIT. It adds 1,001 tokens to every session, about $0.0050 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-31.
Other instructions, from other repositories
tevm CLAUDE.md
Claude Code instructions for evmts/tevm, covering tevm monorepo commands and style guide, project overview, forking implementation, json-rpc support and commands.
moss AGENTS.md
Instructions for D-Robotics/moss, covering agents.md, 仓库身份, 文档所有权与阅读顺序, 代码规范执行摘要(必须遵守) and 第一次进入仓库.
agnix typescript.instructions.md
Instructions for agent-sh/agnix, covering typescript instructions and guidelines.
copperhead CLAUDE.md
Instructions for copperheadhq/copperhead, covering claude.md, what this repo is, sources of truth, workflow (openspec) and architecture (per spec.md §2).
openbridge-webcomponents docgen.instructions.md
Instructions for Ocean-Industries-Concept-Lab/openbridge-webcomponents, covering doc generator cli, it never edits the original and keep the prompt aligned with the rules.
solana-developer-platform AGENTS.md
Instructions for solana-foundation/solana-developer-platform, covering solana developer platform, repo layout, source of truth, generated files and public vs internal surfaces.