kaiord: Skill for Claude Code

.claude/skills/guidelines/krd-format/SKILL.md

krd-format is a skill for Claude Code from pablo-albaladejo/kaiord. It costs 59 tokens per session (541 once invoked), scanned A, original, MIT.

A development guideline for KRD, Kaiord’s standard JSON format for structured workouts, recorded activities, and courses. It defines required fields, naming rules, and extension areas.

In plain words
What is it for?
Build or review KRD schemas, converters, mappers, and output for GCN, FIT, or TCX files.
Why use it?
It prevents incompatible data shapes and ensures conversions pass through the project’s canonical format instead of skipping between file formats directly.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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/skills/guidelines/krd-format/SKILL.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 krd-format

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pablo-albaladejo/kaiord/krd-format"><img src="https://agentmods.dev/badge/skills/pablo-albaladejo/kaiord/krd-format.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 541 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00059 $0.00541
Opus 5.5 $0.00024 $0.00216
Sonnet 5.5 $0.00012 $0.00108
Haiku 4.5 $0.00006 $0.00054

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

Security

Grade A, and why

krd-format 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/skills/guidelines/krd-format/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

KRD Format — Kaiord

KRD (Kaiord Representation Definition) is the canonical format. All conversions MUST pass through KRD. Direct format-to-format conversion is forbidden.

MIME type: application/vnd.kaiord+json

Normative reference: openspec/specs/krd-format/spec.md. Live Zod schemas: packages/core/src/domain/schemas/.

Top-level shape

version     (required)
type        (required)
metadata    (required)
sessions    (optional)
laps        (optional)
records     (optional)
events      (optional)
extensions  (optional)

type enum

One of: "structured_workout" | "recorded_activity" | "course"

Adding a new value is a breaking change and requires a migration plan.

Naming conventions

Layer Field names Enum values
KRD (domain) camelCase — subSport, durationType, heartRate snake_case — "indoor_cycling", "lap_swimming"
Adapters (internal) camelCase allowed MUST emit snake_case in KRD output

Access enum values via .enum: subSportSchema.enum.indoor_cycling

Extension namespaces

Reserved: extensions.structured_workout, extensions.fit, extensions.course, extensions.course_points

Adapters MUST NOT drop unknown namespaces silently. They MUST either round-trip them unchanged or fail with a descriptive error. Per-namespace payload shapes: openspec/specs/krd-format/spec.md, Requirement: Extension Namespaces.

Round-trip tolerances

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

Every converter that touches a numeric field MUST have round-trip tests within these tolerances.

Read the full file on GitHub · 63 lines

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 · 63 lines · 59 tokens per session scan A dcf461335114

Subscribe to this mod's changes

krd-format is a skill published in the GitHub repository pablo-albaladejo/kaiord (9 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 541 once invoked, about $0.0002 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 skills, from other repositories