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 skills add neverinfamous/memory-journal-mcp --skill vitest-standardgit 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/vitest-standard)<a href="https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/vitest-standard"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/vitest-standard/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/skills/neverinfamous/memory-journal-mcp/vitest-standard"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/vitest-standard.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.00120 | $0.00816 |
| Opus 5 | $0.00060 | $0.00408 |
| Sonnet 5 | $0.00024 | $0.00163 |
| Haiku 4.5 | $0.00012 | $0.00082 |
Grade A, and why
vitest-standard 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 9d 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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vitest Standard
This skill provides opinionated, production-tested guidance for high-integrity unit testing with Vitest. It emphasizes behavior-driven design, strictly isolated tests, and the TDD lifecycle.
Golden Rules (Mandatory)
- Test Behavior, Not Implementation — Assert what the code does, not how it looks internally.
- Strict Isolation — NO shared state between tests. Create new instances in
beforeEach. - Clean Mocks — Use
vi.clearAllMocks()inbeforeEachto prevent call history leaks. - No Magic Numbers — Use descriptive variables for expected values.
- AAA Pattern — Every test must follow Arrange-Act-Assert.
- Async/Await — Always await promises; use
rejects.toThrow()for error paths. - Deterministic Tests — No dependence on system time, environment variables, or randomness (mock them).
- Meaningful Names — Use
it('should [action] when [condition]')or Given-When-Then. - Mock at Boundaries — Mock external APIs, databases, and third-party SDKs; test your own logic.
- Red-Green-Refactor — Prefer writing tests before code to drive API design.
- Security — Use fake/mock credentials in all tests — never real API keys, tokens, or passwords. Load sensitive test config from
.env.test.local(gitignored).
Core Patterns
AAA (Arrange-Act-Assert)
it('should calculate total price', () => {
// Arrange: Setup data and environment
const cart = new ShoppingCart()
cart.addItem({ price: 10, quantity: 2 })
// Act: Execute the method being tested
const total = cart.getTotal()
// Assert: Verify the outcome
expect(total).toBe(20)
})
Mocking Example
import { vi, it, expect } from 'vitest'
it('mocks dependencies', () => {
const mockFn = vi.fn().mockReturnValue(42)
expect(mockFn()).toBe(42)
expect(mockFn).toHaveBeenCalledOnce()
})
Quick Reference: Assertions
See assertions.md for a full list of Vitest assertions (toBe, toEqual, toThrow, etc.). This reference is auto-loaded only when writing test assertions.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 77 lines · 120 tokens per session scan A 38962fd67e4e
vitest-standard is a skill published in the GitHub repository neverinfamous/memory-journal-mcp (20 stars, last pushed 1mo ago), licensed MIT. It adds 120 tokens to every session and 816 once invoked, about $0.0006 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 skills, from other repositories
nw-fp-clojure
Clojure language-specific patterns, data-first modeling, REPL-driven development, and spec.
nw-fp-fsharp
F# language-specific patterns, Railway-Oriented Programming, and Computation Expressions.
nw-fp-kotlin
Kotlin language-specific patterns with Arrow, Raise DSL, and coroutine-based effects.
cpp-testing
A guide for testing C++17/20 code with GoogleTest, GoogleMock, CMake, and CTest. It covers unit and integration tests, test discovery, coverage, and sanitizers.
perl-testing
Perl testing patterns using Test2::V0, Test::More, prove runner, mocking, coverage with Devel::Cover, and TDD methodology.
JavaScript Testing Patterns
Modern JavaScript testing strategies with Jest, Mocha, and testing best practices covering unit testing, integration testing, mocking, async patterns, and DOM testing.