abductive-repl
Hypothesis-Test Loops via REPL for Exploratory Abductive Inference with Gay.jl colors
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-abductive-repl
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
Use cases: testing, ml
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/abductive-repl
What's inside
- Skill name
abductive-repl- Description
- Hypothesis-Test Loops via REPL for Exploratory Abductive Inference with Gay.jl colors
- License
- MIT
- Instructions
- 129 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# abductive-repl
> Hypothesis-Test Loops via REPL for Exploratory Abductive Inference
**Version**: 1.1.0 (music-topos enhanced)
**Trit**: 0 (Ergodic - coordinates inference)
**Bundle**: repl
## Overview
Abductive-REPL enables exploratory abductive reasoning through an interactive REPL. Given observed outcomes, it generates hypotheses, tests them, and refines understanding through iterative loops.
## Core Concept
```
Observation → Generate Hypotheses → Test → Refine → Repeat
Abduction: Given effect E and rule "A implies E",
hypothesize A as possible cause.
```
## Enhanced Integration: Interpreters
### Julia (Gay.jl) - Primary
```julia
# Start abductive REPL with Gay.jl
julia --project=Gay.jl -e 'using Gay; Gay.repl()'
# In REPL:
gay> !abduce 216 125 157
# Searches invader space for color match
```
### Hy (HyJAX) - Secondary
```hy
;; thread_relational_hyjax.hy integration
(import lib.thread_relational_hyjax :as tra)
(defn abduce-from-color [r g b]
"Abduce invader ID from observed RGB"
(let [target [r g b]
analyzer (tra.ThreadRelationalAnalyzer)]
;; Search hypothesis space
(lfor id (range 1 10000)
:if (color-match? id target 0.05)
{:hypothesis id :confidence (- 1.0 (color-distance id target))})))
```
### Babashka (bb) - Scripting
```clojure
;; abductive_repl.bb
(require '[babashka.process :refer [shell]])
(defn abduce [observed-color]
(let [result (shell {:out :string}
"julia" "--project=Gay.jl" "-e"
(format "using Gay; Gay.abduce(RGB(%s))"
(clojure.string/join "," observed-color)))]
(parse-hypotheses (:out result))))
```
## REPL Commands Enhanced
| Command | Description | Interpreter |
|---------|-------------|-------------|
| `!teleport <id>` | Jump to invader's world state | Julia |
| `!abduce r g b` | Infer invader from observed RGB | Julia/Hy |
| `!test [n]` | Run n abductive roundtrip tests | Julia |
| `!hy-analyze` | Run HyJAX relational analysis | Hy |
| `!bb-export` | Export hypotheses via Babashka | Babashka |
## Properties (Testable Predicates)
```ruby
# world_broadcast.rb integration
module AbductiveProperties
def self.spi_determinism(id, seed)
# Same input always produces same output
c1 = WorldBroadcast::CondensedAnima.liquid_norm([id], r: 0.5)
c2 = WorldBroadcast::CondensedAnima.liquid_norm([id], r: 0.5)
c1 == c2
end
def self.abductive_roundtrip(id, seed)
# Forward → Abduce → Verify
forward = CondensedAnima.analytic_stack([id])
cellular = CondensedAnima.to_cellular_sheaf(forward)
cellular[:vertices].include?(id)
end
end
```
## GF(3) Triad Integration
| Trit | Skill | Role |
|------|-------|------|
| -1 | slime-lisp | Validates REPL expressions |
| 0 | **abductive-repl** | Coordinates inference |
| +1 | cider-clojure | Generates evaluations |
**Conservation**: (-1) + (0) + (+1) = 0 ✓
## Justfile Recipes
```makefile
# Start abductive REPL
abduce-repl:
julia --project=Gay.jl -e 'using Gay; Gay.repl()'
# Run via Hy
abduce-hy:
uv run hy -c '(import lib.thread_relational_hyjax) (print "HyJAX ready")'
# Babashka roundtrip test
abduce-bb-test n="100":
bb -e '(println "Abductive tests:" {{n}})'From plurigrid/asi, MIT.
More from plurigrid/asi
- 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.514score
code-review
plurigrid
Automated code review for pull requests using specialized review patterns.
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
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
koopman-generator
plurigrid
Koopman operator theory for infinite-dimensional linear lifting of nonlinear dynamics.
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.508score
color-envelope-preserving
plurigrid
GF(3) color envelope preservation across navigator compositions
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
agent-o-rama
plurigrid
Layer 4 Learning and Pattern Extraction for Cognitive Surrogate Systems
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
entropy-sequencer
plurigrid
Layer 5 Interaction Interleaving for Maximum Information Gain with DuckDB
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
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
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
koopman-generator
plurigrid
Koopman operator theory for infinite-dimensional linear lifting of nonlinear dynamics.
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
Cite this page
abductive-repl skill. Agent Mart. https://agentmart.dev/skills/plurigrid-abductive-repl (last updated 2026-10-24)