universal-captp-derivation

Universal CapTP Derivation Skill

16 stars

Best use case

universal-captp-derivation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Universal CapTP Derivation Skill

Teams using universal-captp-derivation should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/universal-captp-derivation/SKILL.md --create-dirs "https://raw.githubusercontent.com/plurigrid/asi/main/plugins/asi/skills/universal-captp-derivation/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/universal-captp-derivation/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How universal-captp-derivation Compares

Feature / Agentuniversal-captp-derivationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Universal CapTP Derivation Skill

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Universal CapTP Derivation Skill

Traces capability derivation chains through 3×3 expert poset with GF(3) conservation.

## Core Principle

> **A capability IS the (seed, index) tuple. Expertise IS the trit alignment.**

## 3×3 Expert Poset Structure

| Layer | Validator (-1) | Coordinator (0) | Generator (+1) | Domain |
|-------|----------------|-----------------|----------------|--------|
| 1 | Jules Hedges | John Baez | Fabrizio Genovese | categorical-games |
| 2 | David Egolf | Mike Shulman | sarahzrf | sheaf-theory |
| 3 | Betweenness | Mantissa | ModalNoah | neural-categorical |

## Derivation Chains

```
capability(-1) → vat(0) → invoke(+1)     [spawn-lifecycle]
membrane(-1)   → netlayer(0) → lambda(+1) [invoke-path]
handoff(-1)    → syrup(0) → sturdy_ref(+1) [transfer-path]
revoke(-1)     → promise(0) → goblin(+1)   [revoke-path]
```

## Superposition States

Each capability exists in superposition across expert domains:
- **generator-dominant**: Red channel highest (trit=+1)
- **coordinator-dominant**: Green channel highest (trit=0)
- **validator-dominant**: Blue channel highest (trit=-1)
- **superposed**: Balanced RGB

## GF(3) Conservation

```
Term Σ + Expert Σ ≡ 0 (mod 3)
```

Current state: **COHERENT** (residue = 0)

## Commands

```bash
# Trace derivation chains
python3 -c "import duckdb; c=duckdb.connect('culture_evolution.duckdb'); print(c.execute('SELECT * FROM derivation_chains').df())"

# View expert triads
python3 -c "import duckdb; c=duckdb.connect('culture_evolution.duckdb'); print(c.execute('SELECT * FROM expert_triads').df())"

# Query NOW superposition
python3 -c "import duckdb; c=duckdb.connect('culture_evolution.duckdb'); print(c.execute('SELECT * FROM now_superposition').df())"

# Universal skill derivation
python3 -c "import duckdb; c=duckdb.connect('culture_evolution.duckdb'); print(c.execute('SELECT * FROM universal_skill_derivation LIMIT 20').df())"
```

## Integration Points

| Database | Table/View | Purpose |
|----------|------------|---------|
| culture_evolution.duckdb | derivation_chains | CapTP flow traces |
| culture_evolution.duckdb | expert_triads | 3×3 expert poset |
| culture_evolution.duckdb | capability_poset | Lattice structure |
| culture_evolution.duckdb | now_superposition | Current state |
| culture_evolution.duckdb | universal_skill_derivation | Full matrix |
| gh_interactome.duckdb | captp_third_party_contributions | Contributor mapping |

## Key Files

- [lib/culture_alter.rb](../../lib/culture_alter.rb) - Stigmergic evolution
- [lib/color_capability.rb](../../lib/color_capability.rb) - CapTP goblin swarm
- [lib/interactome_open_games.rb](../../lib/interactome_open_games.rb) - Expert triads
- [scripts/culture_games.rb](../../scripts/culture_games.rb) - Culture × Open Games

## Trit Assignments

| Trit | Role | Color Channel | Experts |
|------|------|---------------|---------|
| -1 | Validator | Blue | Hedges, Egolf, Betweenness |
| 0 | Coordinator | Green | Baez, Shulman, Mantissa |
| +1 | Generator | Red | Genovese, sarahzrf, ModalNoah |



## 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.