entropy-sequencer
Layer 5 Interaction Interleaving for Maximum Information Gain with DuckDB
Skill by plurigrid
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/plurigrid-entropy-sequencer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/entropy-sequencer
What's inside
- Skill name
entropy-sequencer- Description
- Layer 5 Interaction Interleaving for Maximum Information Gain with DuckDB
- License
- MIT
- Instructions
- 150 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# entropy-sequencer
> Layer 5: Interaction Interleaving for Maximum Information Gain
**Version**: 1.1.0 (music-topos enhanced)
**Trit**: 0 (Ergodic - coordinates information flow)
**Bundle**: core
## Overview
Entropy-sequencer arranges interaction sequences to maximize learning efficiency. Instead of chronological replay, it reorders interactions to maximize information gain at each step, enabling 3x faster pattern learning.
## Enhanced Integration: DuckDB + Hy
### DuckDB SQL Backend
```sql
-- Compute entropy for message sequences
WITH message_features AS (
SELECT
message_id,
LENGTH(content) as msg_length,
LAG(LENGTH(content)) OVER (ORDER BY timestamp) as prev_length
FROM messages
WHERE thread_id = ?
),
entropy_scores AS (
SELECT
message_id,
ABS(msg_length - COALESCE(prev_length, msg_length)) as surprise
FROM message_features
)
SELECT
SUM(LN(surprise + 1)) as total_entropy
FROM entropy_scores;
```
### Hy Implementation
```hy
;; From thread_relational_hyjax.hy
(defn entropy-maximized-interleave [messages]
"Arrange messages to maximize information gain at each step."
(setv remaining (list messages))
(setv result [])
(setv current-entropy 0.0)
(while remaining
(setv best-idx 0)
(setv best-gain -1000.0)
(for [i (range (len remaining))]
(setv candidate (+ result [(get remaining i)]))
(setv gain (information-gain candidate current-entropy))
(when (> gain best-gain)
(setv best-gain gain)
(setv best-idx i)))
(setv best-msg (.pop remaining best-idx))
(.append result best-msg)
(setv current-entropy (compute-message-entropy result)))
{:sequence result
:final-entropy current-entropy
:message-count (len result)})
```
### Ruby Integration
```ruby
# lib/world_broadcast.rb extension
module EntropySequencer
def self.greedy_max_entropy(interactions, seed: 0x42D)
remaining = interactions.dup
sequence = []
context = []
while remaining.any?
best_idx = 0
best_gain = -Float::INFINITY
remaining.each_with_index do |interaction, i|
gain = conditional_entropy(interaction, context)
if gain > best_gain
best_gain = gain
best_idx = i
end
end
best = remaining.delete_at(best_idx)
sequence << best
context << best
end
sequence
end
def self.conditional_entropy(item, context)
return 1.0 if context.empty?
# Entropy = log of variance from context mean
mean = context.sum.to_f / context.size
variance = (item - mean).abs
Math.log(variance + 1)
end
end
```
## Interleaving Strategies
| Strategy | Predictability | Info Gain |
|----------|----------------|-----------|
| Sequential | 0.85 (high) | 1.0x |
| Entropy-Maximized | 0.23 (low) | 3.2x |
| Topic-Switched | 0.45 (medium) | 2.1x |
| Network-Flow | 0.55 | 1.8x |
## GF(3) Triad Integration
| Trit | Skill | Role |From plurigrid/asi, MIT.
More from plurigrid/asi
- 0.514score
skill-creator
plurigrid
Guide for creating effective skills.
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
code-review
plurigrid
Automated code review for pull requests using specialized review patterns.
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
jepsen-testing
plurigrid
Jepsen-style correctness testing for distributed systems under faults (partitions, crashes, clock skew) using concurrent operation histories and formal…
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
koopman-generator
plurigrid
Koopman operator theory for infinite-dimensional linear lifting of nonlinear dynamics.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
bmorphism-stars
plurigrid
bmorphism's GitHub stars (2155 repos) and created repos - a curated index of applied category theory, MCP servers, and xenomodern tooling.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
lhott-cohesive-linear
plurigrid
Cohesive Linear HoTT patterns for interaction entropy with diagram generation.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
bisimulation-game
plurigrid
Bisimulation game for resilient skill dispersal across AI agents with GF(3) conservation and observational bridge types.
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
cognitive-surrogate
plurigrid
Layer 6 Barton Cognitive Surrogate - build, train, validate psychological models with >90% fidelity
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
abductive-repl
plurigrid
Hypothesis-Test Loops via REPL for Exploratory Abductive Inference with Gay.jl colors
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
influence-propagation
plurigrid
Layer 7 Interperspectival Network Analysis and Influence Flow
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
constraint-generalization
plurigrid
Generalization and composition of constraints across navigators
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
cyton-dongle
plurigrid
Connect and stream from OpenBCI Cyton/Daisy via USB dongle, including first-time radio channel pairing
SkillDFreshness: D★ 70Claude Code +9
Signals
- Stars
- 70
- Forks
- 13
- Open issues
- 3
- Last commit (this folder)
- Dec 22, 2025 (10 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/plurigrid/asi
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from plurigrid
- 0.514score
code-review
plurigrid
Automated code review for pull requests using specialized review patterns.
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
jepsen-testing
plurigrid
Jepsen-style correctness testing for distributed systems under faults (partitions, crashes, clock skew) using concurrent operation histories and formal…
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
skill-creator
plurigrid
Guide for creating effective skills.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
bisimulation-game
plurigrid
Bisimulation game for resilient skill dispersal across AI agents with GF(3) conservation and observational bridge types.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
lhott-cohesive-linear
plurigrid
Cohesive Linear HoTT patterns for interaction entropy with diagram generation.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
koopman-generator
plurigrid
Koopman operator theory for infinite-dimensional linear lifting of nonlinear dynamics.
SkillDFreshness: D★ 70Claude Code +9
Cite this page
entropy-sequencer skill. Agent Mart. https://agentmart.dev/skills/plurigrid-entropy-sequencer (last updated 2026-10-24)