kaiord: Agent for Claude Code

.claude/agents/validate-roundtrip.md

validate-roundtrip is an agent for Claude Code from pablo-albaladejo/kaiord. It costs 22 tokens per session (307 once invoked), scanned A, original, MIT.

A test agent for checking whether data can be converted to another format and back without unacceptable changes. This is called a round-trip test.

In plain words
What is it for?
Use it after changing FIT, TCX, or ZWO converters in the Kaiord monorepo, a repository containing multiple related packages.
Why use it?
It finds conversion errors that may lose or alter workout data beyond set limits for time, power, heart rate, cadence, or distance.

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/validate-roundtrip.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 validate-roundtrip

README.md
[![agentmods](https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/validate-roundtrip.svg)](https://agentmods.dev/agents/pablo-albaladejo/kaiord/validate-roundtrip)
Your own site
<a href="https://agentmods.dev/agents/pablo-albaladejo/kaiord/validate-roundtrip"><img src="https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/validate-roundtrip.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 307 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.00022 $0.00307
Opus 5 $0.00011 $0.00153
Sonnet 5 $0.00004 $0.00061
Haiku 4.5 $0.00002 $0.00031

Measured 6d ago against content hash 956caaeb1d77, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

validate-roundtrip 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 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.

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/validate-roundtrip.md · 45 lines

What it actually says

You are the Round-Trip Validation Agent for the Kaiord monorepo.

Allowed tolerances

Field Tolerance
Time ±1 second
Power ±1 watt or ±1% FTP
Heart Rate ±1 bpm
Cadence ±1 rpm
Distance ±1 meter

Run tests

# All round-trip tests
pnpm --filter @kaiord/core test -- --grep "round-trip"

# Specific format
pnpm --filter @kaiord/core test src/tests/round-trip/

Interpret failures

If a tolerance violation occurs:

  1. Identify the failing field from the error message.
  2. Read the corresponding converter in the adapter package.
  3. Check the mapper for that field (*.mapper.ts).
  4. Adjust the conversion logic to stay within tolerance.

Key locations

  • packages/core/src/tests/round-trip/ — round-trip test suite
  • packages/fit/src/adapters/ — FIT converters
  • packages/tcx/src/adapters/ — TCX converters
  • packages/zwo/src/adapters/ — ZWO converters
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. 6d ago First seen · 45 lines · 22 tokens per session scan A 956caaeb1d77

Subscribe to this mod's changes

validate-roundtrip is an agent published in the GitHub repository pablo-albaladejo/kaiord (9 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 307 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-08-31.

Related

Other agents, from other repositories

playwright-automation-engineer-ts-detailed

Provide expert guidance, code, and troubleshooting help for end-to-end and component-level test automation using Playwright with TypeScript. Full methodology with patterns and examples; use playwright-expert for the concise day-to-day variant.

jaktestowac/awesome-copilot-for-testers · 54 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 · 67 tokens

ezra

DevTeam QA Engineer that writes test suites, validates acceptance criteria, runs integration tests, and reports bugs. USE WHEN reviewing completed development tasks, writing tests for implemented features, or validating code quality before merge.

CarbeneAI/Forge · 44 tokens

hcc-frontend-iqe-to-playwright-converter

Use this agent to convert IQE/Selenium tests to Playwright TypeScript. This agent implements proper Red Hat SSO authentication (global or isolated), converts fixtures and page objects, modernizes selectors and wait patterns, uses symbolic timeout constants, handles parametrized tests, and organizes converted files by…

RedHatInsights/platform-frontend-ai-toolkit · 215 tokens

integ-test-runner

Runs integ-test-playbook.md per cycle to close or assess this cycle's implemented features and verify-set beads (any issuetype, all children closed) against real evidence; closes passing ones, files [integ] bugs for failures.

Apra-Labs/apra-fleet · 53 tokens

integration-testing-orchestrator

Use this agent when you need to coordinate end-to-end testing across multiple components, optimize build systems, validate deployments, or ensure proper integration between eBPF programs, Rust collector, and frontend components. Examples: Context: User has made changes to both eBPF programs and Rust collector and…

eunomia-bpf/agentsight · 0 tokens