kaiord: Agent for Claude Code

.claude/agents/test-analyst.md

test-analyst is an agent for Claude Code from pablo-albaladejo/kaiord. It costs 18 tokens per session (405 once invoked), scanned A, original, MIT.

A testing and code-coverage analyst for a TypeScript project using Vitest, a JavaScript testing tool. TDD means writing tests as part of the development process, before or alongside code.

In plain words
What is it for?
Use it to investigate failed tests, improve coverage, test converters and business rules, and check that data survives conversion accurately.
Why use it?
It helps identify why tests fail and shows which important parts of the code are not tested enough.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is pablo-albaladejo/kaiord's own configuration. It tells Claude Code how to work on kaiord itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kaiord configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pablo-albaladejo/kaiord. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pablo-albaladejo/kaiord/main/.claude/agents/test-analyst.md
Clone the repo
git clone --depth 1 https://github.com/pablo-albaladejo/kaiord

Made for: Claude Code.

Wrote 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.

agentmods badge for test-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/test-analyst/github.svg)](https://agentmods.dev/agents/pablo-albaladejo/kaiord/test-analyst)
Your own site
<a href="https://agentmods.dev/agents/pablo-albaladejo/kaiord/test-analyst"><img src="https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/test-analyst/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.

agentmods 80×15 button for test-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/pablo-albaladejo/kaiord/test-analyst"><img src="https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/test-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 405 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00405
Opus 5.5 $0.00007 $0.00162
Sonnet 5.5 $0.00004 $0.00081
Haiku 4.5 $0.00002 $0.00040

Measured 1mo ago against content hash 9a3f93cb9fc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-analyst 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 1mo 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.

.claude/agents/test-analyst.md · 68 lines

What it actually says

You are the Test Analyst of Kaiord, expert in TDD and vitest.

Your Role

Analyze test failures, improve coverage, and ensure testing best practices.

Testing Philosophy

WHAT to Test

  • Converters (*.converter.ts) - Have logic, MUST be tested
  • Validators - Business rules
  • Use cases - Component integration
  • Round-trip - Data integrity

WHAT NOT to Test

  • Mappers (*.mapper.ts) - Simple transformation, no logic
  • Types - TypeScript validates them
  • Fixtures - Test utilities

AAA Pattern

it("should describe expected behavior", () => {
  // Arrange
  const input = buildFixture.build();

  // Act
  const result = functionUnderTest(input);

  // Assert
  expect(result).toStrictEqual(expected);
});

Coverage Thresholds

Scope Threshold
Core converters 90%
Core overall 80%
Frontend overall 70%

Round-Trip Tolerances

Field Tolerance
Time ±1s
Power ±1W or ±1% FTP
HR ±1 bpm
Cadence ±1 rpm

How to Analyze Failures

  1. Identify the failing test
  2. Read the error message
  3. Review the code under test
  4. Verify fixtures and mocks
  5. Propose specific fix
Changes

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.

  1. 1mo ago First seen · 68 lines · 18 tokens per session scan A 9a3f93cb9fc7

Subscribe to this mod's changes

test-analyst is an agent published in the GitHub repository pablo-albaladejo/kaiord (9 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 405 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

Other agents, from other repositories

test-writer

Use this agent to identify and test a distinct, realistic regression that existing tests do not catch, including during test-driven development. Do not generate a comprehensive suite by default. Invoke /writing-tests before changing test setup or assertions.\n\nExamples:\n \nContext: The user has just implemented a…

PostHog/posthog · 359 tokens

pre-commit-reviewer

Use this agent to review code changes before committing and pushing to a PR. This agent analyzes diffs for bugs, style issues, dead code, missing tests, and alignment with target repository conventions. Use as a fallback when the PR review toolkit is unavailable, or dispatch directly for standalone pre-commit review.…

costajohnt/oss-autopilot · 243 tokens

test-engineer

TDD & Logic Verification Expert. Specializes in the 'Inner Loop' of development: Unit Testing, Integration Testing, and Mocking Strategies.

DDS-Solutions/AI-TadPole-OS · 33 tokens

test-writer

Generate comprehensive tests.

AgriciDaniel/claude-code-essentials-vs-code · 7 tokens

R-tester

Use this agent to generate tests, validate coverage, and verify test quality. Works with Vitest, Jest, Pytest, Playwright, Cypress, and any test framework. Context: New feature needs tests user: "Write tests for the auth service" assistant: "I'll use the R-tester agent to generate test coverage.".

Roxabi/roxabi-plugins · 77 tokens

typescript-pro

Master TypeScript with advanced types, generics, and strict type safety. Handles complex type systems, decorators, and enterprise-grade patterns. Use PROACTIVELY for TypeScript architecture, type inference optimization, or advanced typing patterns.

NOMARJ/sigil · 49 tokens