Opensourcefaq
digoal/blog
解答与开源产品有关的深度技术问题,输出图文并茂的 Markdown 技术文章。触发条件:用户提出与开源项目(如 PostgreSQL、Redis、Kafka、Kubernetes、ClickHouse、Flink 等)相关的技术问题,并提供源码目录或 URL、deepwiki repo 名称。即使用户只说"帮我解答这个开源问题"或"分析一下这个项目的某个机制",也应使用本…
Debug "API returns data that doesn't exist in database" when multiple Kubernetes clusters exist (production, staging, POC).
$ npx skills add divinevideo/divine-mobile --skill multi-cluster-api-data-mismatch -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile multi-cluster-api-data-mismatch --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/multi-cluster-api-data-mismatch .claude/skills/multi-cluster-api-data-mismatch && 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 "multi-cluster-api-data-mismatch" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/multi-cluster-api-data-mismatch into .claude/skills/multi-cluster-api-data-mismatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "multi-cluster-api-data-mismatch", 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/multi-cluster-api-data-mismatchType 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 multi-cluster-api-data-mismatch -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile multi-cluster-api-data-mismatch --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/multi-cluster-api-data-mismatch .agents/skills/multi-cluster-api-data-mismatch && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "multi-cluster-api-data-mismatch" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/multi-cluster-api-data-mismatch into .agents/skills/multi-cluster-api-data-mismatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "multi-cluster-api-data-mismatch", 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 multi-cluster-api-data-mismatch -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile multi-cluster-api-data-mismatch --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/multi-cluster-api-data-mismatch .cursor/skills/multi-cluster-api-data-mismatch && 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 "multi-cluster-api-data-mismatch" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/multi-cluster-api-data-mismatch into .cursor/skills/multi-cluster-api-data-mismatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "multi-cluster-api-data-mismatch", 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/multi-cluster-api-data-mismatch--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 multi-cluster-api-data-mismatch -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile multi-cluster-api-data-mismatch --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/multi-cluster-api-data-mismatch .gemini/skills/multi-cluster-api-data-mismatch && 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 "multi-cluster-api-data-mismatch" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/multi-cluster-api-data-mismatch into .gemini/skills/multi-cluster-api-data-mismatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "multi-cluster-api-data-mismatch", 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 multi-cluster-api-data-mismatchInstalls 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 multi-cluster-api-data-mismatch -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/multi-cluster-api-data-mismatch .github/skills/multi-cluster-api-data-mismatch && 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 "multi-cluster-api-data-mismatch" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/multi-cluster-api-data-mismatch into .github/skills/multi-cluster-api-data-mismatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "multi-cluster-api-data-mismatch", 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 multi-cluster-api-data-mismatch -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 multi-cluster-api-data-mismatch --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/multi-cluster-api-data-mismatch .opencode/skills/multi-cluster-api-data-mismatch && 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 "multi-cluster-api-data-mismatch" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/multi-cluster-api-data-mismatch into .opencode/skills/multi-cluster-api-data-mismatch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "multi-cluster-api-data-mismatch", 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.
multi-cluster-api-data-mismatchDebug "API returns data that doesn't exist in database" when multiple Kubernetes clusters exist (production, staging, POC).
Multi Cluster API Data Mismatch is an agent skill from divinevideo/divine-mobile. Debug "API returns data that doesn't exist in database" when multiple Kubernetes clusters exist (production, staging, POC). Use when: (1) REST API returns records that direct database queries can't find, (2) Data counts match approximately but specific records don't overlap, (3) kubectl context points to a different cluster than the one serving the public domain, (4) ClickHouse/Postgres queries return stale or different data than the API, (5) "completely different datasets" despite same table names and schemas…
Its SKILL.md is about 1.3k 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 DevOps & Cloud, covering Container orchestration, Data warehousing and Root cause analysis. It works with Kubernetes, ClickHouse and PostgreSQL. The licence is MPL-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8d5fbf2. 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.
Shell commands in SKILL.md call:
kubectlgcloudFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
z1hzyismdt.us-central1.gcp.clickhouse.cloudFrom 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.
Multi Cluster API Data Mismatch loads about 1.3k tokens when it runs. Until then it costs about 150 tokens; SKILL.md has 365 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 8d5fbf2, republished under its MPL-2.0 licence (© divinevideo). 365 words, ~1,281 tokens.
.claude/skills/multi-cluster-api-data-mismatch/SKILL.md (or your agent's skills folder).When investigating why an API returns data that doesn't match direct database queries, the root cause may be that your kubectl context points to a different cluster (e.g., POC) than the one actually serving the public API (e.g., production). Both clusters have the same schemas and similar data volumes, making the mismatch non-obvious.
kubectl exec ... clickhouse-client)
can't findserver: nginx but no ingress exists in the current
cluster's namespace# Check DNS for the public API domain
dig relay.divine.video +short
# → 34.58.27.79
# Check your current cluster's gateway/ingress IP
kubectl get gateway -A # or kubectl get ingress -A
# → 35.184.10.63 (different IP = different cluster!)kubectl config get-contexts
# Look for production vs staging vs POC contextskubectl config use-context <production-context-name># Check what database the API actually connects to
kubectl get secret -n <namespace> <db-credentials> -o jsonpath='{.data.DATABASE_URL}' | base64 -d
# Production might use managed services (ClickHouse Cloud, Cloud SQL)
# POC might use in-cluster podsIf secrets are managed by ExternalSecrets operator:
# Check if ExternalSecrets manages the secret
kubectl get externalsecret -n <namespace>
# If yes, update the SOURCE (e.g., GCP Secret Manager), not the k8s secret
gcloud secrets versions add <secret-name> --project=<project> --data-file=-
# Force sync after updating
kubectl annotate externalsecret <name> -n <namespace> force-sync=$(date +%s) --overwrite
# Verify the k8s secret updated
kubectl get secret <name> -n <namespace> -o jsonpath='{.data.<key>}' | base64 -dAfter switching to the correct cluster:
kubectl get pods -n <namespace> should show the same pods the API logs reference| Symptom | Explanation |
|---|---|
| API video count ~21k, DB count ~20k | Similar but not identical = different datasets |
| Latest DB record is days old | API is receiving writes on a different cluster |
| No ingress/gateway routes match the public domain | Traffic routes elsewhere |
| Managed DB URL (e.g., ClickHouse Cloud) vs in-cluster pod | Production vs POC architecture |
| API pod logs show only health checks, no real traffic | Real traffic goes to another cluster |
# You query POC ClickHouse and find 20,371 videos, latest from Feb 26
# But the API at relay.divine.video returns videos from today
# The API returns a video with d_tag that doesn't exist in your ClickHouse
# Fix: switch to production
kubectl config use-context connectgateway_dv-platform-prod_...
# Now query production ClickHouse Cloud
CH_URL=$(kubectl get secret -n funnelcake funnelcake-clickhouse-credentials \
-o jsonpath='{.data.CLICKHOUSE_URL}' | base64 -d)
# → https://z1hzyismdt.us-central1.gcp.clickhouse.cloud:8443
# (managed service, not in-cluster pod)
# Query returns 21,221 videos with latest from minutes ago — matches the APImax(created_at) or max(indexed_at) — if it's days old on a
live service, you're querying the wrong instancekubectl create secret will be immediately overwritten by the operator
syncing from GCP Secret Manager / AWS Secrets Manager / Vault© 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/multi-cluster-api-data-mismatch of divinevideo/divine-mobile.
Open the folder on GitHubat commit 8d5fbf2
Multi Cluster API Data Mismatch 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 |
|---|---|---|---|---|---|---|
| Multi Cluster API Data Mismatch this skilldivinevideo/divine-mobile | 265 | — | ~1.3k | Automated safety check: Pass | MPL-2.0 | |
| Opensourcefaqdigoal/blog | 8.6k | — | ~966 | Automated safety check: Pass | GPL-2.0 | |
| Cloud SaaS Modechmonitor/chmonitor | 298 | — | ~2.5k | Automated safety check: Notes | GPL-3.0 | |
| Backend Dev Guidelineslitefuse/litefuse | 100 | 1 repos | ~5.8k | Automated safety check: Pass | Custom licence | |
| Querying Tempotempoxyz/tidx | 107 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Archestra Dev Investigatearchestra-ai/archestra | 4.3k | — | ~831 | Automated safety check: Pass | Custom licence |
digoal/blog
解答与开源产品有关的深度技术问题,输出图文并茂的 Markdown 技术文章。触发条件:用户提出与开源项目(如 PostgreSQL、Redis、Kafka、Kubernetes、ClickHouse、Flink 等)相关的技术问题,并提供源码目录或 URL、deepwiki repo 名称。即使用户只说"帮我解答这个开源问题"或"分析一下这个项目的某个机制",也应使用本…
chmonitor/chmonitor
Work on chmonitor's Cloud (SaaS) vs self-hosted (OSS) behaviour from ONE codebase.
litefuse/litefuse
Comprehensive backend development guide for Litefuse's Next.js 14/tRPC/Express/TypeScript monorepo.
tempoxyz/tidx
Query indexed Tempo chain data via tidx HTTP API and CLI. An agent skill from tempoxyz/tidx.
archestra-ai/archestra
A skill your agent uses when investigating Archestra bugs or incidents — staging issues, backend 50x errors, Drizzle failed queries, DB connection pressure, deploy regressions, or Kubernetes/runtime…
google/skills
Answer natural language questions and perform analysis on GKE cluster and workload costs using BigQuery billing exports, cost allocation data, and live cluster monitoring metrics.
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
Debug "API returns data that doesn't exist in database" when multiple Kubernetes clusters exist (production, staging, POC). Multi Cluster API Data Mismatch is an agent skill from divinevideo/divine-mobile. Debug "API returns data that doesn't exist in database" when multiple Kubernetes clusters exist (production, staging, POC).
Multi Cluster API Data Mismatch fits situations like: REST API returns records that direct database queries cant find; data counts match approximately but specific records dont overlap; kubectl context points to a different cluster than the one serving the public domain; clickHouse/Postgres queries return stale.
Run `npx skills add divinevideo/divine-mobile --skill multi-cluster-api-data-mismatch -a claude-code`. Or copy the skill folder (.agents/skills/multi-cluster-api-data-mismatch in divinevideo/divine-mobile) into .claude/skills/multi-cluster-api-data-mismatch in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill multi-cluster-api-data-mismatch -a codex`. Or copy the skill folder (.agents/skills/multi-cluster-api-data-mismatch in divinevideo/divine-mobile) into .agents/skills/multi-cluster-api-data-mismatch 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 multi-cluster-api-data-mismatch -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/multi-cluster-api-data-mismatch, .gemini/skills/multi-cluster-api-data-mismatch, .github/skills/multi-cluster-api-data-mismatch and .opencode/skills/multi-cluster-api-data-mismatch in your project.
Going by SKILL.md and its folder, Multi Cluster API Data Mismatch needs the command-line tools its instructions call (kubectl and gcloud).
SKILL.md names 1 domain. In commands or code: z1hzyismdt.us-central1.gcp.clickhouse.cloud; the agent is likely to contact it when it follows the instructions. 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.
Multi Cluster API Data Mismatch 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.3k tokens (SKILL.md is roughly 5.1k 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 Multi Cluster API Data Mismatch: Opensourcefaq (digoal/blog, 8.6k stars), Cloud SaaS Mode (chmonitor/chmonitor, 298 stars), Backend Dev Guidelines (litefuse/litefuse, 100 stars) and Querying Tempo (tempoxyz/tidx, 107 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 265 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 7, 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.