doris-profile-reader

doris-profile-reader is a skill for Codex from apache/doris-skills. It costs 67 tokens per session (2,660 once invoked), scanned A, original, Apache-2.0.

A guide for reading Apache Doris query runtime profiles, which are detailed records of how a database query ran. It helps distinguish real work from time spent waiting on other operations or resources.

In plain words
What is it for?
Investigating slow Doris queries by examining scans, joins, runtime filters, queues, backpressure, and other profile metrics. Use it when you have a profile, query ID, profile text, or profile URL.
Why use it?
It prevents misleading wait counters from making the wrong database operator look slow. It also helps separate an immediate bottleneck from causes such as a poor join order.

Skill for Codex ✓ vendor

Written for Codex: agents/openai.yaml present.

Good fit Investigating slow Doris queries by examining scans, joins, runtime filters, queues, backpressure, and other profile metrics. Use it when you have a profile, query ID, profile text, or profile URL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/apache/doris-skills/doris-profile-reader
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 · 52 stars · on GitHub · doris.apache.org

Install

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.

Any agent
npx skills add apache/doris-skills --skill doris-profile-reader
Clone the repo
git clone --depth 1 https://github.com/apache/doris-skills

Made for: 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-profile-reader

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/apache/doris-skills/doris-profile-reader"><img src="https://agentmods.dev/badge/skills/apache/doris-skills/doris-profile-reader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,660 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.00067 $0.02660
Opus 5.5 $0.00027 $0.01064
Sonnet 5.5 $0.00013 $0.00532
Haiku 4.5 $0.00007 $0.00266

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

Security

Grade A, and why

doris-profile-reader 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/extract_source_profile_inventory.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-profile-reader/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Doris Profile Reader

Purpose

Use this skill to identify the real bottleneck in an Apache Doris query runtime profile. The core rule is to separate active work from dependency, queue, and backpressure waits before naming an operator as expensive. When the plan contains joins, also separate the immediate runtime bottleneck from the plan-shape cause, especially bad join order and runtime-filter direction.

Required Reading Order

  1. Read references/reading-workflow.md for the analysis workflow and output contract.
  2. Read references/counter-semantics.md for counter meaning and priority, especially wait counters.
  3. Read references/operator-guide.md for the relevant operator family.
  4. Read references/failure-patterns.md when the profile shows skew, bad join/distribution choices, weak pruning, sort/spill/resource pressure, external scans/catalogs, lifecycle waits, or when the user expects an issue-level root cause from profile-only evidence.
  5. Read references/join-order-diagnosis.md when the profile or plan has multiple joins, a large hash/nested-loop build, a large scan that might have been pruned by a join, paired fast/slow plans, hints/reordered SQL, or a request about join shape/reorder.
  6. Read references/runtime-filters.md when a profile or plan includes RuntimeFilterInfo, RF... <-, RF... ->, JRFs, WaitForRuntimeFilter, or AcquireRuntimeFilter.
  7. Use references/source-profile-inventory.md as the source-backed operator/counter inventory. If a counter or operator is not in the narrative docs, do not ignore it; look it up in this inventory and classify it by the rules in counter-semantics.md.
  8. Read references/solution-playbook.md when the user asks for a fix, workaround, mitigation, tuning, SQL rewrite, or when the requested output schema includes solution fields.
  9. Read references/known-issues-solutions.md after the root-cause layer is established and a solution is requested. Use it as historical evidence, not as a replacement for profile diagnosis.

Read the full file on GitHub · 74 lines

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. 3mo ago First seen · 74 lines · 67 tokens per session scan A 80e7a9ceff90

Subscribe to this mod's changes

doris-profile-reader is a skill published in the GitHub repository apache/doris-skills (52 stars, last pushed 4d ago), licensed Apache-2.0. It adds 67 tokens to every session and 2,660 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.

Related

doris-profile-reader compared with skills from other repositories

doris-profile-reader next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doris-profile-readerapache/doris-skillsSkill524d agoApache-2.0A67Codex
ladybugdbdelexw/claude-code-miscSkill28mo agoMITC173Claude Code, Codex
obsidian-baseskepano/obsidian-skillsSkill55k3d agoMITA63Claude Code
officecli-pitch-deckiOfficeAI/OfficeCLISkill34k10d agoApache-2.0A163Claude Code, Codex
morph-pptiOfficeAI/OfficeCLISkill34k10d agoApache-2.0A169Claude Code, Codex
officecli-academic-paperiOfficeAI/OfficeCLISkill34k10d agoApache-2.0A141Claude Code, Codex
officecli-pptxiOfficeAI/OfficeCLISkill34k10d agoApache-2.0A106Claude Code, Codex