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 agentmods add skills/apache/doris-skills/doris-architecture-advisornpx skills add apache/doris-skills --skill doris-architecture-advisorgit 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-architecture-advisor)<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>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.00279 | $0.01784 |
| Opus 5 | $0.00139 | $0.00892 |
| Sonnet 5 | $0.00056 | $0.00357 |
| Haiku 4.5 | $0.00028 | $0.00178 |
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.
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-practiceswith sizing-first workflow.
Workflow
Follow these 5 steps in order:
-
DDL validation — The
doris-best-practicesskill 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. -
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. -
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 readreferences/decision-deployment-mode.mdif user hasn't specified cloud vs on-prem. -
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-strategyUpdates, CDC, device state tracking decision-data-model-selection,decision-mutable-state,decision-ingestion-strategySemi-structured / multi-protocol JSON decision-data-model-selection(VARIANT section)Dashboards, pre-aggregated metrics decision-query-accelerationPoint 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-selectionMulti-department / workload isolation decision-workload-classification(isolation section)Hot/cold tiering with data lake decision-workload-classification(lakehouse section),decision-deployment-mode
What ships with it
18 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.
- references/decision-data-model-selection.md 3.1 KB
- references/decision-deployment-mode.md 2.3 KB
- references/decision-ingestion-strategy.md 3.0 KB
- references/decision-mutable-state.md 2.7 KB
- references/decision-query-acceleration.md 3.8 KB
- references/decision-sizing-matrix.md 5.8 KB
- references/decision-time-series-design.md 5.6 KB
- references/decision-workload-classification.md 5.3 KB
- references/example-adtech-marketing.md 5.2 KB
- references/example-cdc-operational-sync.md 3.2 KB
- references/example-gaming.md 4.1 KB
- references/example-iot-sensor-platform.md 6.7 KB
- references/example-log-observability.md 4.3 KB
- references/example-logistics-courier.md 4.5 KB
- references/example-payment-fintech.md 5.1 KB
- references/example-retail-fashion.md 9.5 KB
- references/example-securities-analytics.md 13 KB
- references/example-web3-exchange.md 7.3 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.
- 6d ago First seen · 104 lines · 279 tokens per session scan A 9a24baf30406
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.
Other skills, from other repositories
yida-data-management
宜搭数据管理。表单实例/子表/流程实例/任务中心的查询、新增、更新,以及普通表单单实例的精确删除。表单走 /v1/form/,流程走 /v1/process/,不能混用。.
yida-aggregate-table
宜搭聚合表(virtualView)管理。用于列出、创建空聚合表、读取/预览设计配置、保存草稿、发布配置和查询构建状态;严格区分 stash 与 live revision,并在写入前校验固定前端已确认的六数组契约。.
yida-db-seq-fix
PostgreSQL Sequence 自动修复工具。检测并修复宜搭环境检测自动建表时 Sequence 起始值问题,避免主键冲突。当用户提到"Sequence"、"主键冲突"、"自增ID错误"、"db-seq-fix"时触发。.
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…
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…
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…