schema-e2e-validation

schema-e2e-validation is a skill for Claude Code from terrylica/cc-skills. It costs 34 tokens per session (1,697 once invoked), scanned A, original, MIT.

An end-to-end validation workflow for YAML schema contracts. YAML is a human-readable configuration format; a schema contract defines the expected shape and types of data.

In plain words
What is it for?
Use it to validate schema changes before committing, regenerate Python types or database definitions, and run full checks with Earthly and Docker.
Why use it?
It checks that schema definitions, generated code, database definitions, and documentation remain consistent with the live ClickHouse Cloud database.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/earthly-with-doppler.sh +test-schema-e2e.

Part of the quality-tools plugin — 11 skills shipped together , and of cc-skills

Good fit Use it to validate schema changes before committing, regenerate Python types or database definitions, and run full checks with Earthly and Docker.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/terrylica/cc-skills
agentmods
npx agentmods add skills/terrylica/cc-skills/schema-e2e-validation

Made for: Claude Code.

Or install quality-tools, the plugin that ships this one along with the rest of its 11 skills.

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 schema-e2e-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/terrylica/cc-skills/schema-e2e-validation.svg)](https://agentmods.dev/skills/terrylica/cc-skills/schema-e2e-validation)
Your own site
<a href="https://agentmods.dev/skills/terrylica/cc-skills/schema-e2e-validation"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/schema-e2e-validation.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,697 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.00034 $0.01697
Opus 5 $0.00017 $0.00848
Sonnet 5 $0.00007 $0.00339
Haiku 4.5 $0.00003 $0.00170

Measured 2d ago against content hash a96863dfbb6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

schema-e2e-validation 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.

plugins/quality-tools/skills/schema-e2e-validation/SKILL.md · 250 lines

How it starts

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

Schema E2E Validation

Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

When to Use This Skill

Use this skill when:

  • Validating schema changes before commit
  • Verifying YAML schema matches live ClickHouse Cloud
  • Regenerating Python types, DDL, or docs
  • Running full schema workflow validation

Prerequisites

Docker Runtime (Required)

Earthly requires Docker. Start Colima before running:

colima start

Check if running:

docker ps  # Should not error

Doppler Access (For validation targets)

Required for +test-schema-validate and +test-schema-e2e:

doppler configure set token <token_from_1password>
doppler setup --project gapless-network-data --config prd

Earthly Installation

brew install earthly

Quick Commands

Generation only (no secrets)

cd ~/eon/gapless-network-data
colima start  # If not already running
earthly +test-schema-generate

Full E2E with validation (requires Doppler)

cd ~/eon/gapless-network-data
colima start  # If not already running
./scripts/earthly-with-doppler.sh +test-schema-e2e

All non-secret targets

cd ~/eon/gapless-network-data
earthly +all

Artifacts

After running +test-schema-generate or +test-schema-e2e, check ./earthly-artifacts/:

Path Contents
types/blocks.py Pydantic + TypedDict models
types/__init__.py Package init
ddl/ethereum_mainnet.sql ClickHouse DDL
docs/ethereum_mainnet.md Markdown documentation

For E2E, artifacts are under e2e/types/, e2e/ddl/, e2e/docs/.


Earthfile Targets Reference

Target Secrets Purpose
+deps No Install uv + dependencies
+build No Copy source files
+test-unit No Run pytest
+test-schema-generate No Generate types/DDL/docs
+test-schema-validate Yes Validate vs ClickHouse
+test-schema-e2e Yes Full workflow + artifacts
+all No Run all non-secret targets

Read the full file on GitHub · 250 lines

Files

What ships with it

1 file 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.

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. 2d ago First seen · 250 lines · 34 tokens per session scan A a96863dfbb6b

Subscribe to this mod's changes

schema-e2e-validation is a skill published in the GitHub repository terrylica/cc-skills (62 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 1,697 once invoked, about $0.0002 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.