cargo
Rust package manager (36 subcommands).
Full skill instructions
"The Yoneda lemma is arguably the most important result in category theory." — Emily Riehl
Category Theory in Programming (CTP) by NoahStoryM - Racket tutorial mapping abstract CT concepts to programming constructs with GF(3) colored awareness.
Source: NoahStoryM/ctp
Docs: docs.racket-lang.org/ctp
Local: .topos/ctp/
| # | Chapter | Trit | Color | Status |
|---|---|---|---|---|
| 1 | Category | +1 | #E67F86 | ✓ Complete |
| 2 | Functor | -1 | #D06546 | ✓ Complete |
| 3 | Natural Transformation | 0 | #1316BB | ✓ Complete |
| 4 | Yoneda Lemma | +1 | #BA2645 | Planned |
| 5 | Higher Categories | -1 | #49EE54 | Planned |
| 6 | (Co)Limits | 0 | #11C710 | Planned |
| 7 | Adjunctions | +1 | #76B0F0 | Planned |
| 8 | (Co)Monads | -1 | #E59798 | Planned |
| 9 | CCC & λ-calculus | 0 | #5333D9 | Planned |
| 10 | Toposes | +1 | #7E90EB | Planned |
| 11 | Kan Extensions | -1 | #1D9E7E | Planned |
GF(3) Sum: (+1) + (-1) + (0) + (+1) + (-1) + (0) + (+1) + (-1) + (0) + (+1) + (-1) = 0 ✓ BALANCED
Nat(Hom(A, -), F) ≅ F(A)
Every object is completely determined by its relationships to all other objects.
Located in .topos/ctp/scribblings/code/:
Set.rkt - Category of setsRel.rkt - Category of relationsProc.rkt - Category of proceduresPair.rkt - Product categoryMatr.rkt - Matrix categoriesList.rkt - List monoid as categoryNat.rkt - Natural numbersDFA.rkt - Deterministic finite automataNFA.rkt - Nondeterministic finite automataTDFA.rkt - Typed DFASet->Rel.rkt - Set to Relation functorP_*.rkt, P^*.rkt, P_!.rkt - Powerset functorsSliF.rkt, coSliF.rkt - Slice functors# Install CTP package
cd .topos/ctp && raco pkg install
# Build documentation
raco setup --doc-index ctp
# Open docs
open doc/ctp/index.html
| CTP Concept | Music-Topos Implementation |
|---|---|
| Category | ACSets schema |
| Functor | Geometric morphism |
| Natural Transformation | Schema migration |
| Yoneda | Representable presheaves |
| Limits | Pullbacks in DuckDB |
| Adjunctions | Galois connections |
| Monads | Computation contexts |
When reading CTP files, each touched file gets a deterministic color:
# Track file access with Gay.jl colors
seed = 1069
files_touched = []
def touch_file(path, index)
color = gay_color_at(seed, index)
files_touched << { path: path, color: color, trit: color[:trit] }
end
Current session colors (seed=1069):
#E67F86 (+1) - info.rkt#D06546 (-1) - main.rkt#1316BB (0) - ctp.scrbl#BA2645 (+1) - category/main.scrbl#49EE54 (-1) - functor/main.scrbl#11C710 (0) - natural transformation/#76B0F0 (+1) - code examples# View CTP docs
just ctp-docs
# Run CTP examples
just ctp-examples
# Verify GF(3) coloring
just ctp-colors
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
category-theory: 139 citations in bib.duckdbThis skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:
Trit: 0 (ERGODIC)
Home: Presheaves
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
The skill participates in triads satisfying:
(-1) + (0) + (+1) ≡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.
Rust package manager (36 subcommands).
Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma...
**Status**: 🌳 Production Ready (upstream in StringZilla v3+) **Type**: High-Performance String Operations / SIMD-Accelerated Text Processing **Principle**: Zero-copy views, SIMD/SWAR acceleration, deterministic hashing **Frame**: Cross-language interoperability (C, C++, Python, Rust, Go, Swift, ...
Conformal Geometric Algebra (CGA) for circles, spheres, and Möbius transformations
Verifies code implements exactly what documentation specifies for blockchain audits. Use when comparing code against whitepapers, finding gaps between specs and implementation, or performing compliance checks for protocol implementations.
Systems programming and performance optimization using Zig. Provides low-level abstractions, memory-safe compiled code, and performance benchmarking. Use for system-level operations, optimization, and interoperability with C/POSIX APIs.
Topological soliton detection and agency bridge with anyonic fusion algebra for concept composition
PayPal MCP server integration for invoices, payments, subscriptions, disputes, and transaction reporting via @paypal/mcp.
Unison language - content-addressed functional programming with abilities for effects, distributed computing, and structural types. Use for pure functional code, effect management, distributed systems, and refactoring-safe codebases.
Google Tasks management via TasksACSet. Transforms task operations into GF(3)-typed Interactions, routes to triadic queues, detects saturation for task-zero-as-condensed-state.
World C Skill
Syrup binary serialization for OCapN/CapTP wire format. Canonical encoding for capability messages.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience