Keeper Stress Analysis
ClickHouse/ClickHouse
Analyze ClickHouse Keeper stress-test results from play.clickhouse.com / keeperstresstests data warehouse.
Fix duplicate Nostr events in ClickHouse when using ReplacingMergeTree for NIP-33 addressable events (Kind 30000+).
$ npx skills add divinevideo/divine-mobile --skill clickhouse-nip33-addressable-dedup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile clickhouse-nip33-addressable-dedup --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/clickhouse-nip33-addressable-dedup .claude/skills/clickhouse-nip33-addressable-dedup && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "clickhouse-nip33-addressable-dedup" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-nip33-addressable-dedup into .claude/skills/clickhouse-nip33-addressable-dedup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-nip33-addressable-dedup", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-nip33-addressable-dedupType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add divinevideo/divine-mobile --skill clickhouse-nip33-addressable-dedup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile clickhouse-nip33-addressable-dedup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/clickhouse-nip33-addressable-dedup .agents/skills/clickhouse-nip33-addressable-dedup && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "clickhouse-nip33-addressable-dedup" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-nip33-addressable-dedup into .agents/skills/clickhouse-nip33-addressable-dedup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-nip33-addressable-dedup", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill clickhouse-nip33-addressable-dedup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile clickhouse-nip33-addressable-dedup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/clickhouse-nip33-addressable-dedup .cursor/skills/clickhouse-nip33-addressable-dedup && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "clickhouse-nip33-addressable-dedup" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-nip33-addressable-dedup into .cursor/skills/clickhouse-nip33-addressable-dedup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-nip33-addressable-dedup", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/divinevideo/divine-mobile.git --path .agents/skills/clickhouse-nip33-addressable-dedup--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add divinevideo/divine-mobile --skill clickhouse-nip33-addressable-dedup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile clickhouse-nip33-addressable-dedup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/clickhouse-nip33-addressable-dedup .gemini/skills/clickhouse-nip33-addressable-dedup && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "clickhouse-nip33-addressable-dedup" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-nip33-addressable-dedup into .gemini/skills/clickhouse-nip33-addressable-dedup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-nip33-addressable-dedup", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install divinevideo/divine-mobile clickhouse-nip33-addressable-dedupInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add divinevideo/divine-mobile --skill clickhouse-nip33-addressable-dedup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/clickhouse-nip33-addressable-dedup .github/skills/clickhouse-nip33-addressable-dedup && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "clickhouse-nip33-addressable-dedup" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-nip33-addressable-dedup into .github/skills/clickhouse-nip33-addressable-dedup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-nip33-addressable-dedup", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill clickhouse-nip33-addressable-dedup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile clickhouse-nip33-addressable-dedup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/clickhouse-nip33-addressable-dedup .opencode/skills/clickhouse-nip33-addressable-dedup && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "clickhouse-nip33-addressable-dedup" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-nip33-addressable-dedup into .opencode/skills/clickhouse-nip33-addressable-dedup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-nip33-addressable-dedup", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
clickhouse-nip33-addressable-dedupFix duplicate Nostr events in ClickHouse when using ReplacingMergeTree for NIP-33 addressable events (Kind 30000+).
Clickhouse Nip33 Addressable Dedup is an agent skill from divinevideo/divine-mobile. Fix duplicate Nostr events in ClickHouse when using ReplacingMergeTree for NIP-33 addressable events (Kind 30000+). Use when: (1) Edited videos/events appear as duplicates, (2) Same dtag shows multiple events with different IDs, (3) FINAL keyword doesn't deduplicate properly for parameterized replaceable events. The issue is that FINAL deduplicates by ORDER BY key (typically id), not by (pubkey, kind, dtag).
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering Data warehousing. It works with ClickHouse. The licence is MPL-2.0.
Read from SKILL.md and the folder at commit c3d6f7e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are sql).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
clickhouse.comgithub.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Clickhouse Nip33 Addressable Dedup loads about 1.1k tokens when it runs. Until then it costs about 113 tokens; SKILL.md has 328 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from divinevideo/divine-mobile at commit c3d6f7e, republished under its MPL-2.0 licence (© divinevideo). 328 words, ~1,092 tokens.
.claude/skills/clickhouse-nip33-addressable-dedup/SKILL.md (or your agent's skills folder).When storing Nostr events in ClickHouse using ReplacingMergeTree, edited addressable events (Kind 30000-39999) appear as duplicates. Users edit their video/event, a new event ID is created with the same d_tag, but both versions are shown instead of just the latest.
(pubkey, kind, d_tag) but different id valuesFINAL keyword but duplicates still appearThe FINAL keyword in ClickHouse deduplicates based on the table's ORDER BY key. If
your table is defined as:
ENGINE = ReplacingMergeTree(indexed_at)
ORDER BY (id)Then FINAL deduplicates by id. Two events with different IDs are NOT considered
duplicates, even if they represent the same addressable "slot" per NIP-33.
For NIP-33 addressable events, the replacement key should be (pubkey, kind, d_tag),
not id.
Change your videos view to use LIMIT 1 BY instead of FINAL:
CREATE VIEW videos AS
SELECT
id,
pubkey,
created_at,
kind,
content,
tags,
d_tag,
title,
thumbnail,
video_url
FROM events_local
WHERE kind IN (34235, 34236)
ORDER BY pubkey, kind, d_tag, created_at DESC
LIMIT 1 BY pubkey, kind, d_tag;The LIMIT 1 BY clause keeps only the first row (latest by created_at) for each
unique combination of (pubkey, kind, d_tag).
If you can recreate the table, use a composite ORDER BY:
CREATE TABLE events_addressable (
...
) ENGINE = ReplacingMergeTree(created_at)
ORDER BY (pubkey, kind, d_tag);This makes FINAL work correctly for NIP-33 events but may not work for all event types.
-- Drop dependent views first
DROP VIEW IF EXISTS trending_videos;
DROP VIEW IF EXISTS video_stats;
DROP VIEW IF EXISTS videos;
-- Recreate with proper deduplication
CREATE VIEW videos AS
SELECT *
FROM events_local
WHERE kind IN (34235, 34236)
ORDER BY pubkey, kind, d_tag, created_at DESC
LIMIT 1 BY pubkey, kind, d_tag;
-- Recreate dependent views...Query for a specific user's videos and confirm no duplicates:
SELECT id, d_tag, created_at
FROM videos
WHERE pubkey = 'user_pubkey_here'
ORDER BY created_at DESC;Each d_tag should appear only once, with the highest created_at value.
Before (broken):
| id | d_tag | created_at |
|----------|----------|------------|
| abc123 | video1 | 1769697188 | ← Newer edit
| def456 | video1 | 1769697150 | ← Original (should be hidden)After (fixed):
| id | d_tag | created_at |
|----------|----------|------------|
| abc123 | video1 | 1769697188 | ← Only latest shownLIMIT 1 BY approach is query-time deduplication, not storage deduplication© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/clickhouse-nip33-addressable-dedup of divinevideo/divine-mobile.
Open the folder on GitHubat commit c3d6f7e
Clickhouse Nip33 Addressable Dedup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Clickhouse Nip33 Addressable Dedup this skilldivinevideo/divine-mobile | 266 | — | ~1.1k | Automated safety check: Pass | MPL-2.0 | |
| Keeper Stress AnalysisClickHouse/ClickHouse | 50k | — | ~4.7k | Automated safety check: Pass | Apache-2.0 | |
| Perf ComparisonClickHouse/ClickHouse | 50k | — | ~3.9k | Automated safety check: Notes | Apache-2.0 | |
| Patch Release CheckClickHouse/ClickHouse | 50k | — | ~4k | Automated safety check: Notes | Apache-2.0 | |
| Clickhouse Architecture Advisorvemetric/vemetric | 395 | 2 repos | ~791 | Automated safety check: Pass | Apache-2.0 | |
| Decompress BinaryClickHouse/ClickHouse | 50k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 |
ClickHouse/ClickHouse
Analyze ClickHouse Keeper stress-test results from play.clickhouse.com / keeperstresstests data warehouse.
ClickHouse/ClickHouse
Evaluate ClickHouse performance test results from existing CI/dashboard data or local perf.py runs.
ClickHouse/ClickHouse
Check whether ClickHouse's supported versions (last 3 majors + latest LTS) have recent stable patch releases, diagnose why the scheduled AutoReleases pipeline failed, and identify which releases…
vemetric/vemetric
MUST USE when designing ClickHouse architectures, selecting between ingestion or modeling patterns, or translating best practices into workload-specific system designs.
ClickHouse/ClickHouse
Extract the inner ELF from a ClickHouse self-extracting clickhouse binary, including when its architecture differs from the host (e.g.
ClickHouse/ClickHouse
Show a report of open ClickHouse PRs whose only non-green CI check is "CH Inc sync" (or that are fully green) — i.e.
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Works with
Categories
Fix duplicate Nostr events in ClickHouse when using ReplacingMergeTree for NIP-33 addressable events (Kind 30000+). Clickhouse Nip33 Addressable Dedup is an agent skill from divinevideo/divine-mobile. Fix duplicate Nostr events in ClickHouse when using ReplacingMergeTree for NIP-33 addressable events (Kind 30000+).
Clickhouse Nip33 Addressable Dedup fits situations like: edited videos/events appear as duplicates; same dtag shows multiple events with different IDs; FINAL keyword doesnt deduplicate properly for parameterized replaceable events.
Run `npx skills add divinevideo/divine-mobile --skill clickhouse-nip33-addressable-dedup -a claude-code`. Or copy the skill folder (.agents/skills/clickhouse-nip33-addressable-dedup in divinevideo/divine-mobile) into .claude/skills/clickhouse-nip33-addressable-dedup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill clickhouse-nip33-addressable-dedup -a codex`. Or copy the skill folder (.agents/skills/clickhouse-nip33-addressable-dedup in divinevideo/divine-mobile) into .agents/skills/clickhouse-nip33-addressable-dedup in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill clickhouse-nip33-addressable-dedup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clickhouse-nip33-addressable-dedup, .gemini/skills/clickhouse-nip33-addressable-dedup, .github/skills/clickhouse-nip33-addressable-dedup and .opencode/skills/clickhouse-nip33-addressable-dedup in your project.
SKILL.md names no scripts, command-line tools or credentials: Clickhouse Nip33 Addressable Dedup is instructions for the agent only.
SKILL.md names 2 domains. As links in the text: clickhouse.com and github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Clickhouse Nip33 Addressable Dedup is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Clickhouse Nip33 Addressable Dedup: Keeper Stress Analysis (ClickHouse/ClickHouse, 50k stars), Perf Comparison (ClickHouse/ClickHouse, 50k stars), Patch Release Check (ClickHouse/ClickHouse, 50k stars) and Clickhouse Architecture Advisor (vemetric/vemetric, 395 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 10, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.