uv-discohy
UV/UVX/Ruff toolchain for DiscoHy Thread Operad with Python packaging and linting
Skill by plurigrid
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/plurigrid-uv-discohy
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/uv-discohy
What's inside
- Skill name
uv-discohy- Description
- UV/UVX/Ruff toolchain for DiscoHy Thread Operad with Python packaging and linting
- License
- MIT
- Instructions
- 336 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# UV-DiscoHy Skill: Modern Python Tooling for Thread Operads
**Status**: ✅ Production Ready
**Trit**: 0 (ERGODIC - toolchain neutral)
**Toolchain**: uv + uvx + ruff
**Package**: music-topos with discohy_thread_operad
---
## Overview
This skill provides the **uv/uvx/ruff** toolchain integration for the DiscoHy Thread Operad system. It enables:
1. **Fast dependency management** via uv (10-100x faster than pip)
2. **One-shot tool execution** via uvx (no install required)
3. **Modern linting/formatting** via ruff (replaces black, isort, flake8)
4. **Python packaging** via pyproject.toml with hatchling
## Quick Start
```bash
# Initialize the environment
just uv-init
# Run the DiscoHy operad demo
just uv-discohy
# Lint and format
just uv-lint
just uv-format
# Run with specific variant
just uv-discohy-variant 2-transducer
```
## UV Commands
### Package Management
```bash
# Create virtual environment and install dependencies
uv venv
uv pip install -e ".[dev]"
# Add a dependency
uv pip install discopy>=1.1.0
# Sync all dependencies from pyproject.toml
uv pip sync pyproject.toml
# Show dependency tree
uv pip tree
```
### UVX: One-Shot Tool Execution
```bash
# Run ruff without installing
uvx ruff check src/
# Run pytest without installing
uvx pytest tests/
# Run a specific version
uvx --python 3.12 ruff check src/
```
## Ruff Configuration
From `pyproject.toml`:
```toml
[tool.ruff]
target-version = "py311"
line-length = 100
indent-width = 4
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
```
### Ruff Commands
```bash
# Check for issues
ruff check src/ lib/
# Auto-fix issues
ruff check --fix src/
# Format code
ruff format src/
# Check and format in one pass
ruff check --fix src/ && ruff format src/
```
## DiscoHy Thread Operad Integration
### Python API
```python
from discohy_thread_operad import (
RootedColorOperad,
ThreadOperadNode,From plurigrid/asi, MIT.
More from plurigrid/asi
- 0.514score
code-review
plurigrid
Automated code review for pull requests using specialized review patterns.
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
jepsen-testing
plurigrid
Jepsen-style correctness testing for distributed systems under faults (partitions, crashes, clock skew) using concurrent operation histories and formal…
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
skill-creator
plurigrid
Guide for creating effective skills.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
bmorphism-stars
plurigrid
bmorphism's GitHub stars (2155 repos) and created repos - a curated index of applied category theory, MCP servers, and xenomodern tooling.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
bisimulation-game
plurigrid
Bisimulation game for resilient skill dispersal across AI agents with GF(3) conservation and observational bridge types.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
lhott-cohesive-linear
plurigrid
Cohesive Linear HoTT patterns for interaction entropy with diagram generation.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
koopman-generator
plurigrid
Koopman operator theory for infinite-dimensional linear lifting of nonlinear dynamics.
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
cognitive-surrogate
plurigrid
Layer 6 Barton Cognitive Surrogate - build, train, validate psychological models with >90% fidelity
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
influence-propagation
plurigrid
Layer 7 Interperspectival Network Analysis and Influence Flow
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
abductive-repl
plurigrid
Hypothesis-Test Loops via REPL for Exploratory Abductive Inference with Gay.jl colors
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
entropy-sequencer
plurigrid
Layer 5 Interaction Interleaving for Maximum Information Gain with DuckDB
SkillDFreshness: D★ 70Claude Code +9 - 0.508score
constraint-generalization
plurigrid
Generalization and composition of constraints across navigators
SkillDFreshness: D★ 70Claude Code +9
Signals
- Stars
- 70
- Forks
- 13
- Open issues
- 3
- Last commit (this folder)
- Dec 22, 2025 (10 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/plurigrid/asi
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from plurigrid
- 0.514score
code-review
plurigrid
Automated code review for pull requests using specialized review patterns.
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
jepsen-testing
plurigrid
Jepsen-style correctness testing for distributed systems under faults (partitions, crashes, clock skew) using concurrent operation histories and formal…
SkillDFreshness: D★ 70Claude Code +9 - 0.514score
skill-creator
plurigrid
Guide for creating effective skills.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
bisimulation-game
plurigrid
Bisimulation game for resilient skill dispersal across AI agents with GF(3) conservation and observational bridge types.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
lhott-cohesive-linear
plurigrid
Cohesive Linear HoTT patterns for interaction entropy with diagram generation.
SkillDFreshness: D★ 70Claude Code +9 - 0.511score
koopman-generator
plurigrid
Koopman operator theory for infinite-dimensional linear lifting of nonlinear dynamics.
SkillDFreshness: D★ 70Claude Code +9
Cite this page
uv-discohy skill. Agent Mart. https://agentmart.dev/skills/plurigrid-uv-discohy (last updated 2026-10-24)