Apache Doris Skills is a collection of agent instructions containing Apache Doris database knowledge for designing, sizing, operating, diagnosing, and contributing to Doris clusters. It serves developers and operators using Claude Code, Cursor, Codex, Cline, Amp, and other agent tools, with the skills providing decision logic and evidence-based workflows.
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 apache/doris-skills --skill doris-debuggit clone --depth 1 https://github.com/apache/doris-skillsWrote 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/apache/doris-skills/doris-debug)<a href="https://agentmods.dev/skills/apache/doris-skills/doris-debug"><img src="https://agentmods.dev/badge/skills/apache/doris-skills/doris-debug/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/apache/doris-skills/doris-debug"><img src="https://agentmods.dev/badge/skills/apache/doris-skills/doris-debug.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.00080 | $0.00772 |
| Opus 5.5 | $0.00032 | $0.00309 |
| Sonnet 5.5 | $0.00016 | $0.00154 |
| Haiku 4.5 | $0.00008 | $0.00077 |
Grade A, and why
doris-debug 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 3mo 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Doris Debug Router
How to use
- Identify the symptom domain from the table below.
- Read
shared/references/01-common-commands.mdfor diagnostic SQL and API commands. - Read
shared/references/02-source-map.mdto map symptoms to Apache Doris source code locations. - Open the target skill (
<domain>/SKILL.md) and follow its cause table and decision tree. - Check
shared/references/03-case-index.mdfor matching production case patterns.
Skill routing
| Symptom | Skill |
|---|---|
| Slow / timeout / hanging query, Profile analysis, Exchange WaitForData | query/SKILL.md |
| Stream Load / Broker Load / Routine Load failure, Group Commit WAL pile-up | import/SKILL.md |
| -235 / too many versions, compaction score high, compaction lag | compaction/SKILL.md |
| BE/FE OOM, crash, false Alive, memory leak | node/SKILL.md |
| Sync MV miss, async MTMV refresh/rewrite issues | materialized-view/SKILL.md |
| Tablet replica missing, clone backlog, disk skew, tablet repair | tablet/SKILL.md |
| FE/BE startup failure, port conflict, priority_networks misconfig | deployment/SKILL.md |
| Hive/Iceberg/Paimon/Glue catalog query failure, metadata refresh, S3/HDFS connectivity | data-lake/SKILL.md |
| Workload Group queue starvation, CPU/memory isolation leaks, spill issues | resource-isolation/SKILL.md |
| Storage-compute separation, meta-service latency, file cache, warmup | cloud/SKILL.md |
Shared references
| Document | Content |
|---|---|
shared/references/01-common-commands.md |
Diagnostic SQL, HTTP API, and CLI commands |
shared/references/02-source-map.md |
Symptom → Doris source code mapping (with version annotations) |
shared/references/03-case-index.md |
45 production case summaries across 8 domains |
shared/references/04-metrics-guide.md |
Per-domain key metrics with thresholds |
shared/references/05-config-quick-ref.md |
Per-domain key configuration parameters with tuning guidance |
shared/guides/ |
Cross-module cascade troubleshooting |
What ships with it
33 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- cloud/references/case-001-warmup-empty-batch.md 4.0 KB
- cloud/SKILL.md 3.7 KB
- compaction/references/case-001-too-many-versions.md 1.3 KB
- compaction/references/case-002-schema-change-base-score.md 3.4 KB
- compaction/SKILL.md 2.4 KB
- data-lake/references/case-001-glue-pagination.md 2.2 KB
- data-lake/SKILL.md 3.1 KB
- deployment/SKILL.md 2.8 KB
- import/references/case-001-group-commit-wal-pileup.md 492 B
- import/references/case-002-rpc-timeout-heavy-work-pool.md 3.9 KB
- import/references/case-003-insert-job-fe-oom.md 3.0 KB
- import/SKILL.md 1.4 KB
- materialized-view/references/case-001-mtmv-rewrite-miss.md 1.4 KB
- materialized-view/SKILL.md 2.8 KB
- node/references/case-001-be-oom-memtracker.md 1.2 KB
- node/references/case-002-filecache-lru-leak.md 3.2 KB
- node/references/case-003-be-scanner-pileup-memory.md 4.9 KB
- node/references/case-004-fe-bdbje-corruption.md 3.5 KB
- node/SKILL.md 2.9 KB
- query/references/case-001-exchange-waitfordata.md 388 B
- query/references/case-002-plan-time-iceberg-rpc.md 3.7 KB
- query/references/case-003-exchange-e11-fanout.md 5.0 KB
- query/SKILL.md 3.1 KB
- resource-isolation/references/case-001-workload-policy-cme.md 4.8 KB
- resource-isolation/SKILL.md 3.2 KB
- shared/guides/cascade-import-wal-versions.md 431 B
- shared/guides/cascade-query-timeout-exchange.md 442 B
- shared/references/01-common-commands.md 603 B
- shared/references/02-source-map.md 3.0 KB
- shared/references/03-cir-case-index.md 26 KB
- shared/references/04-metrics-guide.md 6.5 KB
- shared/references/05-config-quick-ref.md 6.9 KB
- tablet/SKILL.md 3.0 KB
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.
- 3mo ago First seen · 61 lines · 80 tokens per session scan A 5a05bdbcdc06
doris-debug is a skill published in the GitHub repository apache/doris-skills (52 stars, last pushed 5d ago), licensed Apache-2.0. It adds 80 tokens to every session and 772 once invoked, about $0.0003 per session on Opus 5.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-30.
doris-debug compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doris-debugapache/doris-skills | Skill | 52 | 5d ago | Apache-2.0 | A | 80 | Claude Code, Codex |
| cf-optimizedinhanhthi/coding-friend | Skill | 4 | 14d ago | MIT | A | 112 | Claude Code |
| cf-fixdinhanhthi/coding-friend | Skill | 4 | 14d ago | MIT | A | 133 | Claude Code |
| cf-sys-debugdinhanhthi/coding-friend | Skill | 4 | 14d ago | MIT | A | 136 | Claude Code |
| ladybugdbdelexw/claude-code-misc | Skill | 2 | 8mo ago | MIT | C | 173 | Claude Code, Codex |
| obsidian-baseskepano/obsidian-skills | Skill | 55k | 5d ago | MIT | A | 63 | Claude Code |
| morph-pptiOfficeAI/OfficeCLI | Skill | 34k | yesterday | Apache-2.0 | A | 169 | Claude Code, Codex |