本文へ移動
cccskills
無料GitHub で公開

active-interleave

Interleaves context from recently active Claude/Amp threads into current activity via random walk.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md3.1 KB
  • active.bb7.2 KB
  • CONCOMITANT_SKILLS.md1.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Active Interleave Skill

Interleaves context from recently active Claude/Amp threads into current activity via random walk.

bmorphism Contributions

"all is bidirectional" — @bmorphism, Play/Coplay gist

Active Inference Pattern: The interleave implements Active Inference in String Diagrams epistemic foraging — actively sampling from recent contexts to minimize uncertainty about the current task. Each random walk step is an epistemic action that gathers information.

Play/Coplay Duality: The interleave embodies bmorphism's bidirectional principle:

  • Play (action): Query recent threads, walk the awareness graph
  • Coplay (perception): Integrate fragments, update current context

GF(3) Balanced Exploration: The triadic structure (MINUS/ERGODIC/PLUS) ensures balanced exploration — validation filters (MINUS), random walk explores (ERGODIC), and colored emission generates (PLUS). Conservation Σ = 0 maintains coherence.

Activation

Load when context from recent work would help current task.

Usage

# Interleave from last 24 hours
bb ~/.claude/skills/active-interleave/active.bb

# Interleave from last N hours
bb ~/.claude/skills/active-interleave/active.bb --hours 6

# Query-focused interleave
bb ~/.claude/skills/active-interleave/active.bb --query "aptos blockchain"

# JSON output
bb ~/.claude/skills/active-interleave/active.bb --json

Behavior

  1. MINUS (-1): Validate recency window, filter to active threads only
  2. ERGODIC (0): Random walk through recent sessions following awareness edges
  3. PLUS (+1): Emit interleaved fragments with GF(3) coloring

GF(3) Conservation

Each interleave batch maintains Σ trits ≡ 0 (mod 3).

Integration

Call from current thread to surface relevant recent context:

;; In any bb script
(require '[babashka.process :refer [shell]])
(def context (-> (shell {:out :string} "bb" (str (System/getProperty "user.home") 
                 "/.claude/skills/active-interleave/active.bb") "--json")
                 :out))

Schema

Reads from ~/worldnet/cognition.duckdb:

  • messages - Content with timestamps
  • sessions - Session metadata
  • awareness_edges - Play/coplay graph
  • temporal_index - Time-ordered index

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Model ElevenLabs voice synthesis as an ACSet schema with Unison ability handlers for typed voice operations. Use when integrating ElevenLabs TTS into category-theoretic pipelines, building typed voice synthesis workflows, or managing multi-voice narration with GF(3) conservation.

日本語の概要は準備中です。原文の説明を表示しています。

plurigrid/asi672026年7月10日 更新

Systematic process for analyzing and modernizing legacy applications to comply with the 12-Factor App methodology. Covers code analysis, configuration externalization, dependency management, and container/Kubernetes best practices.

日本語の概要は準備中です。原文の説明を表示しています。

plurigrid/asi672026年7月10日 更新

13c0e3

無料

Gay MCP skill at invocation 26

日本語の概要は準備中です。原文の説明を表示しています。

plurigrid/asi672026年7月10日 更新

19d57d

無料

Gay MCP skill at invocation 5

日本語の概要は準備中です。原文の説明を表示しています。

plurigrid/asi672026年7月10日 更新

1ea91a

無料

Gay MCP skill at invocation 27

日本語の概要は準備中です。原文の説明を表示しています。

plurigrid/asi672026年7月10日 更新

1eab21

無料

Gay MCP skill at invocation 3

日本語の概要は準備中です。原文の説明を表示しています。

plurigrid/asi672026年7月10日 更新

plurigrid のスキルをすべて見る

このスキルの問題を報告する