using-dinf

using-dinf is a skill for Claude Code, Codex from sancovp/dinf. It costs 118 tokens per session (1,464 once invoked), scanned A, original, MIT.

A framework for describing how parts combine into a complete structure, using the notation ⟨parts | Ω⟩. It defines three operations—FACTOR, ADJOIN, and CHRISTEN—and mentions a command-line tool called dinf.

In plain words
What is it for?
It is for analyzing and constructing teaching materials, frameworks, plans, and jokes using its notation and three operations.
Why use it?
It provides shared terms for analyzing whether a plan or explanation has a complete ending, including when parts have not been joined. The excerpt does not give enough detail to describe the command-line tool's full behavior.

Skill for Claude CodeCodex

Part of the dinf plugin — 26 skills shipped together

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.

agentmods
npx agentmods add skills/sancovp/dinf/using-dinf
Any agent
npx skills add sancovp/dinf --skill using-dinf
Clone the repo
git clone --depth 1 https://github.com/sancovp/dinf

Made for: Claude Code, Codex.

Or install dinf, the plugin that ships this one along with the rest of its 26 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 using-dinf

README.md
[![agentmods](https://agentmods.dev/badge/skills/sancovp/dinf/using-dinf.svg)](https://agentmods.dev/skills/sancovp/dinf/using-dinf)
Your own site
<a href="https://agentmods.dev/skills/sancovp/dinf/using-dinf"><img src="https://agentmods.dev/badge/skills/sancovp/dinf/using-dinf.svg" alt="Measured on agentmods" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,464 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00118 $0.01464
Opus 5 $0.00059 $0.00732
Sonnet 5 $0.00024 $0.00293
Haiku 4.5 $0.00012 $0.00146

Measured 5d ago against content hash ebe1edeb5597, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

using-dinf 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 5d 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.

skills/using-dinf/SKILL.md · 112 lines

How it starts

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

using-dinf

⊥ (the simplest instance — start here): a joke. The setup lays out parts; the punchline adds nothing new — it only re-shows what the setup already contained, and the whole thing lands at once. That click is the target experience of every structure below. If you have ever gotten a joke, you already run this natively.

The basis (five marks)

⟨ a ; b ; c | Ω ⟩
  1. Working terms a ; b ; c — the k parts that DO things. Each one nameable.
  2. The bar | — the jurisdiction line. Left of it: action. Right of it: never action.
  3. The closure Ω — the +1. Three laws identify it anywhere:
    • Stative — a state or a delta, never a step.
    • Zero-delta — introduces nothing the working terms didn't contain; it may only recombine and re-show them. (A punchline with new information is setup.)
    • Self-referential — the structure applied to itself.
  4. Nesting — any working term expands into its own full structure. Depth is free.
  5. Succession — a closure retypes as the next structure's opening, Ω₁ ↦ ⊥₂.

The construction (three operators, and how to run them)

  • FACTOR — find Ω by the three laws; what remains is k. If a system resists factoring, it is either a segment (its opening lives one level up) or genuinely incomplete — and you now know exactly what it is missing.

    dinf factor "the hero's journey"
    
  • ADJOIN — two frames fighting is a missing Ω one level up. Do not adjudicate: pair them and close the pair, ⟨ A ; B | Ω′ ⟩. Both views survive.

    dinf adjoin "move fast" "don't break things"
    
  • CHRISTEN — the moment you feel "these are all the same", name the invariant and write it down. Unnamed convergences evaporate; named ones become vocabulary. The kb/ directory in the AIOS is that vocabulary, and it only grows.

The gate (why this is not just a way of talking)

A chain is the notation in executable form: [Focus] ⇒ [Focus] ⇒ |Converge|. Bare labels in the brackets, exactly one closing convergence.

Read the full file on GitHub · 112 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. 5d ago First seen · 112 lines · 118 tokens per session scan A ebe1edeb5597

Subscribe to this mod's changes

using-dinf is a skill published in the GitHub repository sancovp/dinf (1 stars, last pushed 28d ago), licensed MIT. It adds 118 tokens to every session and 1,464 once invoked, about $0.0006 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-08-31.