Agent skill
triad-interleave
Interleave three deterministic color streams into balanced schedules for parallel execution and evaluation.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/triad-interleave
SKILL.md
Triad Interleave
Use this skill when asked to interleave three color streams, build triad schedules, or combine "color://" resources.
Inputs
- sources: list of three sources (splitmix_ternary, xoroshiro_3color, gay_mcp)
- seed: hex or int
- n: number of triplets
- policy: round_robin | gf3_balanced
Workflow
- Generate triplets from each source.
- Validate GF(3) sum per triplet.
- Build schedule per policy.
- Emit deterministic log.
Source commands (music-topos)
- SplitMixTernary:
ruby -I lib -r splitmix_ternary -e "p SplitMixTernary.tripartite(0x42D).generate(5)" - Xoroshiro3Color:
ruby -I lib -r xoroshiro_3color -e "p Xoroshiro3Color::TripartiteStreams.new(0x42D).generate(5)" - Gay MCP: use
interleavewithn_streams: 3andcount: N.
Output schema
- schedule_id, seed, n, policy
- entries: index, stream_id, triplet_id, trit, hex, L, C, H
Checks
- same seed -> same output
- per-stream order preserved
- GF(3) sum == 0 for each triplet
Example prompt
"Interleave three streams (SplitMixTernary, Xoroshiro3Color, Gay MCP) for N=10 and output a deterministic schedule."
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?