scylladb-data-modeling

scylladb-data-modeling is a skill for Claude Code from scylladb/agent-skills. It costs 241 tokens per session (2,477 once invoked), scanned A, original, Apache-2.0.

Guidance for designing tables and queries in ScyllaDB, a database built for applications that handle large amounts of data. It focuses on choosing partition keys, clustering columns, and table structures from the queries the application needs.

In plain words
What is it for?
Use it when creating or reviewing ScyllaDB tables, migrating data models, modeling time-series or event data, investigating performance problems, or evaluating indexes and materialized views.
Why use it?
It helps avoid schema choices that can cause slow queries, timeouts, unevenly loaded nodes, or oversized partitions. It also explains differences developers may encounter when moving from SQL, MongoDB, or Cassandra.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the scylladb plugin — 8 skills shipped together

Good fit Use it when creating or reviewing ScyllaDB tables, migrating data models, modeling time-series or event data, investigating performance problems, or evaluating indexes and materialized views.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scylladb/agent-skills/scylladb-data-modeling
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 scylladb/agent-skills --skill scylladb-data-modeling
Clone the repo
git clone --depth 1 https://github.com/scylladb/agent-skills

Made for: Claude Code.

Or install scylladb, the plugin that ships this one along with the rest of its 8 skills.

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 scylladb-data-modeling

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/scylladb/agent-skills/scylladb-data-modeling"><img src="https://agentmods.dev/badge/skills/scylladb/agent-skills/scylladb-data-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 241 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,477 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.
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.00241 $0.02477
Opus 5.5 $0.00096 $0.00991
Sonnet 5.5 $0.00048 $0.00495
Haiku 4.5 $0.00024 $0.00248

Measured 8d ago against content hash 23c20392746b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scylladb-data-modeling 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 8d 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/scylladb-data-modeling/SKILL.md · 127 lines

How it starts

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

ScyllaDB Data Modeling

If the task goes beyond this skill, use the parent scylladb skill for a ScyllaDB overview and the list of other ScyllaDB skills. If it is not installed, fetch it from https://raw.githubusercontent.com/scylladb/agent-skills/main/skills/scylladb/SKILL.md.

CQL data modeling patterns and anti-patterns for ScyllaDB. Bad schema is the root cause of most ScyllaDB performance issues — no amount of cluster scaling can fix a fundamentally wrong data model.

When to Use This Skill

  • Designing a new ScyllaDB schema from scratch
  • Migrating from SQL/relational databases, MongoDB, or Cassandra to ScyllaDB
  • Reviewing existing table designs for performance issues
  • Troubleshooting slow queries, timeouts, or hot nodes
  • Deciding how to structure primary keys (partition key + clustering columns)
  • Modeling time-series, IoT, or event data
  • Seeing large partition warnings in logs
  • Encountering ALLOW FILTERING in queries or code reviews
  • Adding secondary indexes or materialized views
  • Choosing a compaction strategy, or setting TTLs and retention on a table
  • Reads slowed by deletes, expired data, or tombstone warnings
  • Writing conditional statements (IF NOT EXISTS, IF EXISTS, IF <condition>) or choosing serial consistency

For adjacent topics, use the sibling skill instead:

  • Connecting a driver, choosing a driver, or preparing statements: scylladb-cloud-setup
  • Vector columns, vector indexes, and ANN queries: scylladb-vector-search
  • Tables created through the DynamoDB API: scylladb-alternator. The partition-key rules in this skill still apply to them.
  • Deploying the cluster on Kubernetes, including rack and replication-factor layout: scylladb-kubernetes

Key Principle

"Start from the queries, not from the entities."

This is ScyllaDB's core data modeling philosophy. Unlike relational databases where you normalize entities and then write queries against them, in ScyllaDB you:

  1. List your application's queries — every SELECT, UPDATE, and DELETE your application will run
  2. Design one table per query pattern — each table's primary key is crafted to serve a specific query efficiently
  3. Accept denormalization — the same data may exist in multiple tables, each optimized for a different access pattern

Read the full file on GitHub · 127 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. 8d ago Changed · +3 tokens per session 23c20392746b
  2. 20d ago Changed · +2 lines · +30 tokens per session 5f05a688252f
  3. 21d ago Changed · +19 lines · +74 tokens per session 9ee920c9c8f3
  4. 2mo ago First seen · 106 lines · 134 tokens per session scan A 4679d5f205d5

Subscribe to this mod's changes

scylladb-data-modeling is a skill published in the GitHub repository scylladb/agent-skills (9 stars, last pushed 9d ago), licensed Apache-2.0. It adds 241 tokens to every session and 2,477 once invoked, about $0.0010 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-31.

Related

scylladb-data-modeling compared with skills from other repositories

scylladb-data-modeling next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scylladb-data-modelingscylladb/agent-skillsSkill99d agoApache-2.0A241Claude Code
perf-version-comparisonscylladb/scylla-cluster-testsSkill72yesterdayAGPL-3.0A152Claude Code, Codex
cassandrabytesagain/ai-skillsSkill166mo agononeA47Claude Code, Codex
alloydb-basicsgoogle/skillsSkill22kyesterdayApache-2.0A72Claude Code, Codex
cloud-databases-onboardinggoogle/skillsSkill22kyesterdayApache-2.0A83Claude Code, Codex
spanner-basicsgoogle/skillsSkill22kyesterdayApache-2.0A47Claude Code, Codex
obsidian-baseskepano/obsidian-skillsSkill51k1mo agoMITA63Claude Code