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 skills/neverinfamous/memory-journal-mcp/nodejsnpx skills add neverinfamous/memory-journal-mcp --skill nodejsgit clone --depth 1 https://github.com/neverinfamous/memory-journal-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/skills/neverinfamous/memory-journal-mcp/nodejs)<a href="https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/nodejs"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-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.00055 | $0.00512 |
| Opus 5 | $0.00028 | $0.00256 |
| Sonnet 5 | $0.00011 | $0.00102 |
| Haiku 4.5 | $0.00006 | $0.00051 |
Grade A, and why
nodejs scanned grade A with 1 finding 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 6d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
Node.js core runtime standards. Use when working with native Node.js APIs like streams, buffers, child_process, worker_threads, filesystem, or event loop tuning. Do NOT trigger for generic 'build a server' requests unles How it starts
The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Node.js Core Standards
This skill provides best practices for utilizing native Node.js APIs safely and efficiently.
1. Streams and Memory Management
- Streaming Data: Always use streams (
fs.createReadStream,pipeline) when handling files or network payloads larger than a few megabytes. Never buffer entire large files into memory usingfs.readFile. - Pipeline Utility: Always use
stream/promises.pipelineto chain streams together. It properly handles error propagation and stream destruction to prevent memory leaks.
import { pipeline } from 'node:stream/promises'
import { createReadStream, createWriteStream } from 'node:fs'
await pipeline(
createReadStream('large-file.csv'),
processTransformStream,
createWriteStream('output.csv')
)
2. Event Loop Blocking
- Synchronous APIs: Never use synchronous native APIs (
fs.readFileSync,crypto.pbkdf2Sync) in a web server context, as they block the main event loop and freeze all other requests. Only use them during application startup or in CLI scripts. - CPU Intensive Tasks: Offload CPU-intensive work (image processing, heavy cryptography, massive JSON parsing) to
worker_threadsor external processes.
3. Child Processes
- exec vs spawn: Avoid
child_process.exec()for any dynamic input, as it executes in a shell and is vulnerable to command injection. Usechild_process.spawn()orexecFile()which bypass the shell and pass arguments directly.
import { spawn } from 'node:child_process'
// Safe: arguments are passed as an array
const child = spawn('ls', ['-lh', '/usr'])
4. Modern APIs
- Native Fetch: Use the native
fetchAPI (Node 18+) instead of third-party libraries likeaxiosornode-fetchunless specific interceptor functionality is required. - Prefixes: Always use the
node:prefix when importing core modules (e.g.,import fs from 'node:fs'). This explicitly bypassesnode_moduleslookup and improves security.
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.
- 6d ago First seen · 47 lines · 55 tokens per session scan A ccd67695c7db
nodejs is a skill published in the GitHub repository neverinfamous/memory-journal-mcp (20 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 512 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
api-designer
Designs RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and cursor), error response schemas, and OpenAPI conventions. Use when the user asks about REST API design, creating endpoints, URL structure, API versioning, status codes, Swagger, or OpenAPI specs.
framework-expert
Unified framework expertise bundle. Lazy-loads relevant framework patterns (React, Vue, Angular, Next.js, Node.js, Python, Laravel, Go, Flutter, React Native, TypeScript) based on detected tech stack.
migration-helper
Guide safe database and code migrations with zero-downtime strategies.
scalable-thinking
Design for scale while keeping implementation simple (KISS).
decile-hub-connector
How augment-it (and any Lossless VC-client workspace) talks to the Decile Hub API — the first per-client custom connector. Use whenever pulling from or pushing to Decile Hub (people, organizations, pipeline prospects, deal shares, deal memos, funds/entities, portfolio companies, capital accounts, notes, tasks, files…
api-design
Design or review an HTTP/REST/GraphQL API for versioning, pagination, error shapes, idempotency, auth, status codes, cache headers, and breaking-change management. Use when asked to "design an API", "shape the endpoints", "design the schema", "add a new endpoint", "review this API", or when building/modifying a public…