/looplia:workflow-validatorfrom looplia
Validates JSON artifacts against validation criteria using deterministic script execution. Useful for debugging validation failures and retrying blocked writes.
Ships in looplia. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Validates JSON artifacts against validation criteria using deterministic script execution.
As of v0.6.0, the PostToolUse:Write hook automatically calls this validation script whenever an artifact is written to sandbox/*/outputs/*.json.
You typically don't need to manually invoke this skill - the hook handles it.
Use this skill only in these scenarios:
sandbox/{id}/validation.jsonRead the validation manifest at sandbox/{id}/validation.json:
{
"workflow": "writing-kit",
"version": "1.0.0",
"sandboxId": "article-2025-12-18-xk7m",
"steps": {
"summary": {
"output": "outputs/summary.json",
"validate": {
"required_fields": ["contentId", "headline", "tldr", "keyThemes"],
"min_quotes": 3,
"min_key_points": 5
},
"validated": false
}
}
}
Execute the validation script with artifact path and criteria:
bun scripts/validate.ts <artifact-path> '<criteria-json>'
Example:
bun scripts/validate.ts sandbox/podcast-2024-12-08-ai/outputs/summary.json '{"required_fields":["contentId","headline"],"min_quotes":3}'
The script returns JSON with pass/fail and individual checks:
{
"passed": true,
"checks": [
{ "name": "has_contentId", "passed": true, "message": "OK" },
{ "name": "has_headline", "passed": true, "message": "OK" },
{ "name": "min_quotes", "passed": true, "message": "Found 5 quotes (min: 3)" }
]
}
If validation passes:
validation.json to set validated: true for this outputIf validation fails:
Array of field names that must exist in the artifact:
"required_fields": ["contentId", "headline", "tldr"]
Minimum number of items in importantQuotes array:
"min_quotes": 3
Minimum number of items in bullets or key points array:
"min_key_points": 5
Minimum number of outline sections:
"min_outline_sections": 4
Requires hooks array with at least one item:
"has_hooks": true
The validation script returns:
{
"passed": boolean,
"checks": [
{
"name": "check_name",
"passed": boolean,
"message": "Human-readable result"
}
]
}
.steps not .outputs)The validation script is at:
.claude/skills/workflow-validator/scripts/validate.ts
Run with Bun for TypeScript execution:
bun .claude/skills/workflow-validator/scripts/validate.ts <artifact> '<criteria>'
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/registry-loaderLoad the skill catalog for workflow building. This skill should be used when
discovering available looplia skills or listing what capabilities are available. Use when
someone says "what looplia skills are installed", "list available skills", "/build",
"what can looplia do", or "show me all looplia capabilities".
v0.7.0: Replaces plugin-registry-scanner with skill catalog for faster access.
Auto-syncs from all sources on every build to ensure freshest skill catalog.
/skill-capability-matcherThis skill should be used when matching user requirements to available skills from a
compiled registry. It receives a skill registry (from registry-loader) and user requirements,
then scores each skill based on capability alignment, producing prioritized matches with
confidence scores.
Triggers: "match skills to requirements", "find relevant skills for workflow", "which skill
handles X", "score skill capabilities", "/build" (after registry load), "find skills for
this task", "match my requirements to skills".
Second step in looplia workflow building pipeline: takes user requirements and skill registry,
recommends skill sequences with missions. Designs one workflow step → one skill-executor
→ multiple skills orchestration pattern.
/workflow-executorThis skill should be used when the user wants to execute a looplia workflow, run workflow
steps, or process a workflow.md file. Use when someone says "run the looplia workflow",
"execute this looplia pipeline", "/run writing-kit", "start the looplia automation", or
"process these workflow steps".
Architecture: One workflow step triggers one general-purpose subagent call, which then
invokes skills to accomplish the step's mission. Each step = separate context window.
Handles sandbox management, per-step orchestration, and validation state tracking.
v0.6.9: Unified general-purpose subagent strategy for all providers (context offload).
/workflow-schema-composerThis skill should be used when the user wants to create a new looplia workflow, generate
a workflow definition file, or compose workflow steps from skill recommendations. Use when
someone says "create a looplia workflow", "generate workflow.md", "compose workflow steps",
"build me an automation pipeline", or "/build" (final step).
Final step in looplia workflow building: transforms skill recommendations into valid v0.7.0
workflow YAML/Markdown files. Each step uses skill: + mission: syntax, following the one
workflow step → one skill-executor → multiple skills architecture.
v0.7.0: Generates explicit `skills:` declaration for selective plugin loading.
v0.6.3: Supports input-less workflows using input-less capable skills (e.g., search).
npx claudepluginhub memorysaver/looplia-core --plugin looplia-coreOther plugins' skills for the same job