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/hmake98/nestjs-starter/testgit clone --depth 1 https://github.com/hmake98/nestjs-starterWhat 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.00291 | $0.00291 |
| Opus 5 | $0.00146 | $0.00146 |
| Sonnet 5 | $0.00058 | $0.00058 |
| Haiku 4.5 | $0.00029 | $0.00029 |
Grade A, and why
nestjs-starter test.instructions.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.
What it actually says
Test Conventions
- Mock every injected dependency as a plain object:
const mockRepo = { method: jest.fn() }. Never usejest.createMockFromModule. - Provide mocks via
{ provide: Token, useValue: mockObject }. ConfigServicemock:{ getOrThrow: jest.fn((key: string) => configMap[key]) }with a typed key→value map.- Never call
jest.clearAllMocks()inbeforeEach— handled globally byclearMocks: trueintest/jest.json. - Use
src/path alias in imports, not relative../../paths. - Output path mirrors
src/:src/modules/post/services/post.service.ts→test/modules/post.service.spec.ts. - Faker: import
@faker-js/fakernormally — aliased totest/mocks/faker.mock.tsfor deterministic values. - Structure:
describe('ClassName') > describe('methodName') > it('should...'). - Every public method needs: happy path (
resolves.toEqual), guard/error throw (rejects.toThrow(HttpException)), dependency propagation. - Assertions:
resolves.toEqual(...),rejects.toThrow(HttpException),toHaveBeenCalledWith(...). Never.toBeTruthy()for value checks.
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 · 17 lines · 291 tokens per session scan A ce4ca2f8b6ff
nestjs-starter test.instructions.md is an instructions file published in the GitHub repository hmake98/nestjs-starter (61 stars, last pushed 3mo ago), licensed MIT. It adds 291 tokens to every session, about $0.0015 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 instructions, from other repositories
StateCore CLAUDE.md
Claude Code instructions for yul761/StateCore, covering statecore — claude context, what this is, commands, running locally and enable semantic retrieval (optional).
ant-design-pro CLAUDE.md
Claude Code instructions for ant-design/ant-design-pro, covering claude.md, project, commands, critical rules and architecture essentials.
MCP-Nest CLAUDE.md
Instructions for rekog-labs/MCP-Nest, covering claude.md, what this repo is, packages, layout and commands.
node-typescript-boilerplate AGENTS.md
Instructions for jsynowiec/node-typescript-boilerplate, covering agents.md, ground rules (always), typescript, node.js and testing (vitest).
toBeBetterJavaer AGENTS.md
AGENTS.md instructions for itwanger/toBeBetterJavaer, covering 工具权限设置, 工具使用规则, 获取网页内容 and 图片生成 / 文章配图.
RediSearch AGENTS.md
AGENTS.md instructions for RediSearch/RediSearch, covering redisearch development guide, proposing features and large changes, build commands, testing and header generation.