categories-functors

categories-functors is a skill for Claude Code from parcadei/Continuous-Claude-v3. It costs 15 tokens per session (559 once invoked), scanned A, original, MIT.

A guide to categories and functors in category theory. Categories contain objects and arrows, while functors map those objects and arrows between categories while preserving their structure.

In plain words
What is it for?
Use it to verify category axioms, check functor properties, identify functor types, and formalize category-theory results with Mathlib.
Why use it?
It helps turn abstract definitions into checks and Lean 4 proofs, including identities, composition, and common types of functors.

Skill for Claude Code

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

Good fit Use it to verify category axioms, check functor properties, identify functor types, and formalize category-theory results with Mathlib.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/parcadei/continuous-claude-v3/categories-functors
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,953 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 categories-functors
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 categories-functors

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/categories-functors"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/categories-functors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 559 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 43
    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 65
    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.00015 $0.00559
Opus 5.5 $0.00006 $0.00224
Sonnet 5.5 $0.00003 $0.00112
Haiku 4.5 $0.00002 $0.00056

Measured 2mo ago against content hash be2ae6a09d47, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

categories-functors 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 2mo 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/categories-functors/SKILL.md · 66 lines

What it actually says

Categories Functors

When to Use

Use this skill when working on categories-functors problems in category theory.

Decision Tree

  1. Verify Category Axioms

    • Objects and morphisms (arrows) defined?
    • Identity morphism for each object: id_A: A -> A
    • Composition associative: (f . g) . h = f . (g . h)
    • Write Lean 4: theorem assoc : (f ≫ g) ≫ h = f ≫ (g ≫ h) := Category.assoc
  2. Check Functor Properties

    • F: C -> D maps objects to objects, arrows to arrows
    • Preserves identity: F(id_A) = id_{F(A)}
    • Preserves composition: F(g . f) = F(g) . F(f)
    • Write Lean 4: theorem comp : F.map (g ≫ f) = F.map g ≫ F.map f := F.map_comp
  3. Functor Types

    • Covariant: preserves arrow direction
    • Contravariant: reverses arrow direction
    • Faithful/Full: injective/surjective on Hom-sets
    • Equivalence: full, faithful, essentially surjective
  4. Common Functors

    • Forgetful functor: forgets structure (e.g., Grp -> Set)
    • Free functor: left adjoint to forgetful
    • Hom functor: Hom(A, -) or Hom(-, B)
    • Power set functor: Set -> Set via X |-> P(X)
  5. Verify with Lean 4

    • Compiler-in-the-loop: write proof, lake build checks
    • Mathlib has full category theory library
    • See: .claude/skills/lean4-functors/SKILL.md for exact syntax

Tool Commands

Lean4_Category

# Lean 4 with Mathlib: import CategoryTheory.Category.Basic

Lean4_Functor

# Lean 4: theorem map_comp (F : C ⥤ D) : F.map (g ≫ f) = F.map g ≫ F.map f := F.map_comp

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. 2mo ago First seen · 66 lines · 15 tokens per session scan A be2ae6a09d47

Subscribe to this mod's changes

categories-functors is a skill published in the GitHub repository parcadei/Continuous-Claude-v3 (3,953 stars, last pushed 14d ago), licensed MIT. It adds 15 tokens to every session and 559 once invoked, about $0.0001 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.

Related

categories-functors compared with skills from other repositories

categories-functors next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
categories-functorsparcadei/Continuous-Claude-v3Skill4.0k14d agoMITA15Claude Code
explain-itsergeyklay/.agentsSkill65d agoApache-2.0A188Claude Code, Codex
processtuan3w/obsidian-vault-agentSkill448mo agoMITA134Claude Code
lecturetuan3w/obsidian-vault-agentSkill448mo agoMITA107Claude Code
recalltuan3w/obsidian-vault-agentSkill448mo agoMITA88Claude Code
self-learningychampion/claude-self-learningSkill917d agononeA54Claude Code
book-analyzertuan3w/obsidian-vault-agentSkill448mo agoMITB36Claude Code