packages/skills/skills/ct-skill-validator/SKILL.md
Validates an existing skill folder against the full CLEO standard and ecosystem. Use when auditing skills for structural compliance, verifying a skill fits into the CLEO ecosystem and constitution, running quality A/B evals, or preparing a skill for distribution. Runs a 3-phase validation loop — structural, ecosystem fit, and quality eval — then presents all findings as an HTML report opened in the user's browser. Iterates until all required phases pass.
npx skillsauth add kryptobaseddev/cleo ct-skill-validatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Full 3-phase validation loop for CLEO skills. Every phase must reach PASS before the skill is considered ecosystem-ready. Run the phases in order and iterate on failures.
Always end with the HTML report — the final deliverable to the user is the combined report opened in their browser, not terminal output.
Run validate.py until the result is PASS or PASS (with warnings) with 0 errors.
Warnings are acceptable; errors are not. Fix errors and re-run.
# Full gauntlet — text output
python ${CLAUDE_SKILL_DIR}/scripts/validate.py <skill-dir>
# With manifest checks (Tier 4):
python ${CLAUDE_SKILL_DIR}/scripts/validate.py <skill-dir> \
--manifest <manifest.json> --dispatch-config <dispatch-config.json>
# JSON output (for scripting):
python ${CLAUDE_SKILL_DIR}/scripts/validate.py <skill-dir> --json
# Deep body quality audit (optional, run alongside validate.py):
python ${CLAUDE_SKILL_DIR}/scripts/audit_body.py <skill-dir>
# Manifest alignment check:
python ${CLAUDE_SKILL_DIR}/scripts/check_manifest.py <skill-dir> <manifest.json>
Iteration rule: If errors > 0, fix them in the skill's SKILL.md, re-run validate.py.
Repeat until errors = 0. Do not proceed to Phase 2 while errors remain.
Validation tiers:
See references/validation-rules.md for full rule set.
Checks whether the skill's intent and purpose fit into the CLEO ecosystem — the 10 canonical domains, canonical verbs, RCASD-IVTR+C lifecycle, and the CLEO Operation Constitution.
Step 1: Extract skill context
python ${CLAUDE_SKILL_DIR}/scripts/check_ecosystem.py <skill-dir> --output context.json
This extracts: CLEO operations referenced, domains mentioned, lifecycle stages, deprecated verb usage, and direct data manipulation patterns.
Step 2: Run the ecosystem-checker agent
Invoke the ecosystem-checker agent with the context package:
Inputs:
- context.json (from Step 1)
- references/cleo-ecosystem-rules.md (the 8 rules)
- The skill's SKILL.md (for full body reading)
Agent file: ${CLAUDE_SKILL_DIR}/agents/ecosystem-checker.md
Output: ecosystem-check.json
The checker evaluates 8 rules from references/cleo-ecosystem-rules.md:
cleo <command> or domain.operation format?.cleo/ file editing instructionsallowed-tools matches what the skill actually needsIteration rule: If ecosystem-check.json contains "verdict": "FAIL", address each ERROR-severity
rule finding, fix the skill content, re-run check_ecosystem.py, re-run the ecosystem-checker agent.
Repeat until verdict is PASS or PASS_WITH_WARNINGS. WARN is acceptable; ERROR is not.
Tests whether the skill actually improves agent output quality vs. no skill context. Uses the eval infrastructure from ct-skill-creator.
Trigger accuracy — does the skill description trigger correctly?
python ${CLAUDE_SKILL_DIR}/../ct-skill-creator/scripts/run_eval.py \
--eval-set ${CLAUDE_SKILL_DIR}/evals/eval_set.json \
--skill-path ${CLAUDE_SKILL_DIR}
Optimize description (if trigger accuracy < 80%):
python ${CLAUDE_SKILL_DIR}/../ct-skill-creator/scripts/run_loop.py \
--eval-set ${CLAUDE_SKILL_DIR}/evals/eval_set.json \
--skill-path ${CLAUDE_SKILL_DIR} \
--model claude-sonnet-4-6 \
--max-iterations 5
run_loop.py opens a live HTML accuracy report in the browser automatically.
Quality eval (with/without skill A/B):
grading.json:
${CLAUDE_SKILL_DIR}/../ct-skill-creator/agents/grader.mdcomparison.json:
${CLAUDE_SKILL_DIR}/../ct-skill-creator/agents/comparator.mdanalysis.json:
${CLAUDE_SKILL_DIR}/../ct-skill-creator/agents/analyzer.mdpython ${CLAUDE_SKILL_DIR}/../ct-skill-creator/eval-viewer/generate_review.py <workspace-dir>
(Opens browser at localhost:3117)See references/validation-rules.md and
${CLAUDE_SKILL_DIR}/../ct-skill-creator/references/schemas.md for JSON output schemas.
After completing all phases, generate the unified report and open it in the browser.
# Minimum — Phase 1 only:
python ${CLAUDE_SKILL_DIR}/scripts/generate_validation_report.py <skill-dir> --no-open --output report.html
# With ecosystem check:
python ${CLAUDE_SKILL_DIR}/scripts/generate_validation_report.py <skill-dir> \
--ecosystem-check ecosystem-check.json --no-open --output report.html
# Full 3-phase report:
python ${CLAUDE_SKILL_DIR}/scripts/generate_validation_report.py <skill-dir> \
--ecosystem-check ecosystem-check.json \
--grading grading.json \
--comparison comparison.json \
--audit \
--output report.html
Tell the user:
Open the report in the browser: omit --no-open (default behaviour opens browser automatically).
This skill validates itself. To validate ct-skill-validator:
python ${CLAUDE_SKILL_DIR}/scripts/validate.py ${CLAUDE_SKILL_DIR}
python ${CLAUDE_SKILL_DIR}/scripts/check_ecosystem.py ${CLAUDE_SKILL_DIR} | cat
tools
Connect any AI agent to SignalDock for agent-to-agent messaging. Use when an agent needs to: (1) register on api.signaldock.io, (2) install the signaldock runtime CLI, (3) send/receive messages to other agents, (4) set up SSE real-time streaming, (5) poll for messages, (6) check inbox, or (7) connect to the SignalDock platform. Triggers on: "connect to signaldock", "register agent", "send message to agent", "agent messaging", "signaldock setup", "install signaldock", "agent-to-agent".
development
Compliance validation for verifying systems, documents, or code against requirements, schemas, or standards. Performs schema validation, code compliance checks, document validation, and protocol compliance verification with detailed pass/fail reporting. Use when validating compliance, checking schemas, verifying code standards, or auditing protocol implementations. Triggers on validation tasks, compliance checks, or quality verification needs.
testing
General implementation task execution for completing assigned CLEO tasks by following instructions and producing concrete deliverables. Handles coding, configuration, documentation work with quality verification against acceptance criteria and progress reporting. Use when executing implementation tasks, completing assigned work, or producing task deliverables. Triggers on implementation tasks, general execution needs, or task completion work.
tools
Quick ephemeral sticky notes for project-wide capture before formal classification