covariant-fibrations

covariant-fibrations is a skill for Claude Code, Codex from plurigrid/asi. It costs 29 tokens per session (954 once invoked), scanned A, original, MIT.

A type-system method for moving values through one-way relationships while preserving the rules of their types. A type family is a group of related types that can change with context.

In plain words
What is it for?
It is for checking directed transport, composition, and dependent types in formal category-theory systems.
Why use it?
It helps verify that data transported along directed links remains valid and that chained movements compose correctly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for checking directed transport, composition, and dependent types in formal category-theory systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plurigrid/asi/covariant-fibrations
Install

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.

Any agent
npx skills add plurigrid/asi --skill covariant-fibrations
Clone the repo
git clone --depth 1 https://github.com/plurigrid/asi

Made for: Claude Code, Codex.

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

agentmods badge for covariant-fibrations

README.md
[![agentmods](https://agentmods.dev/badge/skills/plurigrid/asi/covariant-fibrations/github.svg)](https://agentmods.dev/skills/plurigrid/asi/covariant-fibrations)
Your own site
<a href="https://agentmods.dev/skills/plurigrid/asi/covariant-fibrations"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/covariant-fibrations/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.

agentmods 80×15 button for covariant-fibrations

Your own site · 80×15
<a href="https://agentmods.dev/skills/plurigrid/asi/covariant-fibrations"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/covariant-fibrations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 954 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00954
Opus 5 $0.00015 $0.00477
Sonnet 5 $0.00006 $0.00191
Haiku 4.5 $0.00003 $0.00095

Measured 7d ago against content hash 69230030df52, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

covariant-fibrations 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 7d 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.

ies/music-topos/.ruler/skills/covariant-fibrations/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Covariant Fibrations Skill: Directed Transport

Status: ✅ Production Ready Trit: -1 (MINUS - validator/constraint) Color: #2626D8 (Blue) Principle: Type families respect directed morphisms Frame: Covariant transport along 2-arrows


Overview

Covariant Fibrations are type families B : A → U where transport goes with the direction of morphisms. In directed type theory, this ensures type families correctly propagate along the directed interval 𝟚.

  1. Directed interval 𝟚: Type with 0 → 1 (not invertible)
  2. Covariant transport: f : a → a' induces B(a) → B(a')
  3. Segal condition: Composition witness for ∞-categories
  4. Fibration condition: Lift existence (not uniqueness)

Core Formula

For P : A → U covariant fibration:
  transport_P : (f : Hom_A(a, a')) → P(a) → P(a')
  
Covariance: transport respects composition
  transport_{g∘f} = transport_g ∘ transport_f
-- Directed type theory (Narya-style)
covariant_fibration : (A : Type) → (P : A → Type) → Type
covariant_fibration A P = 
  (a a' : A) → (f : Hom A a a') → P a → P a'

Key Concepts

1. Covariant Transport

-- Transport along directed morphisms
cov-transport : {A : Type} {P : A → Type} 
              → is-covariant P
              → {a a' : A} → Hom A a a' → P a → P a'
cov-transport cov f pa = cov.transport f pa

-- Functoriality
cov-comp : cov-transport (g ∘ f) ≡ cov-transport g ∘ cov-transport f

2. Cocartesian Lifts

-- Cocartesian lift characterizes covariant fibrations
is-cocartesian : {E B : Type} (p : E → B) 
               → {e : E} {b' : B} → Hom B (p e) b' → Type
is-cocartesian p {e} {b'} f = 
  Σ (e' : E), Σ (f̃ : Hom E e e'), (p f̃ ≡ f) × is-initial(f̃)

3. Segal Types with Covariance

-- Covariant families over Segal types
covariant-segal : (A : Segal) → (P : A → Type) → Type
covariant-segal A P = 
  (x y z : A) → (f : Hom x y) → (g : Hom y z) →
  cov-transport (g ∘ f) ≡ cov-transport g ∘ cov-transport f

Read the full file on GitHub · 111 lines

Changes

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.

  1. 7d ago First seen · 111 lines · 29 tokens per session scan A 69230030df52

Subscribe to this mod's changes

covariant-fibrations is a skill published in the GitHub repository plurigrid/asi (62 stars, last pushed 2mo ago), licensed MIT. It adds 29 tokens to every session and 954 once invoked, about $0.0001 per session on Opus 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.