antfly-schema-design

antfly-schema-design is a skill for Claude Code, Codex from antflydb/antfly. It costs 0 tokens per session (267 once invoked), scanned A, original, Apache-2.0.

A guide for creating and changing Antfly table contracts: the definitions of a table's fields and indexes. It also covers checking existing tables, validating configured models, and keeping credentials out of configuration.

In plain words
What is it for?
Use it to inspect tables, define document fields, add indexes, verify sample data, and safely evolve an Antfly database.
Why use it?
It reduces the risk of duplicating tables, creating unusable indexes, recommending unavailable models, exposing secrets, or deleting data without confirmation.

Skill for Claude CodeCodex

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

Good fit Use it to inspect tables, define document fields, add indexes, verify sample data, and safely evolve an Antfly database.

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

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 antfly-schema-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/antflydb/antfly/antfly-schema-design"><img src="https://agentmods.dev/badge/skills/antflydb/antfly/antfly-schema-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 267 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.00000 $0.00267
Opus 5.5 $0.00000 $0.00107
Sonnet 5.5 $0.00000 $0.00053
Haiku 4.5 $0.00000 $0.00027

Measured yesterday against content hash 423b1ceb7daf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

antfly-schema-design 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 yesterday.

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.

zig/pkg/antfly/src/api/ard/skills/antfly-schema-design/SKILL.md · 22 lines

What it actually says

Antfly Schema Design

Use this skill when an agent needs to create or evolve Antfly table contracts.

Workflow

  1. list_tables and describe_table to see what already exists; extend before you duplicate.
  2. Create tables with create_table (or POST /db/v1/tables/{table}). Declare the document schema so indexes and SQL typing can rely on it; the x-antfly-* annotations drive indexing.
  3. Add indexes with create_index. Index types and their options change often; read the generated OpenAPI (/ard/v1/openapi/antfly.yaml, IndexConfig) rather than relying on memory.
  4. Verify with describe_indexes and a small sample_documents call once data is loaded.

Rules

  • Validate that requested embedders, enrichments and rerankers are configured in this deployment before you recommend them. Ask the user when a model or connection is missing instead of inventing one.
  • Never put credentials in table or index configuration. Reference them with ${secret:...} or server connections.
  • Dropping a table or index is irreversible. Clients that support MCP elicitation are asked to confirm by typing the name; do not try to bypass that confirmation.
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. yesterday First seen · 22 lines · 0 tokens per session scan A 423b1ceb7daf

Subscribe to this mod's changes

antfly-schema-design is a skill published in the GitHub repository antflydb/antfly (535 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 267 tokens. 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-12-03.

Related

antfly-schema-design compared with skills from other repositories

antfly-schema-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
antfly-schema-designantflydb/antflySkill535todayApache-2.0A0Claude Code, Codex
changebibinprathap/VeritasGraphSkill3285d agoMITA27Claude Code
deduplicatebibinprathap/VeritasGraphSkill3285d agoMITA29Claude Code
querybibinprathap/VeritasGraphSkill3285d agoMITA26Claude Code
abi-superpower-wdbxdonaldfilimon/abiSkill189d agoApache-2.0A33Claude Code, Codex
wdbxdonaldfilimon/abiSkill189d agoApache-2.0A30Claude Code, Codex
chromaNousResearch/hermes-agentSkill268ktodayMITA12Claude Code, Codex