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 roedyrustam/vibes-plug --skill olap-columnar-analytics-expertgit clone --depth 1 https://github.com/roedyrustam/vibes-plugWrote 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/roedyrustam/vibes-plug/olap-columnar-analytics-expert)<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/olap-columnar-analytics-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/olap-columnar-analytics-expert/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/roedyrustam/vibes-plug/olap-columnar-analytics-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/olap-columnar-analytics-expert.svg" alt="Reviewed on agentmods" width="80" 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.00045 | $0.03079 |
| Opus 5.5 | $0.00018 | $0.01232 |
| Sonnet 5.5 | $0.00009 | $0.00616 |
| Haiku 4.5 | $0.00005 | $0.00308 |
Grade A, and why
olap-columnar-analytics-expert 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 today.
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 — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OLAP & Columnar Analytics Expert / Ahli Analitik Kolumnar & OLAP
English
Overview
You are a Staff Data & Analytics Systems Engineer specializing in sub-second OLAP engines (ClickHouse, DuckDB, Apache Iceberg). You prevent catastrophic OLTP PostgreSQL slowdowns by offloading high-cardinality telemetry, billing usage metering, and time-series aggregations to columnar storage with vectorized execution.
1. OLTP vs. OLAP Engine Selection Matrix
| Workload Pattern | Engine | Storage Format | Target Latency | Why Not OLTP Postgres? |
|---|---|---|---|---|
| Real-Time SaaS Customer Dashboards (100M+ rows) | ClickHouse (MergeTree / SummingMergeTree) |
Columnar compressed (ZSTD + LowCardinality) | < 50ms |
Postgres B-Tree scans choke on multi-million row GROUP BY |
| In-Process / Edge / Browser Parquet Analytics | DuckDB (Node.js / WASM) | Parquet / Arrow zero-copy | < 20ms |
Zero external server cost; runs vectorized SQL directly over S3/R2 Parquet |
| Multi-Engine Data Lakehouse & Time Travel | Apache Iceberg on S3/R2 | Parquet + Metadata JSON/Avro | < 500ms |
Decouples compute from petabyte-scale object storage |
2. ClickHouse Schema & Incremental Materialized Views
In ClickHouse, primary keys (ORDER BY) define physical sort order on disk (sparse index), not uniqueness:
- Order keys from lowest cardinality to highest cardinality (e.g.,
(tenant_id, toStartOfDay(recorded_at), event_type, event_id)). - Use
LowCardinality(String)for enums/status strings to achieve 10x compression and faster filtering. - Use Incremental Materialized Views (
AggregatingMergeTree/SummingMergeTree) to compute rollups at ingest time rather than query time.
-- 1. Raw Wide-Event Ingestion Table
CREATE TABLE telemetry_events (
tenant_id UUID,
event_id UUID,
event_type LowCardinality(String),
model_tier LowCardinality(String),
prompt_tokens UInt32,
completion_tokens UInt32,
cost_micros UInt64,
latency_ms UInt32,
recorded_at DateTime64(3, 'UTC')
)
ENGINE = MergeTree()
PARTITION BY toYYYYMM(recorded_at)
ORDER BY (tenant_id, toStartOfHour(recorded_at), event_type, event_id)
TTL toDateTime(recorded_at) + INTERVAL 180 DAY DELETE;
-- 2. Target Rollup Table for Sub-10ms Billing & Usage Dashboards
CREATE TABLE tenant_hourly_usage_rollup (
tenant_id UUID,
hour_bucket DateTime('UTC'),
event_type LowCardinality(String),
model_tier LowCardinality(String),
total_events SimpleAggregateFunction(sum, UInt64),
total_tokens SimpleAggregateFunction(sum, UInt64),
total_cost_micros SimpleAggregateFunction(sum, UInt64),
p95_latency_ms AggregateFunction(quantile(0.95), UInt32)
)
ENGINE = AggregatingMergeTree()
PARTITION BY toYYYYMM(hour_bucket)
ORDER BY (tenant_id, hour_bucket, event_type, model_tier);
-- 3. Real-Time Incremental Materialized View Triggered on Insert
CREATE MATERIALIZED VIEW mv_tenant_hourly_usage
TO tenant_hourly_usage_rollup
AS SELECT
tenant_id,
toStartOfHour(recorded_at) AS hour_bucket,
event_type,
model_tier,
count() AS total_events,
sum(prompt_tokens + completion_tokens) AS total_tokens,
sum(cost_micros) AS total_cost_micros,
quantileState(0.95)(latency_ms) AS p95_latency_ms
FROM telemetry_events
GROUP BY tenant_id, hour_bucket, event_type, model_tier;
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.
- today Changed · -26 tokens per session 69f8e1ac55f8
- 2d ago Changed · +71 lines 52a032c6a188
- 3d ago First seen · 176 lines · 71 tokens per session scan A 06d4f6ae24b2
olap-columnar-analytics-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (114 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 3,079 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-10-24.
Other skills, from other repositories
postgresql-table-design
Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.
deprecation-and-migration
Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset…
schema
Designing database schemas, migrations, and multi-tenant architecture: RLS, tenant routing, provisioning, quotas, and isolation. Not for query-plan tuning (Tuner).
seek
Designing search engines and vector DBs for full-text, vector, and hybrid retrieval, including permission-aware retrieval for multi-tenant or per-role corpora. Use for search design, index optimization, the RAG retrieval layer, or deciding where ACL filtering belongs in the query path.
system-and-data-design
Decide whether the system will hold, and where the data lives: requirements and load first, then back-of-the-envelope numbers, building blocks (cache, queue, load balancer, CDN), and the data layer in depth — storage engines, indexes, replication, partitioning, transactions and consistency, batch vs stream. Use when…
tuner
Tuning database queries via EXPLAIN ANALYZE, query plan optimization, index recommendations, and slow query detection. Not for schema/migrations (Schema) or non-DB performance (Bolt).