self-validation-loop

Run self-validation loops for triadic color systems using prediction vs observation and error minimization.

16 stars

Best use case

self-validation-loop is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Run self-validation loops for triadic color systems using prediction vs observation and error minimization.

Teams using self-validation-loop should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/self-validation-loop/SKILL.md --create-dirs "https://raw.githubusercontent.com/plurigrid/asi/main/ies/music-topos/.claude-marketplaces/topos-skills/plugins/topos-skills/skills/self-validation-loop/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/self-validation-loop/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How self-validation-loop Compares

Feature / Agentself-validation-loopStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Run self-validation loops for triadic color systems using prediction vs observation and error minimization.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Self-Validation Loop

Use when training or evaluating self-validation for 3-stream color systems.

## Inputs
- seed, indices
- sources: splitmix_ternary, xoroshiro_3color, gay_mcp
- comparator: reafference or comparator

## Workflow
1. Predict expected colors (efference copy).
2. Observe actual colors (color_at or stream generation).
3. Compare predictions with observations.
4. Aggregate accuracy and surprise.

## Gay MCP tools
- gay_seed, efference_copy, color_at, reafference, comparator, active_inference, self_model

## Metrics
- accuracy = matches / total
- surprise = mismatch count or summed error
- pass threshold: accuracy >= 0.99 or surprise == 0

## Output
- JSON log with seed, indices, predicted, observed, errors, accuracy, surprise

## Example prompt
"Run a self-validation loop over indices 1..20 and report accuracy and surprise."

Related Skills

skill-validation-gf3

16
from plurigrid/asi

Skill Validation GF(3) - SLAVE (-1)

merkle-proof-validation

16
from plurigrid/asi

Merkle Proof Validation Skill

implementing-runtime-application-self-protection

16
from plurigrid/asi

Deploy Runtime Application Self-Protection (RASP) agents to detect and block attacks from within application runtime, covering OpenRASP integration, attack pattern detection, and security policy configuration for Java and Python web applications.

implementing-continuous-security-validation-with-bas

16
from plurigrid/asi

Deploy Breach and Attack Simulation tools to continuously validate security control effectiveness by safely emulating real-world attack techniques across the kill chain.

implementing-api-schema-validation-security

16
from plurigrid/asi

Implement API schema validation using OpenAPI specifications and JSON Schema to enforce input/output contracts and prevent injection, data exposure, and mass assignment attacks.

self-evolving-agent

16
from plurigrid/asi

Darwin Gödel Machine patterns for self-improving AI agents with open-ended code evolution. Use for building agents that autonomously improve their own capabilities, modify their codebases, and evolve through interaction.

codex-self-rewriting

16
from plurigrid/asi

Lisp machine self-modification patterns via MCP Tasks and Narya bridge types

type-inference-validation

16
from plurigrid/asi

Static type inference and validation for navigation paths

zx-calculus

16
from plurigrid/asi

Coecke's ZX-calculus for quantum circuit reasoning via string diagrams with Z-spiders (green) and X-spiders (red)

zulip-cogen

16
from plurigrid/asi

Zulip Cogen Skill 🐸⚡

zls-integration

16
from plurigrid/asi

zls-integration skill

zig

16
from plurigrid/asi

zig skill