Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/MasRama/naranpx agentmods add skills/masrama/nara/nara-testingWrote 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/masrama/nara/nara-testing)<a href="https://agentmods.dev/skills/masrama/nara/nara-testing"><img src="https://agentmods.dev/badge/skills/masrama/nara/nara-testing.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.00024 | $0.00997 |
| Opus 5 | $0.00012 | $0.00498 |
| Sonnet 5 | $0.00005 | $0.00199 |
| Haiku 4.5 | $0.00002 | $0.00100 |
Grade A, and why
nara-testing 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 — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing Patterns
Test layout
Keep tests near the Feature or subsystem they exercise:
src/features/<feature>/tests/ # Feature contracts, repositories, routes, clients
src/app/*.test.ts # app composition and error handling
src/shared/**/*.test.ts # shared modules
official-features/<feature>/tests/
tests/v3/ # cross-cutting frontend, CLI, config, health
Use one focused test file per behavior or source module. Add a test when a changed contract or boundary would otherwise be uncovered; do not test incidental implementation details.
Running tests
During development, run the narrowest affected file:
npx vitest run src/features/auth/tests/routes.test.ts
npx vitest run tests/v3/frontend.test.ts
npx vitest run tests/v3/
Before delivery, run the repository check:
npm run check
The check covers the server typecheck (lint), the Vue typecheck (check:frontend), the Vitest suite, and nara doctor (architecture:doctor). Finish with npm run build when the change affects production serving.
Hono route tests
Exercise routes through the app's public HTTP boundary instead of calling private handlers:
import { randomUUID } from 'node:crypto';
import { describe, expect, it } from 'vitest';
import { app } from '../../../app/server';
describe('auth route', () => {
it('rejects malformed input with field diagnostics', async () => {
const response = await app.request('/api/auth/register', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
name: 'A',
email: `${randomUUID()}@example.com`,
password: 'short',
}),
});
expect(response.status).toBe(422);
await expect(response.json()).resolves.toMatchObject({
success: false,
code: 'VALIDATION_ERROR',
errors: { name: expect.any(Array), email: expect.any(Array), password: expect.any(Array) },
});
});
});
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 · 119 lines · 24 tokens per session scan A 94d0140070f2
nara-testing is a skill published in the GitHub repository MasRama/nara (5 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 997 once invoked, about $0.0001 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 skills, from other repositories
vue-component-testing
Applies the three-tier test taxonomy for Vue 3 applications: writes unit tests for composables and Pinia stores with Vitest, component tests for behaviour and user interactions with @testing-library/vue, and acceptance tests for full user flows with Playwright. Ensures tests focus on observable behaviour, not…
knowledge-engineering-quality-and-delivery-unit-integration-and-shared-test-harnesses
A testing guide for the CLI and web interfaces, covering unit, integration, end-to-end, and real-process test setup with shared fixtures and cleanup.
mandu-testing
Testing patterns for Mandu applications. Use when writing unit tests, integration tests, or E2E tests. Triggers on test, spec, Bun test, Playwright, or testing tasks.
qamap-pr-qa
Local zero-LLM PR QA workflow. Use when an agent is preparing, updating, finalizing, or reviewing a pull request, asks what the PR should test, or needs commit-backed change intent, affected behavior, QA scenarios, evidence, validation commands, optional automation drafts, and manifest repair guidance.
component-tester
Run Vitest tests for a specific component with coverage. Use when making changes to React components to ensure tests pass and coverage is maintained.
jest-patterns
Jest and Vitest testing patterns including describe/it blocks, expect matchers, mocking, and async test strategies for JavaScript and TypeScript.