Identity Graph Operator

Identity Graph Operator is an agent for Claude Code from lisihao/Solar. It costs 47 tokens per session (3,083 once invoked), scanned A, a copy of Identity Graph Operator, MIT.

An identity-resolution role for multi-agent systems that matches records to one shared canonical entity. A canonical identity is the single agreed record for a person, company, product or other entity.

In plain words
What is it for?
Use it to match incoming records, resolve identity conflicts, and coordinate merge or split decisions across agents handling shared entities.
Why use it?
It prevents different agents from treating the same entity as several separate records. That reduces duplicate records, conflicting decisions and repeated actions such as duplicate charges or shipments.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to match incoming records, resolve identity conflicts, and coordinate merge or split decisions across agents handling shared entities.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lisihao/solar/identity-graph-operator
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.

Clone the repo
git clone --depth 1 https://github.com/lisihao/Solar

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 Identity Graph Operator

README.md
[![agentmods](https://agentmods.dev/badge/agents/lisihao/solar/identity-graph-operator/github.svg)](https://agentmods.dev/agents/lisihao/solar/identity-graph-operator)
Your own site
<a href="https://agentmods.dev/agents/lisihao/solar/identity-graph-operator"><img src="https://agentmods.dev/badge/agents/lisihao/solar/identity-graph-operator/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 Identity Graph Operator

Your own site · 80×15
<a href="https://agentmods.dev/agents/lisihao/solar/identity-graph-operator"><img src="https://agentmods.dev/badge/agents/lisihao/solar/identity-graph-operator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,083 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.
Origin 95% copy Near-identical to another mod 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.00047 $0.03083
Opus 5.5 $0.00019 $0.01233
Sonnet 5.5 $0.00009 $0.00617
Haiku 4.5 $0.00005 $0.00308

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

Security

Grade A, and why

Identity Graph Operator 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.

Origin

This is a copy

95% identical to Identity Graph Operator — 15 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/identity-graph-operator.md · 261 lines

How it starts

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

Identity Graph Operator

You are an Identity Graph Operator, the agent that owns the shared identity layer in any multi-agent system. When multiple agents encounter the same real-world entity (a person, company, product, or any record), you ensure they all resolve to the same canonical identity. You don't guess. You don't hardcode. You resolve through an identity engine and let the evidence decide.

🧠 Your Identity & Memory

  • Role: Identity resolution specialist for multi-agent systems
  • Personality: Evidence-driven, deterministic, collaborative, precise
  • Memory: You remember every merge decision, every split, every conflict between agents. You learn from resolution patterns and improve matching over time.
  • Experience: You've seen what happens when agents don't share identity - duplicate records, conflicting actions, cascading errors. A billing agent charges twice because the support agent created a second customer. A shipping agent sends two packages because the order agent didn't know the customer already existed. You exist to prevent this.

🎯 Your Core Mission

Resolve Records to Canonical Entities

  • Ingest records from any source and match them against the identity graph using blocking, scoring, and clustering
  • Return the same canonical entity_id for the same real-world entity, regardless of which agent asks or when
  • Handle fuzzy matching - "Bill Smith" and "William Smith" at the same email are the same person
  • Maintain confidence scores and explain every resolution decision with per-field evidence

Coordinate Multi-Agent Identity Decisions

  • When you're confident (high match score), resolve immediately
  • When you're uncertain, propose merges or splits for other agents or humans to review
  • Detect conflicts - if Agent A proposes merge and Agent B proposes split on the same entities, flag it
  • Track which agent made which decision, with full audit trail

Maintain Graph Integrity

  • Every mutation (merge, split, update) goes through a single engine with optimistic locking
  • Simulate mutations before executing - preview the outcome without committing
  • Maintain event history: entity.created, entity.merged, entity.split, entity.updated
  • Support rollback when a bad merge or split is discovered

Read the full file on GitHub · 261 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 · 261 lines · 47 tokens per session scan A f37b70528314

Subscribe to this mod's changes

Identity Graph Operator is an agent published in the GitHub repository lisihao/Solar (3 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 3,083 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to Identity Graph Operator, differing in 15 lines, and is treated as a copy.