doris-debug-import

doris-debug-import is a skill for Claude Code, Codex from apache/doris-skills. It costs 58 tokens per session (374 once invoked), scanned A, original, Apache-2.0.

Troubleshooting guidance for Apache Doris data imports and Group Commit, a feature that batches writes before committing them.

In plain words
What is it for?
Use it to inspect WAL disk usage and logs, tune commit batch sizes and intervals, adjust worker threads, and plan backpressure for high-volume loads.
Why use it?
It helps diagnose delayed imports, growing write-ahead logs, and ingestion bottlenecks by connecting symptoms with relevant settings.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/doris-debug wal-du /path/to/be/storage.

Good fit Use it to inspect WAL disk usage and logs, tune commit batch sizes and intervals, adjust worker threads, and plan backpressure for high-volume loads.

Compare 6 skills from other repositories ↓
About the project

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.

apache/doris-skills · 47 stars · on GitHub · doris.apache.org

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/apache/doris-skills
agentmods
npx agentmods add skills/apache/doris-skills/import

Made for: Claude Code, Codex.

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 doris-debug-import

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/doris-skills/import/github.svg)](https://agentmods.dev/skills/apache/doris-skills/import)
Your own site
<a href="https://agentmods.dev/skills/apache/doris-skills/import"><img src="https://agentmods.dev/badge/skills/apache/doris-skills/import/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 doris-debug-import

Your own site · 80×15
<a href="https://agentmods.dev/skills/apache/doris-skills/import"><img src="https://agentmods.dev/badge/skills/apache/doris-skills/import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 374 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00058 $0.00374
Opus 5.5 $0.00023 $0.00150
Sonnet 5.5 $0.00012 $0.00075
Haiku 4.5 $0.00006 $0.00037

Measured 1mo ago against content hash 538948168ce4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doris-debug-import 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 1mo 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.

skills/doris-debug/import/SKILL.md · 41 lines

What it actually says

Import / Group Commit

async_mode WAL semantics

Write WAL → RPC returns → background group commit → delete_wal on success
(group_commit_mgr.cpp). Drain rate = commit finish rate ≠ compaction GB/s.

Knobs (config.cpp)

Config Default Role
group_commit_insert_threads 10 commit worker pool
group_commit_relay_wal_threads 10 WAL replay
group_commit_wal_path under storage_root WAL disks
group_commit_wal_max_disk_limit 10% WAL quota
table group_commit_data_bytes often 64MB size flush
table group_commit_interval_ms often 10000 time flush

High MB/s guidance

  1. Split load across BEs (WAL is local to coordinator BE).
  2. wal-du on each BE storage path.
  3. Prefer dedicated NVMe for group_commit_wal_path.
  4. A/B group_commit_data_bytes (128MB vs 512MB) — size threshold dominates when ingest ≫ interval.
  5. sync_mode or client throttle for backpressure.
./scripts/doris-debug wal-du /path/to/be/storage
./scripts/doris-debug log-grep be/log --pack group_commit
Files

What ships with it

3 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.

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. 1mo ago First seen · 41 lines · 58 tokens per session scan A 538948168ce4

Subscribe to this mod's changes

doris-debug-import is a skill published in the GitHub repository apache/doris-skills (47 stars, last pushed 17d ago), licensed Apache-2.0. It adds 58 tokens to every session and 374 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

cf-ship-custom

This is a version bump + ship + release operation. Run these steps BEFORE the standard cf-ship workflow.

dinhanhthi/coding-friend · 0 tokens

cf-fix

Quick bug-fix workflow — reproduce, find the root cause, fix via cf-implementer, verify, auto-review. TRIGGER — the user reports a bug or broken behavior: "fix this", "it's broken", "not working", "there's a bug", "this crashes", "debug this", "it throws", "failing test", "regression", "unexpected behavior"; a pasted…

dinhanhthi/coding-friend · 133 tokens

cf-optimize

Structured performance work — baseline, analyze, optimize, measure, compare. TRIGGER — "this is slow", "make it faster", "optimize", "performance", "bottleneck", "too many queries", "high latency", "memory leak", "speed up", "timeout", "N+1", or any request to reduce time, memory, or query count with numbers to prove…

dinhanhthi/coding-friend · 112 tokens

cf-sys-debug

Systematic 4-phase debugging — root cause, hypothesis testing, regression-guarded fix, mandatory bug doc. TRIGGER — non-trivial or recurring bugs: "still broken", "same error again", "came back", flaky/intermittent/race, "used to work, now broken", hard-to-reproduce, works locally but fails in CI, "find the root…

dinhanhthi/coding-friend · 136 tokens

cf-warm

Catch up after absence — summarize git history for a user. Triggers: "warm up", "catch me up", "what happened while I was away", "summarize recent changes", "what changed since I left".

dinhanhthi/coding-friend · 50 tokens

cf-commit

Smart conventional commit with diff analysis. Triggers: "commit this", "commit my changes", "save my work", "create a commit", "git commit", "stage and commit".

dinhanhthi/coding-friend · 42 tokens