Aerospike Data Modeling logo

Aerospike Data Modeling

Organization
aerospike
aerospike-data-modeling

Designs a new Aerospike data model from requirements, producing a schema guide and schema summary: record granularity, key design, bin structure, relationship and consolidation decisions, and index strategy. Use when no schema exists yet, when redesigning an existing model, or when reviewing a proposed schema for structural defects. This is design-time work that precedes code. For writing or reviewing client code against a model that already exists, or for client APIs, policies, CDT operations, and expression usage, use aerospike-development instead. Core database only; not Aerospike Graph.

Overview

Publisheraerospike
Repositoryagent-skills
Skill nameaerospike-data-modeling
Stars
20
Forks
9
Bundled files
6
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by aerospike on GitHub. Read the source before you install it.

Installation

Install the Aerospike Data Modeling AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aerospike/agent-skills/tree/main/skills/aerospike-data-modeling
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aerospike/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/aerospike-data-modeling .claude/skills/aerospike-data-modeling
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Aerospike Data Modeling in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Aerospike Data Modeling on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Aerospike Data Modeling is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Aerospike: data model design

Role

Act as a data architect. Your job is to turn requirements into a durable schema contract, not to write client code. The output is documents that a team reviews and implements against.

When to use this skill

Use it when the starting point is requirements without a schema:

  • A new application or service with no Aerospike model yet.
  • A redesign, where an existing model no longer serves its access patterns.
  • A review of a proposed schema for structural defects before implementation.

Not this skill: writing or reviewing client code against an existing model, tuning policies, choosing CDT operations, debugging a slow batch read. That is aerospike-development. If a schema already exists and the question is "how do I use it well," hand off.

Critical deliverables: schema guide and schema summary

  • Design produces two documents, written to files: a schema guide (the full design and its reasoning) and a schema summary (the condensed contract, generated from the guide, never authored independently). Both are required before any code. Contents and the regeneration rule: references/model-deliverables-schema-guide-summary.md.

Critical rules: the mental model for data architects

  • Required reading before designing anything. Aerospike is neither relational nor document: records are semi-structured and are the unit of I/O, there are no server-side joins, every record costs about 64 bytes of index per replica, and access patterns drive the model. The six properties and the record-sizing bounds: references/model-mental-model.md.

Clarification rules: do not design without clarifying first

  • The first deliverable is a written clarification document, not a schema. Ask requirements-gap questions, never mechanism-preference ones; stop rather than assume; record an input you cannot obtain as an explicit assumption with a reconsider trigger; design one entity group at a time and pass its review before the next. The full loop: references/model-design-time-workflow.md.

Common pitfalls: failure modes to check while drafting

  • Seven ways Aerospike models go wrong — record granularity from the entity list, secondary indexes as the primary query path, ignoring CDTs, bins used as columns, normalizing instead of denormalizing, unbounded collection growth, and small entities with no sizing decision. Check them during design, not after. Each with a detection test you can run: references/model-failure-modes-checklist.md.

Escalation mapping: use the data modeling guide

This skill covers the decision layer; the full workflow lives in the https://github.com/aerospike/data-modeling-guide repository. For a new application, fetch the guide and follow its checklist — do not design a complete model from this skill alone. Routing and the unreachable-guide fallback: references/ex-guide-escalation.md.

bash
gh repo clone aerospike/data-modeling-guide

Then read its AGENTS.md first — it carries the routing table and the hard rules — followed by new-app-modeling-checklist.md.

TaskGuide file
New model from scratch (required first read)new-app-modeling-checklist.md
Core concepts, record sizing, indexes, applied patternsconcepts-and-patterns.md
1:N pattern selectionone-to-many-relationships.md
A list that grows very large; sharding and overflowfollow-relationship-scale.md
List vs map, ordering, persisted indexescdt-api.md
Server-side filtering, computed bins, expression indexesexpressions.md
Nested CDT querying, list-of-structspath-expressions.md
Matching a workload to a known shape and its sizing profileworkload-archetypes.md
Reviewing a drafted modelmodeling-failure-modes.md
Identifier format / timestamp namingid-selection-guidance.md, timestamp-bin-naming-guidance.md

If you cannot reach the guide — no access, no gh auth, offline — say so plainly and state what that limits. Deliver what this skill supports (the mental model, the failure-mode checks, a clarification document) and flag that the sizing worksheets and decision packs were not applied. Do not improvise a complete model and present it as if the full process ran.

Version-gate rules

Several patterns depend on server version. Confirm the target version and client support before recommending any of them; the guide's checklist has a version gate table with fallbacks for each.

  • Path expressions — nested CDT filtering and indexing.
  • Expression indexes — sparse or computed-value indexing.
  • Multi-record transactions — atomic multi-record updates; require a strong-consistency namespace, and carry limits that rule them out for wide cascades. See concepts-and-patterns.md § Multi-record consistency.

Do not state a specific minimum version from memory. Read it from the guide or the client matrix.

See also

  • reference.md — external links.
  • aerospike-development — implementation-time work against an existing model.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Aerospike Data Modeling AI skill do?

Designs a new Aerospike data model from requirements, producing a schema guide and schema summary: record granularity, key design, bin structure, relationship and consolidation decisions, and index strategy. Use when no schema exists yet, when redesigning an existing model, or when reviewing a proposed schema for structural defects. This is design-time work that precedes code. For writing or reviewing client code against a model that already exists, or for client APIs, policies, CDT operations, and expression usage, use aerospike-development instead. Core database only; not Aerospike Graph.

Why use Aerospike Data Modeling on TypingMind?

Because you install it once and use it with any model. Aerospike Data Modeling is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Aerospike Data Modeling in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aerospike/agent-skills/tree/main/skills/aerospike-data-modeling. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Aerospike Data Modeling?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Aerospike Data Modeling?

As many as you like. As long as a model supports skills, you can use Aerospike Data Modeling with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Aerospike Data Modeling AI skill free?

Yes. It is published on GitHub by aerospike under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇