binder-cli

A command-line interface for Binder, a Markdown-based knowledge graph that stores connected records and their relationships. It supports reading, searching, creating, updating, and deleting records, as well as inspecting schemas and managing transactions.

In plain words
What is it for?
Use it to search records, inspect schemas, create or update entries, import transaction files, view recent changes, and undo transactions in a Binder workspace.
Why use it?
It gives you one terminal tool for working with Binder data and for reviewing or undoing batches of changes. This avoids handling each record manually.

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

Made for: Claude Code, Codex.

Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,945 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.00060 $0.01945
Opus 5 $0.00030 $0.00972
Sonnet 5 $0.00012 $0.00389
Haiku 4.5 $0.00006 $0.00194

Measured yesterday against content hash 22f537a8f856, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

binder-cli 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 yesterday.

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-cli/SKILL.md · 191 lines

How it starts

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

Binder CLI

Binder is a Markdown-native knowledge graph. The CLI is the primary interface for all operations.

Run binder --help or binder <command> --help for full usage details.

Quick Reference

binder read <ref>                                   # Read a record
binder search type=Task status=active               # Search records
binder schema --types Task                           # Inspect schema
binder create <Type> field=value [field=value...]    # Create a record
binder update <ref> field=value [field=value...]     # Update fields
binder delete <ref>                                  # Delete a record
binder tx import -d file.yaml                        # Dry-run a transaction file
binder tx import file.yaml                           # Apply a transaction file
binder tx log --limit 5                              # Recent transactions
binder undo [N]                                      # Undo last N transactions

Global options: -C <path> cwd, -q quiet, --format output format, -n namespace.

Reading

read

binder read <ref> [--format yaml|json] [-f fields]

Ref: id (numeric), uid (e.g. 6VI6iLYBQUg), or key (e.g. type/field keys Task, status, or a record key like example-task).

Use -f/--fields to include or traverse relations inline — same syntax as search.

search

binder search type=Task status=active       # Filter by field values
binder search "some text"                   # Full-text search
binder search type=Task -f partOf(title)    # Include fields from related records
binder search type=Task -o '!priority'      # Order by (! = descending)
binder search type=Task --limit 10          # Limit results

Options:

  • --formatjson, jsonl, yaml, csv, tsv
  • -n, --namespacerecord (default) or config
  • -f, --fields — include specific fields or traverse relations. title,status includes those fields. partOf(title,status) follows the partOf relation and includes title and status from the related record. Use relatesTo[type=Task](title) to filter relation targets by type before traversal.
  • -o, --orderBy — sort (prefix ! for descending)
  • --limit — max results

Read the full file on GitHub · 191 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. yesterday First seen · 191 lines · 60 tokens per session scan A 22f537a8f856

Subscribe to this mod's changes

binder-cli is a skill published in the GitHub repository mpazik/Binder (40 stars, last pushed 9d ago), licensed MIT. It adds 60 tokens to every session and 1,945 once invoked, about $0.0003 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