Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add plurigrid/asi --skill sheaf-laplacian-coordinationgit clone --depth 1 https://github.com/plurigrid/asiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/plurigrid/asi/sheaf-laplacian-coordination)<a href="https://agentmods.dev/skills/plurigrid/asi/sheaf-laplacian-coordination"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/sheaf-laplacian-coordination/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/plurigrid/asi/sheaf-laplacian-coordination"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/sheaf-laplacian-coordination.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.02235 |
| Opus 5.5 | $0.00019 | $0.00894 |
| Sonnet 5.5 | $0.00009 | $0.00447 |
| Haiku 4.5 | $0.00005 | $0.00224 |
Grade A, and why
sheaf-laplacian-coordination scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 283 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sheaf Laplacian Coordination
Trit: 0 (ERGODIC - coordinator) Color: Green (#26D826)
Overview
Implements sheaf neural network coordination using graph Laplacians for:
- Distributed consensus via sheaf diffusion
- Harmonic extension/restriction operators
- Spectral clustering on sheaf sections
- Multi-agent coordination with vector space representations
Key Papers
- Sheaf Neural Networks - Hansen & Gebhart 2020
- Neural Sheaf Diffusion - Bodnar et al. 2022
- Cooperative Sheaf Neural Networks - Ribeiro et al. 2025
- Sheaf Diffusion Goes Nonlinear - Zaghen et al. 2024
Core Concepts
Sheaf Laplacian
The sheaf Laplacian generalizes the graph Laplacian by associating vector spaces to nodes and linear maps to edges:
L_F = D^\top D
where D is the coboundary operator:
(Df)_e = F_{e,t} f_t - F_{e,s} f_s
F_{e,v} : F(v) → F(e) (restriction maps)
Diffusion Process
Sheaf diffusion for consensus:
\frac{dx}{dt} = -L_F x
At equilibrium: L_F x = 0 (harmonic sections)
In/Out Degree Laplacians (Cooperative SNNs)
For directed graphs with cooperative behavior:
L_{in} = D_{in}^\top D_{in} (gathering information)
L_{out} = D_{out}^\top D_{out} (conveying information)
API
Python Implementation
import torch
import torch.nn as nn
class SheafLaplacian(nn.Module):
"""Learnable sheaf Laplacian for graph coordination."""
def __init__(self, num_nodes, stalk_dim, edge_index):
super().__init__()
self.num_nodes = num_nodes
self.stalk_dim = stalk_dim
self.edge_index = edge_index
# Learnable restriction maps F_{e,v}
num_edges = edge_index.shape[1]
self.restriction_maps = nn.Parameter(
torch.randn(num_edges, 2, stalk_dim, stalk_dim)
)
def build_laplacian(self):
"""Construct sheaf Laplacian from restriction maps."""
L = torch.zeros(
self.num_nodes * self.stalk_dim,
self.num_nodes * self.stalk_dim
)
for e, (s, t) in enumerate(self.edge_index.T):
F_es = self.restriction_maps[e, 0] # Source restriction
F_et = self.restriction_maps[e, 1] # Target restriction
# Add edge contribution to Laplacian
# L[s,s] += F_es^T F_es, L[t,t] += F_et^T F_et
# L[s,t] -= F_es^T F_et, L[t,s] -= F_et^T F_es
return L
def diffuse(self, x, steps=10, dt=0.1):
"""Run sheaf diffusion for consensus."""
L = self.build_laplacian()
for _ in range(steps):
x = x - dt * (L @ x)
return x
def harmonic_extension(self, boundary_values, boundary_mask):
"""Extend boundary values harmonically."""
L = self.build_laplacian()
# Solve L_interior x_interior = -L_boundary x_boundary
return solve_harmonic(L, boundary_values, boundary_mask)
class CooperativeSheafNN(nn.Module):
"""Cooperative SNN with in/out degree control."""
def __init__(self, in_dim, hidden_dim, out_dim, edge_index):
super().__init__()
self.sheaf = SheafLaplacian(
num_nodes=edge_index.max() + 1,
stalk_dim=hidden_dim,
edge_index=edge_index
)
self.encoder = nn.Linear(in_dim, hidden_dim)
self.decoder = nn.Linear(hidden_dim, out_dim)
# Cooperative gates: control gather vs convey
self.gather_gate = nn.Parameter(torch.ones(1))
self.convey_gate = nn.Parameter(torch.ones(1))
def forward(self, x, edge_index):
h = self.encoder(x)
# Cooperative diffusion
h_diffused = self.sheaf.diffuse(h)
# Apply cooperative gates
h_out = self.gather_gate * h + self.convey_gate * h_diffused
return self.decoder(h_out)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 283 lines · 47 tokens per session scan A 4433a09bae52
sheaf-laplacian-coordination is a skill published in the GitHub repository plurigrid/asi (73 stars, last pushed 1mo ago), licensed MIT. It adds 47 tokens to every session and 2,235 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
sheaf-laplacian-coordination compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sheaf-laplacian-coordinationplurigrid/asi | Skill | 73 | 1mo ago | MIT | A | 47 | Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 331k | 5d ago | MIT | A | 21 | Claude Code |