ct-validator

ct-validator is a skill for Claude Code, Codex from kryptobaseddev/cleo. It costs 74 tokens per session (2,630 once invoked), scanned A, original, MIT.

A compliance checker for systems, documents, and code. It compares existing files with requirements, schemas, standards, or implementation specifications and reports pass or fail results.

In plain words
What is it for?
Use it to validate JSON Schema, review code against coding standards, check document structure, and compare implementations with written protocols.
Why use it?
It helps find structural and rule violations before an artifact is accepted. It performs static checks rather than running tests or verifying runtime behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Gemini CLI.

Good fit Use it to validate JSON Schema, review code against coding standards, check document structure, and compare implementations with written protocols.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kryptobaseddev/cleo/ct-validator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kryptobaseddev/cleo --skill ct-validator
Clone the repo
git clone --depth 1 https://github.com/kryptobaseddev/cleo

Made for: Claude Code, Codex.

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 ct-validator

README.md
[![agentmods](https://agentmods.dev/badge/skills/kryptobaseddev/cleo/ct-validator/github.svg)](https://agentmods.dev/skills/kryptobaseddev/cleo/ct-validator)
Your own site
<a href="https://agentmods.dev/skills/kryptobaseddev/cleo/ct-validator"><img src="https://agentmods.dev/badge/skills/kryptobaseddev/cleo/ct-validator/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 ct-validator

Your own site · 80×15
<a href="https://agentmods.dev/skills/kryptobaseddev/cleo/ct-validator"><img src="https://agentmods.dev/badge/skills/kryptobaseddev/cleo/ct-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,630 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.00074 $0.02630
Opus 5.5 $0.00030 $0.01052
Sonnet 5.5 $0.00015 $0.00526
Haiku 4.5 $0.00007 $0.00263

Measured 20d ago against content hash 681a35709f22, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ct-validator 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 20d 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.

packages/skills/skills/ct-validator/SKILL.md · 317 lines

How it starts

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

Validator Context Injection

Protocol: @src/protocols/implementation.md Type: Context Injection (cleo-subagent) Version: 2.0.0


Purpose

Context injection for compliance validation tasks spawned via cleo-subagent. Provides domain expertise for verifying that systems, documents, or code comply with specified requirements, schemas, or standards.


Capabilities

  1. Schema Validation - Verify data structures against JSON Schema
  2. Code Compliance - Check code against style guides and standards
  3. Document Validation - Verify documents meet structural requirements
  4. Protocol Compliance - Check implementations against specifications

Out of Scope (T9675)

ct-validator operates on the validation LOOM lifecycle stage (stage 7). It performs static schema, compliance, and audit checks against artifacts that already exist on disk (specs, ADRs, JSON files, RFC 2119 keyword usage, manifest schemas).

This skill does NOT:

  • Run a test suite or an iterative IVT loop itself. The testing stage (stage 8) is also routed here since ct-ivt-looper was removed (T14311): dynamic verification is proven by the task's testsPassed evidence gate (cleo done <id> --plan, then cleo verify), and this skill audits that evidence rather than producing it.
  • Modify code or apply fixes. The validator reports; downstream skills remediate.

Governance: see ADR-051 (programmatic gate integrity), which defines the evidence atoms each stage emits and this skill re-validates, and ADR-023 (protocol validation dispatch).


Validation Methodology

Standard Workflow

  1. Define scope - What is being validated
  2. Identify criteria - What rules apply
  3. Execute checks - Run validation against criteria
  4. Document findings - Record pass/fail with details
  5. Report status - Summarize compliance level

Blast-Radius Test Scope (MANDATORY · T9842)

When acting as the IVTR Lead in the Validate phase (R2), the targeted test files named in the task spec are NOT sufficient evidence on their own when the Implement phase touched an infrastructure file. Targeted-only test review is how cross-package regressions slip past the Lead.

Read the full file on GitHub · 317 lines

Files

What ships with it

4 files 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. 20d ago Changed 681a35709f22
  2. 24d ago Changed · -6 lines bb81253a3ae6
  3. 29d ago Changed b5f12ec7273d
  4. 2mo ago Changed · +2 lines 9fd93d5058c9
  5. 2mo ago Changed · +4 lines 001df375fded
  6. 3mo ago First seen · 317 lines · 74 tokens per session scan A c98cdafc58b3

Subscribe to this mod's changes

ct-validator is a skill published in the GitHub repository kryptobaseddev/cleo (160 stars, last pushed 5d ago), licensed MIT. It adds 74 tokens to every session and 2,630 once invoked, about $0.0003 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-09-03.

Related

ct-validator compared with skills from other repositories

ct-validator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ct-validatorkryptobaseddev/cleoSkill1605d agoMITA74Claude Code, Codex
fto-triageanthropics/claude-for-legalSkill10k4d agoApache-2.0A81Claude Code
legal-holdanthropics/claude-for-legalSkill10k4d agoApache-2.0A68Claude Code
specification-writingwanshuiyin/Auto-claude-code-research-in-sleepSkill20k3d agoMITA49Claude Code
terms-of-servicegenspark-ai/genofficeSkill13ktodayApache-2.0A32Claude Code, Codex
regulatory-research-fallbackHKUDS/OpenSpaceSkill8.1k22d agoMITA20Claude Code, Codex
x-scorecardx-cmd/x-cmdSkill4.8k11d agoApache-2.0A57Claude Code, Codex