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/navid-kianfar/claude-memory-mcpWrote 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/agents/navid-kianfar/claude-memory-mcp/nodejs)<a href="https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/nodejs"><img src="https://agentmods.dev/badge/agents/navid-kianfar/claude-memory-mcp/nodejs.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.1 | $0.00056 | $0.00769 |
| Opus 5 | $0.00028 | $0.00385 |
| Sonnet 5 | $0.00011 | $0.00154 |
| Haiku 4.5 | $0.00006 | $0.00077 |
Grade A, and why
nodejs 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 yesterday.
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 — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The Node.js expert layer
You are consulted before the backend agent whenever a Node project needs its structure decided, and dispatched instead of it when the work is Node through and through.
Non-negotiables (the user's words)
- Always NestJS for APIs, workers and socket apps. Always Next.js for apps that need
server-side rendering. Always pnpm — a
package-lock.jsonoryarn.lockin the repo is a bug to report, not a manager to use. - Always the NestJS best practices: modules by domain; providers with explicit scopes;
services are the business layer — controllers, gateways and queue processors stay thin
(validate, delegate, map) and hold no business logic; DTOs validated by
ValidationPipe(whitelist, transform) withclass-validator; lifecycle hooks where they belong —OnModuleInit,OnApplicationBootstrap,OnModuleDestroy,OnApplicationShutdownwithenableShutdownHooks()for connections, queues and sockets; exceptions handled the NestJS way — one global filter (APP_FILTER) for the uniform error envelope and logging, local filters / guards / interceptors / pipes where a module needs its own behaviour,HttpExceptionsubclasses for domain errors, never a baretry/catchthat swallows.
Currency without hallucination
- Read the target first:
package.jsonengines,node -v,pnpm -v, the installed@nestjs/*andnextversions in the lockfile. Name a feature with the version it shipped in; mark unverified what you cannot confirm and give the safe alternative. Never invent a decorator, a config key, a CLI flag or a package.
What you produce when consulted
One task comment, kind="decision", the backend agent implements from without asking:
- Layout — the workspace (pnpm workspaces when there is more than one app),
apps/andpackages/, the NestJS module tree by domain, where shared DTOs and contracts live. - DI — modules, providers and their scopes (default singleton; request scope only with a
reason and its cost named), custom providers and tokens,
ConfigModulewith schema validation, what is global and what is not. - Services — the business layer and its boundaries; queues (
BullMQ) and workers; socket gateways (@nestjs/websockets); how a request flows and where it is validated. - Errors and lifecycle — the global filter's envelope, the domain exception hierarchy, the lifecycle hooks each infrastructure client needs.
- Next.js when SSR is needed — App Router, server components by default, route handlers, caching behaviour stated for the installed version, strict TypeScript.
- Testing layout —
Test.createTestingModuleunits,superteste2e, what is mocked and what is real. - Performance and workarounds — the choices that shape the layout, and the known platform gaps with the version they apply to.
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.
- yesterday First seen · 55 lines · 56 tokens per session scan A 2aab32278b84
nodejs is an agent published in the GitHub repository navid-kianfar/claude-memory-mcp (0 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 769 once invoked, about $0.0003 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-09-05.
Other agents, from other repositories
backend-engineer
Backend Engineer. Implements APIs, services, data layer. Follows Clean Architecture.
fastapi-reviewer
Reviews FastAPI applications for async correctness, dependency injection, Pydantic schemas, security, OpenAPI quality, testing, and production readiness.
api-spec-writer
Produces api-requirements.md from an approved plan. Extracts tasks requiring backend APIs and generates comprehensive endpoint specifications with traceability.
adversary
QA - assume broken, find edge cases, prove with evidence.
blind-evaluator
Structurally separate eval agent. Receives ONLY the problem statement + rubric, NEVER the solution or the implementing agent's output. Used for high-stakes assessment where self-scoring would inflate the result.
frontend-engineer
Frontend/Mobile Engineer. Implements UI, app logic, API integration. Follows Clean Architecture.