proofgeneral-narya

proofgeneral-narya is a skill for Claude Code from plurigrid/asi. It costs 25 tokens per session (1,921 once invoked), scanned A, original, MIT.

A development setup for Proof General and Narya, tools for writing and checking formal mathematical proofs. Narya focuses on higher-dimensional type theory, a way to describe complex relationships between objects and their transformations.

In plain words
What is it for?
Use it to write, process, step through, and revise Narya proofs inside Emacs.
Why use it?
It helps you inspect proof state, move through commands, and check formal reasoning instead of tracking proof progress manually.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the topos-skills plugin — 29 skills shipped together

Good fit Use it to write, process, step through, and revise Narya proofs inside Emacs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plurigrid/asi/proofgeneral-narya
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 proofgeneral-narya
Clone the repo
git clone --depth 1 https://github.com/plurigrid/asi

Made for: Claude Code.

Or install topos-skills, the plugin that ships this one along with the rest of its 29 skills.

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 proofgeneral-narya

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/plurigrid/asi/proofgeneral-narya"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/proofgeneral-narya.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,921 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.00025 $0.01921
Opus 5.5 $0.00010 $0.00768
Sonnet 5.5 $0.00005 $0.00384
Haiku 4.5 $0.00003 $0.00192

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

Security

Grade A, and why

proofgeneral-narya 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 1mo 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/.claude-marketplaces/topos-skills/plugins/topos-skills/skills/proofgeneral-narya/SKILL.md · 207 lines

How it starts

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

ProofGeneral + Narya Skill

"Observational type theory: where equality is what you can observe, not what you can prove."

Overview

This skill combines:

  • Proof General (543⭐): The universal Emacs interface for proof assistants
  • Narya (225⭐): Higher-dimensional type theory proof assistant

Proof General Basics

;; Install via straight.el or package.el
(use-package proof-general
  :mode ("\\.v\\'" . coq-mode)
  :config
  (setq proof-splash-enable nil
        proof-three-window-mode-policy 'hybrid))

Key Bindings

Key Action Description
C-c C-n proof-assert-next-command-interactive Step forward
C-c C-u proof-undo-last-successful-command Step backward
C-c C-RET proof-goto-point Process to cursor
C-c C-b proof-process-buffer Process entire buffer
C-c C-. proof-goto-end-of-locked Jump to locked region end

Proof State Visualization

┌─────────────────────────────────────────────────────────────┐
│  ████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  │
│  ▲ Locked (proven)   ▲ Processing      ▲ Unprocessed       │
│                                                             │
│  GF(3) Trit Mapping:                                        │
│    Locked    → +1 (LIVE)     → Red    #FF0000              │
│    Processing → 0  (VERIFY)  → Green  #00FF00              │
│    Unprocessed → -1 (BACKFILL) → Blue #0000FF              │
└─────────────────────────────────────────────────────────────┘

Narya: Higher-Dimensional Type Theory

Narya is a proof assistant for higher observational type theory (HOTT).

Key Features

  1. Observational Equality: Bridge types computed inductively from type structure
  2. Higher Dimensions: Support for 2-cells, 3-cells, etc.
  3. No Interval Type: Unlike cubical type theory, no explicit interval

Narya Syntax

-- Define a type
def Nat : Type := data [
  | zero : Nat
  | suc : Nat → Nat
]

-- Bridge type between values
def bridge (A : Type) (x y : A) : Type := x ≡ y

-- Transport along bridge
def transport (A : Type) (P : A → Type) (x y : A) (p : x ≡ y) : P x → P y
  := λ px. subst P p px

Read the full file on GitHub · 207 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. 1mo ago First seen · 207 lines · 25 tokens per session scan A 8e11116c9c85

Subscribe to this mod's changes

proofgeneral-narya is a skill published in the GitHub repository plurigrid/asi (70 stars, last pushed 3mo ago), licensed MIT. It adds 25 tokens to every session and 1,921 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

Other skills, from other repositories

lean-formalize

Develop and verify a mathematical proof in Lean, continue an incomplete Lean project, or audit whether it proves the original statement. Connect actual inputs to intermediate lemmas, assemble the target theorem, check its transitive axioms, and provide a reproducible handoff. Use when Lean is requested or a specific…

wanshuiyin/Auto-claude-code-research-in-sleep · 81 tokens

tooluniverse-organic-chemistry

Organic chemistry reasoning guide for reaction product prediction, mechanism analysis (electrophilic/nucleophilic substitution, addition, elimination, pericyclic, radical), and spectroscopy interpretation (1H/13C NMR, IR, MS). Reasons from first principles (electron flow, kinetic vs thermodynamic) rather than…

mims-harvard/ToolUniverse · 86 tokens

build-interactive-explainers

A guide for building interactive explainers, calculators, and simulations driven by an executable model. Users change inputs, steps, states, or events to understand a rule or see how a process develops over time.

EverMind-AI/Raven · 102 tokens

edu-chem-reaction

A guide for turning a chemical reaction into a self-contained interactive 3D web demonstration. It shows molecules changing while also displaying the balanced equation, explanations, atom counts, and optionally an energy curve.

wy51ai/edulab · 495 tokens

scaffold-exercises

Scaffold a graded problem set with sections, problems, worked solutions, and short "why this matters" explainers across analytical, empirical, and coding types. Use when user says "make a problem set on X", "scaffold exercises for this lecture", "create practice problems", "generate homework with a solution key"…

pedrohcgs/claude-code-my-workflow · 101 tokens

anatomy-quiz-master

Generate interactive anatomy quizzes for medical education with multiple.

aipoch/medical-research-skills · 17 tokens