Skip to content
ies-flox logo

Ies Flox

ies-flox

FloxHub publication `bmorphism/ies` - a focused development environment

plurigrid/asi0installs67stars

SKILL.md

Full skill instructions

ies-flox

FloxHub publication bmorphism/​ies - a focused development environment for Clojure, Julia, Python, and multimedia with Gay.jl/​Gay.bb deterministic coloring integration.

Interleaving with effective-topos

Propertyies-floxeffective-topos
FocusData/​scriptingSystems/​languages
Packages1062
Man pages59606
Key toolsbabashka, julia, ffmpegguile, ghc, cargo
ColoringGay.bb (Clojure)Gay.jl (Julia)

Connection Points

  • Clojure ↔ Guile: Both Lisps, both support reader macros
  • Julia ↔ OCaml: Both ML-influenced, both have ADTs
  • ffmpeg ↔ imagemagick: Media processing pipelines
  • tailscale ↔ guile-goblins: Distributed networking

Quick Activation

# Activate
flox activate -d ~/​ies

# Environment includes
echo $GAY_SEED      # 69
echo $GAY_PORT      # 42069
echo $GAY_INTERVAL  # 30

Installed Packages (10)

PackageVersionMan PagesDescription
babashka1.12.208bb(1)Clojure scripting
clojure1.12.2.1565clj(1), clojure(1)JVM Lisp
jdk21.0.8java(1) + 45 toolsOpenJDK
julia-bin1.11.7julia(1)Technical computing
ffmpeg7.1.1ffmpeg(1) + 10 toolsMedia processing
python3123.12.11python3(1)Python interpreter
coreutils9.8100+ commandsGNU utilities
tailscale1.88.4tailscale(1)Mesh VPN
enchant22.6.9enchant(1)Spell checking
pkg-config0.29.2pkg-config(1)Build configuration

Babashka (Clojure Scripting)

#!/​usr/​bin/​env bb

;; Fast Clojure scripting without JVM startup
;; Includes: http, json, csv, yaml, sql, shell, fs

(require '[babashka.http-client :as http])
(require '[cheshire.core :as json])

;; HTTP request
(-> (http/​get "https://api.github.com/​users/​bmorphism")
    :body
    (json/​parse-string true)
    :public_repos)

;; File operations
(require '[babashka.fs :as fs])
(fs/​glob "." "**/​*.clj")

;; Shell commands
(require '[babashka.process :as p])
(-> (p/​shell "ls -la") :out slurp)

;; Tasks in bb.edn
{:tasks
 {:build (shell "make")
  :test  (shell "make test")
  :repl  (babashka.nrepl.server/​start-server! {:port 1667})}}

Babashka + Gay Integration

;; gay.bb - deterministic coloring for Clojure
(def gay-seed (parse-long (or (System/​getenv "GAY_SEED") "69")))

(defn splitmix64 [state]
  (let [z (unchecked-add state 0x9e3779b97f4a7c15)]
    [(unchecked-multiply
       (bit-xor z (unsigned-bit-shift-right z 30))
       0xbf58476d1ce4e5b9)
     z]))

(defn gay-color [index seed]
  (let [[h _] (splitmix64 (+ seed index))
        hue (mod (/ (bit-and h 0xFFFF) 65535.0) 1.0)]
    {:hue hue
     :hex (format "#%06X" (bit-and h 0xFFFFFF))}))

Julia Integration

# julia --project=$GAY_MCP_PROJECT
using Gay

# Environment seed
const SEED = parse(Int, get(ENV, "GAY_SEED", "69"))
Gay.set_seed!(SEED)

# Color IES packages
ies_packages = [
    "babashka", "clojure", "jdk", "julia-bin", "ffmpeg",
    "python312", "coreutils", "tailscale", "enchant2", "pkg-config"
]

for (i, pkg) in enumerate(ies_packages)
    color = Gay.color_at(i)
    println("$pkg: $(color.hex)")
end

FFmpeg Quick Reference

# Convert formats
ffmpeg -i input.mov -c:v libx264 output.mp4

# Extract audio
ffmpeg -i video.mp4 -vn -c:a aac audio.m4a

# Resize video
ffmpeg -i input.mp4 -vf scale=1280:720 output.mp4

# Create GIF
ffmpeg -i input.mp4 -vf "fps=10,scale=320:-1" output.gif

# Concatenate
ffmpeg -f concat -i list.txt -c copy output.mp4

# Screen capture (macOS)
ffmpeg -f avfoundation -i "1" -t 10 capture.mp4

# Stream to stdout
ffmpeg -i input.mp4 -f mpegts - | ...

Clojure (JVM)

# Start REPL
clj

# With aliases
clj -A:dev:test

# Run script
clojure -M -m myapp.core

# Dependency tree
clj -Stree

# Execute function
clojure -X:deploy

# deps.edn structure
{:deps {org.clojure/​clojure {:mvn/​version "1.12.0"}}
 :aliases {:dev {:extra-paths ["dev"]}}}

Python Integration

#!/​usr/​bin/​env python3
"""Gay.py - port of Gay.jl for Python"""

def splitmix64(state: int) -> tuple[int, int]:
    z = (state + 0x9e3779b97f4a7c15) & 0xFFFFFFFFFFFFFFFF
    z = ((z ^ (z >> 30)) * 0xBF58476D1CE4E5B9) & 0xFFFFFFFFFFFFFFFF
    z = ((z ^ (z >> 27)) * 0x94D049BB133111EB) & 0xFFFFFFFFFFFFFFFF
    return z ^ (z >> 31), state

def gay_color(index: int, seed: int = 69) -> str:
    h, _ = splitmix64(seed + index)
    return f"#{h & 0xFFFFFF:06X}"

# Color IES packages
packages = ["babashka", "clojure", "jdk", "julia-bin", "ffmpeg"]
for i, pkg in enumerate(packages, 1):
    print(f"{pkg}: {gay_color(i)}")

Services

# From manifest.toml
[services]
gaybb.command = "./​gaybb_daemon.sh"
gaybb.shutdown.command = "pkill -f gaybb_daemon"
# Start Gay.bb daemon
flox services start

# Check status
flox services status

# Stop
flox services stop

Tailscale Integration

# Connect to tailnet
tailscale up

# Check status
tailscale status

# SSH to peer
tailscale ssh hostname

# Serve locally
tailscale serve http://localhost:8080

# Funnel (public internet)
tailscale funnel https://localhost:443

Tailscale + Gay.bb

;; Use tailscale for Gay.bb peer discovery
(require '[babashka.process :as p])

(defn tailscale-peers []
  (-> (p/​shell {:out :string} "tailscale status --json")
      :out
      (json/​parse-string true)
      :Peer
      vals
      (->> (map :HostName))))

(defn broadcast-gay-seed! [seed]
  (doseq [peer (tailscale-peers)]
    (p/​shell (format "tailscale ssh %s 'export GAY_SEED=%d'" peer seed))))

Aliases

# From profile
alias gaybb="bb gay.bb"
alias gaymcp="julia --project=$GAY_MCP_PROJECT $GAY_MCP_PROJECT/​bin/​gay-mcp"

Connection to effective-topos

The ies-flox environment is designed to interoperate with effective-topos:

# Activate both environments
flox activate -d ~/​.topos  # effective-topos (guile, ghc, cargo)
flox activate -d ~/​ies     # ies-flox (bb, julia, ffmpeg)

# Or compose them
cd ~/​ies
flox edit  # Add include:
# [include]
# environments = [{ remote = "bmorphism/​effective-topos" }]

Triadic Workflow

Trit 0 (Analysis):    julia → analyze data
Trit 1 (Transform):   bb → process with Clojure
Trit 2 (Output):      ffmpeg → render media
;; bb pipeline
(defn triadic-pipeline [input-file]
  (let [;; Trit 0: Julia analysis
        analysis (-> (p/​shell {:out :string} 
                       (format "julia -e 'using JSON; println(JSON.json(analyze(\"%s\")))'" 
                               input-file))
                     :out
                     json/​parse-string)
        ;; Trit 1: Clojure transform
        transformed (transform-data analysis)
        ;; Trit 2: FFmpeg render
        _ (p/​shell (format "ffmpeg -i %s -vf 'eq=gamma=%f' output.mp4"
                           input-file
                           (:gamma transformed)))]
    {:analysis analysis
     :output "output.mp4"}))

FloxHub Publication

Scientific Skill Interleaving

This skill connects to the K-Dense-AI/​claude-scientific-skills ecosystem:

Graph Theory

  • networkx [○] via bicomodule
    • Universal graph hub

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.

More skills from plurigrid

cargo logo
plurigrid/asi

cargo

Rust package manager (36 subcommands).

67 0
View

Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma...

67 0
View

**Status**: 🌳 Production Ready (upstream in StringZilla v3+) **Type**: High-Performance String Operations / SIMD-Accelerated Text Processing **Principle**: Zero-copy views, SIMD/SWAR acceleration, deterministic hashing **Frame**: Cross-language interoperability (C, C++, Python, Rust, Go, Swift, ...

67 0
View
conformal-ga logo
plurigrid/asi

conformal-ga

Conformal Geometric Algebra (CGA) for circles, spheres, and Möbius transformations

67 0
View

Verifies code implements exactly what documentation specifies for blockchain audits. Use when comparing code against whitepapers, finding gaps between specs and implementation, or performing compliance checks for protocol implementations.

67 0
View
zig-systems logo
plurigrid/asi

zig-systems

Systems programming and performance optimization using Zig. Provides low-level abstractions, memory-safe compiled code, and performance benchmarking. Use for system-level operations, optimization, and interoperability with C/POSIX APIs.

67 0
View
paypal-mcp logo
plurigrid/asi

paypal-mcp

PayPal MCP server integration for invoices, payments, subscriptions, disputes, and transaction reporting via @paypal/mcp.

67 0
View
unison logo
plurigrid/asi

unison

Unison language - content-addressed functional programming with abilities for effects, distributed computing, and structural types. Use for pure functional code, effect management, distributed systems, and refactoring-safe codebases.

67 0
View
tasks-acset logo
plurigrid/asi

tasks-acset

Google Tasks management via TasksACSet. Transforms task operations into GF(3)-typed Interactions, routes to triadic queues, detects saturation for task-zero-as-condensed-state.

67 0
View
c logo
plurigrid/asi

c

World C Skill

67 0
View
syrup logo
plurigrid/asi

syrup

Syrup binary serialization for OCapN/CapTP wire format. Canonical encoding for capability messages.

67 0
View
skill-installer logo
plurigrid/asi

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

67 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View