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.
npx skills add divinevideo/divine-mobile --skill nostr-addressable-event-dual-tag-querygit clone --depth 1 https://github.com/divinevideo/divine-mobileWrote 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.
[](https://agentmods.dev/skills/divinevideo/divine-mobile/nostr-addressable-event-dual-tag-query)<a href="https://agentmods.dev/skills/divinevideo/divine-mobile/nostr-addressable-event-dual-tag-query"><img src="https://agentmods.dev/badge/skills/divinevideo/divine-mobile/nostr-addressable-event-dual-tag-query/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.
<a href="https://agentmods.dev/skills/divinevideo/divine-mobile/nostr-addressable-event-dual-tag-query"><img src="https://agentmods.dev/badge/skills/divinevideo/divine-mobile/nostr-addressable-event-dual-tag-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00175 | $0.01675 |
| Opus 5 | $0.00088 | $0.00838 |
| Sonnet 5 | $0.00035 | $0.00335 |
| Haiku 4.5 | $0.00017 | $0.00168 |
Grade A, and why
nostr-addressable-event-dual-tag-query 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nostr Addressable Event Dual-Tag Query
Problem
When querying related events (comments, reactions, reposts, zaps) for Nostr addressable events (Kind 30000-39999), the query returns fewer or zero results even though an indexing service shows the correct count. This happens because addressable events can be referenced two ways, and different clients use different methods.
Context / Trigger Conditions
Use this skill when:
- Video/post shows comment count of 5, but comments modal says "No comments yet"
- REST API (like Funnelcake) returns correct engagement counts, but WebSocket queries return empty
- Working with NIP-22 comments (Kind 1111) on addressable events
- Working with NIP-25 reactions (Kind 7) on addressable events
- Working with NIP-18 reposts (Kind 6/16) on addressable events
- Any feature querying events that reference Kind 30000-39999 events
Root Cause
For addressable events (Kind 30000-39999, like Kind 34236 videos), related events can reference the target using either:
-
E tag: References by event ID (64-character hex)
["E", "abc123...def456", "", "author-pubkey"] -
A tag: References by addressable identifier (
kind:pubkey:d-tag)["A", "34236:abc123...def456:my-video-id", "", "author-pubkey"]
Different Nostr clients and indexers use different conventions:
- Some always use E tags (event ID-based)
- Some prefer A tags for addressable events (following NIP-22 strictly)
- Some use both tags
If your app only queries by one tag type, you'll miss events tagged with the other.
Solution
1. Update Filter Class (if needed)
Ensure your Filter class supports uppercase A tag queries:
// In Filter class
List<String>? uppercaseA; // Add this field
// In toJson()
if (uppercaseA != null) {
data['#A'] = uppercaseA;
}
2. Query by BOTH Tags
When loading related events, run two parallel queries and merge results:
Future<List<Event>> loadRelatedEvents({
required String eventId,
required String? addressableId, // Format: "kind:pubkey:d-tag"
}) async {
// Query by E tag (event ID)
final filterByE = Filter(
kinds: [targetKind],
uppercaseE: [eventId],
);
// If addressable ID available, also query by A tag
if (addressableId != null && addressableId.isNotEmpty) {
final filterByA = Filter(
kinds: [targetKind],
uppercaseA: [addressableId],
);
// Run both queries in parallel
final results = await Future.wait([
nostrClient.queryEvents([filterByE]),
nostrClient.queryEvents([filterByA]),
]);
// Merge and deduplicate by event ID
final eventMap = <String, Event>{};
for (final event in results[0]) {
eventMap[event.id] = event;
}
for (final event in results[1]) {
eventMap[event.id] = event;
}
return eventMap.values.toList();
}
return nostrClient.queryEvents([filterByE]);
}
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.
- 9d ago First seen · 197 lines · 175 tokens per session scan A 95c206a9f32b
nostr-addressable-event-dual-tag-query is a skill published in the GitHub repository divinevideo/divine-mobile (264 stars, last pushed today), licensed MPL-2.0. It adds 175 tokens to every session and 1,675 once invoked, about $0.0009 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-09-03.
Other skills, from other repositories
code-changes
Orchestration workflow for any task that ends in code changes: issue analysis, pull request review, feature implementation, bug fixes, refactors, or fleshing out an idea. MUST be invoked at the start of such a task, before reading or writing any code. Defines how to analyze first, gate on user approval, plan, pick the…
cross-environment-semantic-drift
L1 trigger - audits L1/L2 boundary bugs, precompile context assumptions, integer width mismatches at environment boundaries, and EVM-on-non-EVM drift.
consensus-math-correctness
L1 trigger - audits consensus arithmetic for truncation, unused bounds, EMA direction, and threshold edge errors.
alchemy-cli
Use the Alchemy CLI (@alchemy/cli) for live blockchain data, transaction lookups, NFT/token/portfolio queries, simulation, tracing/debugging, contract reads/writes, wallet-signed sends, swaps and cross-chain bridges, Solana RPC/DAS plus wallet sends, webhook management, and Alchemy app administration. Preferred…
finish-it
Get a stalled or sprawling game project to ship: diagnose the death loop, cut to the core, set a binary finish line.
skmtc-debug
Diagnose failures in SKMTC sessions — no output, wrong output, error messages, bundle freshness, parseIssues, "Registered definition mismatch", ref cycles, "Module not found" in generated code, or any other broken behavior. Applies across both CLI usage and generator authoring contexts. Use this skill when the user…