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

catp

Category-theoretic pipes with GF(3) flow balance checking. Validates data transformation pipelines using triadic trit algebra.

インストール方法を見る

含まれるファイル(5)

  • SKILL.md2.2 KB
  • catp.bb2.6 KB
  • CONCOMITANT_SKILLS.md1.2 KB
  • demo.bb794 B
  • SKILL.md.bak1.7 KB

SKILL.md(原文)

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

catp: Categorical Pipes

Trit: +1 (PLUS)
Principle: Balanced data flows through morphism chains
Algebra: GF(3) flow conservation

Why GF(3)?

Three-phase data flow:

  • Source (-1): Read/Fetch ingestion
  • Transform (0): Shape-preserving operations
  • Sink (+1): Write/Output operations

Sum must = 0 (mod 3) for balanced pipeline.

Operations by Trit

TritCategoryOperations
-1MINUS (Sources)slurp, read, fetch, query, search, list
0ERGODIC (Transforms)map, filter, select, rename, mutate, reduce, join, group-by
+1PLUS (Sinks)println, print, write, save, spit, create, send

Usage

# Check balance of a pipe
bb catp.bb --check '(->> [1 2 3] (map inc) (filter odd?) (reduce +))'

# Output:
# Operations: map %>% filter %>% reduce
# Trits: {"map" 0, "filter" 0, "reduce" 0}
# Sum: 0 (mod 3 = 0)
# GF(3) Balanced: ✓

Example: Unbalanced Pipeline

;; WRONG: Two transforms, one sink (missing source)
(->> (map inc)           ; 0
     (filter odd?)       ; 0
     (reduce +))         ; 0
     
; Sum: 0 ✓ (looks balanced but logically missing source!)

Example: Properly Balanced

;; CORRECT: Source → Transform → Sink
(->> [1 2 3]             ; implicit source (-1)
     (map inc)           ; transform (0)
     (filter odd?)       ; transform (0)
     (println))          ; sink (+1)

; GF(3): -1 + 0 + 0 + 1 = 0 ✓

End-of-Skill Interface

Integration Points

  • babashka (->> threading)
  • drive-acset (query chains)
  • l-space (narrative pipes)
  • dplyr %>% (R interop)

Autopoietic Marginalia

The interaction IS the skill improving itself.

Every use of this skill is an opportunity for worlding:

  • MEMORY (-1): Record what was learned
  • REMEMBERING (0): Connect patterns to other skills
  • WORLDING (+1): Evolve the skill based on use

Add Interaction Exemplars here as the skill is used.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

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 のスキルをすべて見る

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