binder-modeling

binder-modeling is a skill for Claude Code, Codex from mpazik/Binder. It costs 74 tokens per session (3,564 once invoked), scanned A, original, MIT.

A way to design a binder workspace’s data structure: entity types, fields, relationships, rules, views, and navigation.

In plain words
What is it for?
Creating types and fields, setting constraints and relations, defining views and navigation, and rendering entities as files.
Why use it?
It keeps schema changes organized as recorded data and supports consistent references between related entities.

Skill for Claude CodeCodex

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/mpazik/binder/binder-modeling
Any agent
npx skills add mpazik/Binder --skill binder-modeling
Clone the repo
git clone --depth 1 https://github.com/mpazik/Binder

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 binder-modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/mpazik/binder/binder-modeling.svg)](https://agentmods.dev/skills/mpazik/binder/binder-modeling)
Your own site
<a href="https://agentmods.dev/skills/mpazik/binder/binder-modeling"><img src="https://agentmods.dev/badge/skills/mpazik/binder/binder-modeling.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,564 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.00074 $0.03564
Opus 5 $0.00037 $0.01782
Sonnet 5 $0.00015 $0.00713
Haiku 4.5 $0.00007 $0.00356

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

Security

Grade A, and why

binder-modeling 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 3d 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/binder-modeling/SKILL.md · 335 lines

How it starts

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

Binder Data Modeling

Schema is stored as data — types and fields are config entities that evolve through transactions.

Core Concepts

  • Field — first-class schema element (name, data type, constraints). Shared across types (RDF-style)
  • Type — organizes entities and applies field constraints. Any entity can have any field
  • Transaction — atomic changes to multiple entities. Schema changes use binder tx import

Namespaces

  • Record — user data. References use UIDs
  • Config — schema (Fields, Types, Attributes). References use immutable keys
  • Transaction — append-only audit log

Defining Fields

Fields exist independently of types. Define in a transaction YAML and import with binder tx import:

- author: system
  configs:
    - key: priority
      type: Field
      name: Priority
      dataType: option
      options: [low, medium, high]
      default: medium

    - key: assignee
      type: Field
      name: Assignee
      dataType: relation
      range: [User]

Defining Types

Types compose fields with optional per-type constraints:

- author: system
  configs:
    - key: Task
      type: Type
      name: Task
      fields:
        - title: { required: true }
        - status: { default: active, only: [draft, active, complete] }
        - priority
        - parent: { only: [Task] }
        - children: { only: [Task] }

Constraints: required, default, only: [...], exclude: [...].

Relations

Use inverseOf for bidirectional sync. See references/relations.md for patterns and storage details.

1:MallowMultiple side declares inverseOf, single-value side stores data:

    - key: parent
      type: Field
      dataType: relation
    - key: children
      type: Field
      dataType: relation
      allowMultiple: true
      inverseOf: parent

M:M — both sides allowMultiple, both store data:

    - key: relatesTo
      type: Field
      dataType: relation
      allowMultiple: true
      inverseOf: relatesTo

Read the full file on GitHub · 335 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 335 lines · 74 tokens per session scan A 58b7ca942038

Subscribe to this mod's changes

binder-modeling is a skill published in the GitHub repository mpazik/Binder (40 stars, last pushed 11d ago), licensed MIT. It adds 74 tokens to every session and 3,564 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

engraphis-memory

Give the agent durable, scoped, explainable memory across sessions and repositories through the Engraphis MCP tools. Use when you learn a convention, decision, bug cause/fix, or user preference worth keeping; when prior context would help before you answer or act (to avoid re-asking or re-deriving); when asked "why is…

Coding-Dev-Tools/engraphis · 134 tokens

encyclopedia-writing

Encyclopedic neutral-reference writing craft — NPOV (attribute facts not opinions, due weight, neutral faction labels, verdict restraint), summary style and Coatrack avoidance, wikilink conventions (link density, first-mention, slug alias, abbreviation glossing). Use when writing or reviewing a neutral…

alfadur7/llm-wiki-newsroom · 95 tokens

guideline-writing

Guideline-authoring craft for instruction SoTs (.claude/ guides, CLAUDE.md, plan files) — operative rules vs recital, MUST/SHOULD/MAY force tiers, pruning, bloat control, blind review protocol, deliberation-narrative ban. Use when writing, editing, or reviewing an agent instruction file, policy, runbook, command SoT…

alfadur7/llm-wiki-newsroom · 99 tokens

journalism-writing

Journalism and argumentation writing craft — inverted pyramid, lede, nut graph, kicker, explainer framing, PAGE frames, Toulmin argument (claim/rebuttal/qualifier), Hegelian dialectic, BBC due impartiality. Use when writing or reviewing news/explainer pieces, landscape overviews, or issue analyses that fairly…

alfadur7/llm-wiki-newsroom · 95 tokens

scholarly-citation

Verifiable-attribution and citation-discipline craft — atomic claim decomposition, evidence grading (primary/analysis/forecast tiers), claimant attribution, citation typing (cites/references/contradicts/defines), source anchoring (Xanadu). Use when writing or reviewing a reference or synthesis page that attributes and…

alfadur7/llm-wiki-newsroom · 92 tokens

consulting-writing

Management-consulting writing craft — McKinsey SCR (Situation·Complication·Resolution), Minto Pyramid/MECE, BCG bold-bullet executive summary, so-what upfront, numeric precision, Forrester Landscape. Use when writing or reviewing an executive summary for decision-makers or a roll-up/landscape overview, or when a…

alfadur7/llm-wiki-newsroom · 91 tokens