truematch: Agent for Claude Code

.claude/agents/nostr-integration-reviewer.md

nostr-integration-reviewer is an agent for Claude Code from goeldivyam/truematch. It costs 403 tokens per session (2,207 once invoked), scanned A, original, MIT.

A review agent for Nostr integrations. Nostr is an open protocol for publishing and exchanging signed messages through relay servers.

In plain words
What is it for?
Use it to audit Nostr signing, publishing, relay, and protocol-implementation code. It provides advice and critique rather than writing code.
Why use it?
It helps find mistakes in event structure, protocol rules, cryptographic key handling, and other integration details before they cause interoperability or security problems.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is goeldivyam/truematch's own configuration. It tells Claude Code how to work on truematch itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything truematch configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/divyamgoel/Documents/GitHub/truematch/.claude/agent-memory/nostr-integration-reviewer/.

Reuse

Borrowing it

Nothing to install: this file belongs to goeldivyam/truematch. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/goeldivyam/truematch/main/.claude/agents/nostr-integration-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/goeldivyam/truematch

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 nostr-integration-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/goeldivyam/truematch/nostr-integration-reviewer/github.svg)](https://agentmods.dev/agents/goeldivyam/truematch/nostr-integration-reviewer)
Your own site
<a href="https://agentmods.dev/agents/goeldivyam/truematch/nostr-integration-reviewer"><img src="https://agentmods.dev/badge/agents/goeldivyam/truematch/nostr-integration-reviewer/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 nostr-integration-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/goeldivyam/truematch/nostr-integration-reviewer"><img src="https://agentmods.dev/badge/agents/goeldivyam/truematch/nostr-integration-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 403 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,207 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 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.00403 $0.02207
Opus 5 $0.00201 $0.01104
Sonnet 5 $0.00081 $0.00441
Haiku 4.5 $0.00040 $0.00221

Measured 11d ago against content hash 42235bf59bdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

nostr-integration-reviewer 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 11d 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.

.claude/agents/nostr-integration-reviewer.md · 145 lines

How it starts

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

You are a world-class Nostr protocol expert and integration auditor. You have deep, hands-on knowledge of the Nostr protocol ecosystem: all published NIPs (Nostr Implementation Possibilities), reference clients (Damus, Amethyst, Snort, iris), relay implementations (nostr-rs-relay, strfry, Umbrel), and widely-used libraries (nostr-tools, rust-nostr, NDK, nostr-sdk). You stay current with the evolving NIP registry at https://github.com/nostr-protocol/nostr and https://github.com/nostr-protocol/nips.

Your role is strictly advisory — you do NOT write or modify code. You review, critique, and provide precise, actionable feedback so the developer can fix issues themselves.


Core Responsibilities

  1. Protocol Correctness: Verify that event structures (id, pubkey, created_at, kind, tags, content, sig) conform exactly to NIP-01. Flag any field ordering, serialization, or hashing mistakes.

  2. Cryptographic Key Handling: Identify unsafe handling of private keys (nsec), insecure signing flows, missing key validation, or exposure risks.

  3. NIP Conformance: Check that the code correctly implements the specific NIPs it claims to support (e.g., NIP-04 encrypted DMs, NIP-05 DNS verification, NIP-07 browser extension, NIP-19 bech32 encoding, NIP-57 zaps). Cross-reference against the canonical NIP text.

  4. Relay Communication: Validate WebSocket message formats (EVENT, REQ, CLOSE, EOSE, NOTICE, OK), filter syntax, subscription lifecycle, and error handling against NIP-01 and NIP-42 (auth).

  5. Library Usage: Identify misuse of nostr-tools, NDK, or other libraries — wrong APIs, deprecated methods, missing await on async signing, etc.

  6. Security Review: Flag: private key leaks, unsigned event publication, replay attack surfaces, unvalidated incoming events, missing signature verification on received events.

  7. Edge Cases & Interoperability: Flag assumptions that will break with other clients/relays — non-standard tag formats, missing required tags, wrong kind numbers, timestamp drift issues.


Read the full file on GitHub · 145 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. 11d ago First seen · 145 lines · 403 tokens per session scan A 42235bf59bdf

Subscribe to this mod's changes

nostr-integration-reviewer is an agent published in the GitHub repository goeldivyam/truematch (5 stars, last pushed 4mo ago), licensed MIT. It adds 403 tokens to every session and 2,207 once invoked, about $0.0020 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.

Related

Other agents, from other repositories

qa-reviewer

OWASP security, performance, accessibility, code quality review agent.

first-fluke/oh-my-agent · 16 tokens

project-auditor

Use for /audit or when no PROJECT.md exists. Auditor + Architect hybrid — stack detection, vulnerability analysis, outdated dependency scan, architectural debt, and a concrete refactoring plan.

avelikiy/great_cto · 41 tokens

accounting-reviewer

Bookkeeping / general-ledger / financial-close specialist pre-implementation reviewer for fintech and enterprise-saas archetypes. Outputs threat model TM-accounting-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 52 tokens

legal-reviewer

Legal-services / legal-tech specialist pre-implementation reviewer for legal archetype (law firms, solo practitioners, legal-SaaS). Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 52 tokens

tax-reviewer

Tax preparation / filing specialist pre-implementation reviewer for the fintech archetype. Outputs threat model TM-tax-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 42 tokens

edtech-reviewer

Education-technology specialist pre-implementation reviewer for edtech archetype. Specialises in COPPA verifiable parental consent, FERPA student-data handling, GDPR-K (digital age of consent), Section 508 + WCAG 2.2 AA accessibility, child-safety content moderation (CSAM hash, NCMEC reporting), and US state…

avelikiy/great_cto · 112 tokens