julia-gay
Gay.jl integration for deterministic color generation. SplitMix64 RNG, GF(3) trits, and SPI-compliant fingerprints in Julia.
Best use case
julia-gay is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Gay.jl integration for deterministic color generation. SplitMix64 RNG, GF(3) trits, and SPI-compliant fingerprints in Julia.
Teams using julia-gay 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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/julia-gay/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How julia-gay Compares
| Feature / Agent | julia-gay | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Gay.jl integration for deterministic color generation. SplitMix64 RNG, GF(3) trits, and SPI-compliant fingerprints in Julia.
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
# Julia Gay Skill
**Trit**: +1 (PLUS - generative color computation)
**Foundation**: Gay.jl + SplitMix64 + SPI
## Core Concept
Gay.jl provides:
- Deterministic color from seed + index
- GF(3) trit classification
- SPI-compliant parallel fingerprints
- Wide-gamut color space support
## API
```julia
using Gay
# Color at index
color = color_at(seed, index)
# => (r=0.65, g=0.32, b=0.88)
# Palette generation
palette = Gay.palette(seed, 5)
# Trit classification
trit = Gay.trit(color) # => -1, 0, or +1
# XOR fingerprint
fp = Gay.fingerprint(colors)
```
## SPI Guarantees
```julia
# Strong Parallelism Invariance
@assert fingerprint(colors_thread1) ⊻ fingerprint(colors_thread2) ==
fingerprint(vcat(colors_thread1, colors_thread2))
```
## Ergodic Bridge
```julia
using Gay: ErgodicBridge
# Create time-color bridge
bridge = create_bridge(seed, n_colors)
# Verify bidirectionally
verify_bridge(bridge)
# Detect obstructions
obstructions = detect_obstructions(seed, n_samples)
```
## Canonical Triads
```
bisimulation-game (-1) ⊗ acsets (0) ⊗ julia-gay (+1) = 0 ✓
sheaf-cohomology (-1) ⊗ bumpus-narratives (0) ⊗ julia-gay (+1) = 0 ✓
spi-parallel-verify (-1) ⊗ triad-interleave (0) ⊗ julia-gay (+1) = 0 ✓
```
## Julia Scientific Package Integration
From `julia-scientific` skill - related Julia packages for color/visualization:
| Package | Use | julia-scientific Category |
|---------|-----|---------------------------|
| **Colors.jl** | Color types, conversions | Visualization |
| **ColorSchemes.jl** | Predefined palettes | Visualization |
| **Makie.jl** | GPU-accelerated vis with color | Visualization |
| **CairoMakie.jl** | Publication-quality with color | Visualization |
| **AlgebraOfGraphics.jl** | Grammar-of-graphics + color | Visualization |
| **Catlab.jl** | ACSets + color labeling | Data Science |
| **Gay.jl** | Core deterministic colors | Core |
### Bridge to Scientific Domains
```julia
# Molecular visualization with deterministic colors
using Gay, MolecularGraph, CairoMakie
mol = smilestomol("CCO")
atom_colors = [Gay.color_at(seed, i) for i in 1:natoms(mol)]
visualize_molecule(mol, colors=atom_colors)
# Single-cell UMAP with Gay.jl cluster colors
using Gay, SingleCellProjections, CairoMakie
clusters = cluster(adata)
cluster_colors = Gay.palette(seed, n_clusters)
scatter(umap_coords, color=cluster_colors[cluster_labels])
```
## See Also
- `gay-mcp` - MCP server for color generation
- `triad-interleave` - 3-stream scheduling
- `world-hopping` - Badiou possible world navigation
- `julia-scientific` - Full Julia package mapping (137 skills)
## Scientific Skill Interleaving
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
### Visualization
- **matplotlib** [○] via bicomodule
- Hub for all visualization
### Bibliography References
- `general`: 734 citations in bib.duckdb
## Cat# Integration
This skill maps to **Cat# = Comod(P)** as a bicomodule in the equipment structure:
```
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
```
### GF(3) Naturality
The skill participates in triads satisfying:
```
(-1) + (0) + (+1) ≡ 0 (mod 3)
```
This ensures compositional coherence in the Cat# equipment structure.Related Skills
julia-scientific
Julia package equivalents for 137 K-Dense-AI scientific skills. Maps Python bioinformatics, chemistry, ML, quantum, and data science packages to native Julia ecosystem.
gay-julia
Wide-gamut color sampling with splittable determinism using Pigeons.jl
quarto-julia
Quarto + Julia Skill
jepsen-testing
Jepsen-style correctness testing for distributed systems under faults (partitions, crashes, clock skew) using concurrent operation histories and formal checkers (linearizability/serializability and Elle-style anomalies). Use when designing, implementing, or running Jepsen tests, or interpreting histories/violations.
Deterministic Color Generation via Metadata Hashing
**Status**: ✅ Production Ready
cyton-dongle
Connect and stream from OpenBCI Cyton/Daisy via USB dongle, including first-time radio channel pairing
asi-transient-agenda
Org-agenda-like transient views for ASI skill orchestration via nbb/squint + Emacs hydra
Topological Superintelligence (TSI)
Compositional AI framework using GF(3) triadic balance and category-theoretic foundations.
zx-calculus
Coecke's ZX-calculus for quantum circuit reasoning via string diagrams with Z-spiders (green) and X-spiders (red)
zulip-cogen
Zulip Cogen Skill 🐸⚡
zls-integration
zls-integration skill
zig
zig skill