doris-architecture-advisor

doris-architecture-advisor is a skill for Claude Code, Codex from apache/doris-skills. It costs 279 tokens per session (1,784 once invoked), scanned A, original, Apache-2.0.

A workload-based guide for designing Apache Doris data architectures, including data models, partitions, indexes, cluster sizing, and ingestion plans.

In plain words
What is it for?
Use it when planning Doris tables and clusters for workloads such as time series, device state, logs, dashboards, or large daily fact data.
Why use it?
It helps translate business and query requirements into Doris design choices instead of relying on generic database layouts.

Skill for Claude CodeCodex

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

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 · 39 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.

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

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-architecture-advisor

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/doris-skills/doris-architecture-advisor.svg)](https://agentmods.dev/skills/apache/doris-skills/doris-architecture-advisor)
Your own site
<a href="https://agentmods.dev/skills/apache/doris-skills/doris-architecture-advisor"><img src="https://agentmods.dev/badge/skills/apache/doris-skills/doris-architecture-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 279 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,784 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00279 $0.01784
Opus 5 $0.00139 $0.00892
Sonnet 5 $0.00056 $0.00357
Haiku 4.5 $0.00028 $0.00178

Measured 6d ago against content hash 9a24baf30406, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

doris-architecture-advisor 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 6d 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-architecture-advisor/SKILL.md · 104 lines

How it starts

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

Apache Doris Architecture Advisor

Workload-aware architecture design for Apache Doris. 8 decision rules, 3 worked examples. Complements doris-best-practices with sizing-first workflow.


Workflow

Follow these 5 steps in order:

  1. DDL validation — The doris-best-practices skill handles DDL correctness. Its Pre-Flight Checklist and DDL Gotchas apply to every CREATE TABLE. This advisor focuses on architecture decisions (which model, which partition strategy, which indexes), not DDL syntax. Always calculate explicit bucket counts. If volume is unknown, choose a conservative default: 3 for small dimensions, 8 for medium tables, 16-32 for large daily fact tables.

  2. Classify workload — Read references/decision-workload-classification.md. Match user's scenario to one or more of the 6 workload types. Composite workloads (e.g., IoT = time-series + device state + logs + dashboards) decompose into multiple sub-tables.

  3. Size the cluster — Read references/decision-sizing-matrix.md. Estimate write throughput, query QPS, latency target, and hot data volume. Output sizing as total vCPU and total cache only — never break down into per-node specs (in cloud / storage-compute mode, node count is typically managed by the platform). Also read references/decision-deployment-mode.md if user hasn't specified cloud vs on-prem.

  4. Design architecture — Based on workload classification, read the relevant decision rules:

    Workload signal Read these rules
    Append-only events, logs, time-series decision-data-model-selection, decision-time-series-design, decision-ingestion-strategy
    Updates, CDC, device state tracking decision-data-model-selection, decision-mutable-state, decision-ingestion-strategy
    Semi-structured / multi-protocol JSON decision-data-model-selection (VARIANT section)
    Dashboards, pre-aggregated metrics decision-query-acceleration
    Point query API, high-concurrency lookups decision-query-acceleration (point query section)
    Text search, log search, full-text decision-query-acceleration (index section)
    Vector / embedding search decision-query-acceleration (vector section)
    Warehouse layering (ODS/DWD/DWS/ADS) decision-workload-classification (layering section), decision-data-model-selection
    Multi-department / workload isolation decision-workload-classification (isolation section)
    Hot/cold tiering with data lake decision-workload-classification (lakehouse section), decision-deployment-mode

Read the full file on GitHub · 104 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. 6d ago First seen · 104 lines · 279 tokens per session scan A 9a24baf30406

Subscribe to this mod's changes

doris-architecture-advisor is a skill published in the GitHub repository apache/doris-skills (39 stars, last pushed 2d ago), licensed Apache-2.0. It adds 279 tokens to every session and 1,784 once invoked, about $0.0014 per session on Opus 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

yida-data-management

宜搭数据管理。表单实例/子表/流程实例/任务中心的查询、新增、更新,以及普通表单单实例的精确删除。表单走 /v1/form/,流程走 /v1/process/,不能混用。.

openyida/openyida · 60 tokens

yida-aggregate-table

宜搭聚合表(virtualView)管理。用于列出、创建空聚合表、读取/预览设计配置、保存草稿、发布配置和查询构建状态;严格区分 stash 与 live revision,并在写入前校验固定前端已确认的六数组契约。.

openyida/openyida · 71 tokens

yida-db-seq-fix

PostgreSQL Sequence 自动修复工具。检测并修复宜搭环境检测自动建表时 Sequence 起始值问题,避免主键冲突。当用户提到"Sequence"、"主键冲突"、"自增ID错误"、"db-seq-fix"时触发。.

openyida/openyida · 73 tokens

azure-cosmos-db

Expert knowledge for Azure Cosmos DB development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when using Cosmos DB SQL/Mongo/Cassandra APIs, change feed, multi-region HA, vector…

MicrosoftDocs/Agent-Skills · 120 tokens

azure-database-postgresql

Expert knowledge for Azure Database for PostgreSQL development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when using flexible server, replicas, PgBouncer/Query Store, vector…

MicrosoftDocs/Agent-Skills · 134 tokens

azure-database-mysql

Expert knowledge for Azure Database for MySQL development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when deploying MySQL Flexible Server, configuring HA/replicas, securing…

MicrosoftDocs/Agent-Skills · 136 tokens