recursive-string-diagrams
БесплатноБез исполняемых скриптовНе проверенrecursive-string-diagrams
от plurigrid★ 73 звезды на GitHubОб этом скилле
recursive-string-diagrams
Recursive random string diagram generation with white trapezoid as the atomic skill primitive.
Primitives
| Symbol | Name | Meaning |
|---|---|---|
◁═══▷ |
White Trapezoid | Skill = morphism with typed ports |
∘ |
Compose | Sequential skill chaining |
⊗ |
Tensor | Parallel skill execution |
↺ |
Trace | Feedback loop / recursion |
GF(3) Trit Assignment
Each white trapezoid carries a trit:
- MINUS (-1): Constraining/validating skill
- ERGODIC (0): Neutral/transforming skill
- PLUS (+1): Generating/expanding skill
Conservation: Σ trits ≡ 0 (mod 3) across diagram
Usage
;; Generate random diagram depth 4
(random-diagram 0 4)
;; Render ASCII
(render-ascii diagram 0)
Example Output
⊗ tensor
↺ trace[1]
◁═══▷ [3→2] ergodic
∘ compose
◁═══▷ [2→2] minus
◁═══▷ [3→3] plus
Semantics (Rama Connection)
| String Diagram | Rama Primitive |
|---|---|
| White Trapezoid | ETL topology |
| Compose (∘) | Depot chain |
| Tensor (⊗) | Parallel PStates |
| Trace (↺) | Recursive query |
DisCoPy Integration
from discopy import Ty, Box, Diagram
# White trapezoid as Box
skill = Box('skill', Ty('in'), Ty('out'))
# Compose
d1 >> d2
# Tensor
d1 @ d2
# Trace
d.trace(n)
Skill Creation Protocol
- Seed: White trapezoid with
[inputs → outputs] - Recurse: Apply random
{∘, ⊗, ↺}up to depth - Color: Assign GF(3) trits, verify conservation
- Render: ASCII or DisCoPy SVG
- Save: Write to
~/.claude/skills/<name>/SKILL.md
Related
discopy- String diagram libraryacsets- Algebraic databasesrama-gay-clojure- Rama + GF(3) colors
Установить recursive-string-diagrams в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл recursive-string-diagrams?
recursive-string-diagrams
Как установить скилл recursive-string-diagrams?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл recursive-string-diagrams запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic