跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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/asi702026年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/asi702026年7月10日 更新

13c0e3

免费

Gay MCP skill at invocation 26

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

19d57d

免费

Gay MCP skill at invocation 5

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

1ea91a

免费

Gay MCP skill at invocation 27

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

1eab21

免费

Gay MCP skill at invocation 3

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

查看 plurigrid 的全部技能

报告此技能的问题