natural-transformations

natural-transformations is a skill for Claude Code from parcadei/Continuous-Claude-v3. It costs 13 tokens per session (549 once invoked), scanned A, original, MIT.

A guide to natural transformations, which are structure-preserving maps between mappings in category theory. It explains how to check their defining diagrams and write the checks in Lean 4, a proof assistant.

In plain words
What is it for?
Use it to verify naturality, define natural transformations, check natural isomorphisms, compose transformations, and apply the Yoneda lemma in Lean 4.
Why use it?
It helps you work through abstract category-theory proofs without losing track of the required components, compositions, and commutative diagrams.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to verify naturality, define natural transformations, check natural isomorphisms, compose transformations, and apply the Yoneda lemma in Lean 4.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/parcadei/continuous-claude-v3/natural-transformations
About the project

Continuous-Claude-v3 is a Claude Code development environment that preserves working context between sessions, coordinates specialized agents, and stores project knowledge through ledgers, handoffs, and analysis tools. It is for people using Claude Code on ongoing or complex software work. Its catalogue entries are the skills, agents, hooks, plugin, and setting that provide its workflows and orchestration.

parcadei/Continuous-Claude-v3 · 3,938 stars · on GitHub

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 parcadei/Continuous-Claude-v3 --skill natural-transformations
Clone the repo
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3

Made for: Claude Code.

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 natural-transformations

README.md
[![agentmods](https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/natural-transformations/github.svg)](https://agentmods.dev/skills/parcadei/continuous-claude-v3/natural-transformations)
Your own site
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/natural-transformations"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/natural-transformations/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 natural-transformations

Your own site · 80×15
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/natural-transformations"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/natural-transformations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 549 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 42
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 69
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00013 $0.00549
Opus 5 $0.00006 $0.00275
Sonnet 5 $0.00003 $0.00110
Haiku 4.5 $0.00001 $0.00055

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

Security

Grade A, and why

natural-transformations 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 9d 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.

.claude/skills/math/category-theory/natural-transformations/SKILL.md · 70 lines

What it actually says

Natural Transformations

When to Use

Use this skill when working on natural-transformations problems in category theory.

Decision Tree

  1. Verify Naturality

    • eta: F => G is natural transformation between functors F, G: C -> D
    • For each f: A -> B in C, diagram commutes: G(f) . eta_A = eta_B . F(f)
    • Write Lean 4: theorem nat : η.app B ≫ G.map f = F.map f ≫ η.app A := η.naturality
  2. Component Analysis

    • eta_A: F(A) -> G(A) for each object A
    • Each component is morphism in target category D
    • Lean 4: def η : F ⟶ G where app := fun X => ...
  3. Natural Isomorphism

    • Each component eta_A is isomorphism
    • Functors F and G are naturally isomorphic
    • Notation: F ≅ G (NatIso in Mathlib)
  4. Functor Category

    • [C, D] has functors as objects
    • Natural transformations as morphisms
    • Vertical composition: Lean 4 CategoryTheory.NatTrans.vcomp
    • Horizontal composition: CategoryTheory.NatTrans.hcomp
  5. Yoneda Lemma Application

    • Nat(Hom(A, -), F) ~ F(A) naturally in A
    • Lean 4: CategoryTheory.yonedaEquiv
    • Fully embeds C into [C^op, Set]
    • See: .claude/skills/lean4-nat-trans/SKILL.md for exact syntax

Tool Commands

Lean4_Naturality

# Lean 4: theorem nat : η.app B ≫ G.map f = F.map f ≫ η.app A := η.naturality

Lean4_Nat_Trans

# Lean 4: def η : F ⟶ G where app := fun X => component_X

Lean4_Yoneda

# Lean 4: CategoryTheory.yonedaEquiv -- Yoneda lemma

Lean4_Build

lake build  # Compiler-in-the-loop verification

Cognitive Tools Reference

See .claude/skills/math-mode/SKILL.md for full tool documentation.

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. 9d ago First seen · 70 lines · 13 tokens per session scan A 7d95345ab365

Subscribe to this mod's changes

natural-transformations is a skill published in the GitHub repository parcadei/Continuous-Claude-v3 (3,938 stars, last pushed 7mo ago), licensed MIT. It adds 13 tokens to every session and 549 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.

Related

Other skills, from other repositories

explain-it

Explain technical concepts, mechanisms, and systems to a technically fluent reader who is unfamiliar with the specific topic. Use when asked to explain how something works, walk through an algorithm or protocol, write a deep-dive or onboarding article, answer 'what is X', 'why does X behave this way', 'how does X…

sergeyklay/.agents · 188 tokens

process

CORE learning workflow — use this whenever the user has a source note open (paper, post, book, lecture, course, clipping) and wants to extract knowledge, understand what they just read, or build it into their vault. Triggers on "process this note", "process this paper", "extract concepts", "what can I learn from…

tuan3w/obsidian-vault-agent · 134 tokens

recall

Spaced repetition and retrieval practice engine for the vault. Use when the user wants a review session, recall practice, to test what they remember, or to resurface notes. Triggers on "review session", "what should I review", "recall practice", "resurface notes", "spaced repetition", "quiz me", "what do I know…

tuan3w/obsidian-vault-agent · 88 tokens

lecture

Extract transcript and key slides from a local video file, then create a vault-formatted lecture note. Use this skill whenever a user provides a local video file (.mp4, .mov, .mkv, .avi, .webm) and wants notes from it. Triggers on "lecture", "take notes", "I have a recording of", "class video", "transcribe this…

tuan3w/obsidian-vault-agent · 107 tokens

book-analyzer

Analyze a book (EPUB/PDF) and generate detailed chapter-by-chapter notes with extracted key concepts. Use when given a book file path to process.

tuan3w/obsidian-vault-agent · 36 tokens

fizzy-workflow

Use for guided Fizzy.do workflows: "set up Fizzy", "configure Fizzy for this project", "sync my work to Fizzy", "review my Fizzy progress", "end of session cleanup". Provides step-by-step guidance for common operations.

keskinonur/claude-plugin-fizzy · 57 tokens