objectstack-data

objectstack-data is a skill for Claude Code, Codex from objectstack-ai/objectstack. It costs 151 tokens per session (6,107 once invoked), scanned A, original, Apache-2.0.

A design guide for defining ObjectStack data schemas. A schema describes business records, their fields, relationships, validation rules, indexes, permissions, and lifecycle behavior.

In plain words
What is it for?
Use it to create or modify .object.ts and .seed.ts files, define objects and fields, add validations and relationships, improve query performance with indexes, and load fixture data.
Why use it?
It helps turn business concepts into consistent data definitions and choose suitable field types and relationships before building features that use the data.

Skill for Claude CodeCodex

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

Good fit Use it to create or modify .object.ts and .seed.ts files, define objects and fields, add validations and relationships, improve query performance with indexes, and load fixture data.

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

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 objectstack-data

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/objectstack-ai/objectstack/objectstack-data"><img src="https://agentmods.dev/badge/skills/objectstack-ai/objectstack/objectstack-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,107 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 201
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00151 $0.06107
Opus 5.5 $0.00060 $0.02443
Sonnet 5.5 $0.00030 $0.01221
Haiku 4.5 $0.00015 $0.00611

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

Security

Grade A, and why

objectstack-data 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.

skills/objectstack-data/SKILL.md · 470 lines

How it starts

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

Data Modeling — ObjectStack Data Protocol

Skill Boundaries

Need Use instead
Query, filter, or aggregate records objectstack-query
Define REST API endpoints or auth objectstack-api
Build views, dashboards, or apps objectstack-ui
Create a plugin or register services objectstack-platform

Quick Reference — Detailed Rules

For comprehensive documentation with incorrect/correct examples:

  • Naming Conventions — snake_case rules, option values, config properties
  • Field Types — All 49 field types and configs
  • Relationships — lookup vs master_detail, junction patterns, delete behaviors
  • Validation Rules — All validation types, script inversion, severity levels
  • Index Strategy — btree/gin/gist/fulltext, composite indexes, partial indexes
  • Data Lifecycle & Retention — lifecycle classes (record/audit/telemetry/transient/event), retention/TTL/rotation/archive policies; ❗ append-only objects must declare one (distinct from lifecycle hooks below)
  • Lifecycle Hooks — the 8 lifecycle events, handler vs sandboxed body (ctx + capability contract), registration, canonical patterns
  • Datasources & Federation — defineDatasource, external/federated objects (remoteName/columnMap), auto-connect gating, credentials; ❌ no field.columnName on external objects
  • Security & Access Control — permission sets, assignment rows, RLS policies, secret / requiredPermissions, tenancy, platform-global posture

Core Concepts

Object Definition

An Object is the fundamental data entity in ObjectStack. It maps to a database table and exposes automatic CRUD APIs.

Required properties:

Property Type Convention Description
name string snake_case Immutable machine identifier (/^[a-z_][a-z0-9_]*$/)
fields map keys in snake_case Field definitions
sharingModel enum one of the four below Org-wide default record visibility (OWD). Zod marks it optional, but a publish with no authored sharingModel is refused with the 422 lint envelope security-owd-unset — absence is not a decision (maintainer ruling 2026-08-13). Author it on every object

Read the full file on GitHub · 470 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. today Changed 296a63389c79
  2. 2d ago Changed ffa2d5fdb62a
  3. 3d ago Changed 20ff3281d6ae
  4. 5d ago Changed 581e77216954
  5. 8d ago Changed ec2ee0e18872
  6. 23d ago Changed · -385 lines · -62 tokens per session 0ef9c960bd4a
  7. 1mo ago Changed · +3 lines 75c23f90cd40
  8. 1mo ago Changed 9bdaf9110b2d
  9. 1mo ago Changed · -359 lines · +42 tokens per session f5da7acee926
  10. 1mo ago First seen · 1,211 lines · 171 tokens per session scan A f4c5ce61d54d

Subscribe to this mod's changes

objectstack-data is a skill published in the GitHub repository objectstack-ai/objectstack (72 stars, last pushed today), licensed Apache-2.0. It adds 151 tokens to every session and 6,107 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

ontotect

Systematic ontology engineering for designing, constructing, reviewing, repairing, optimizing, refactoring, validating, documenting, and governing ontologies, vocabularies, taxonomies, knowledge graphs, semantic models, and mappings. Use for RDF/RDFS, OWL 2, SKOS, SHACL, SPARQL, OBO, Turtle, JSON-LD, RDF/XML…

Moonweave-AI/Ontotect · 152 tokens

mykg

Run mykg knowledge-graph commands inside Claude Code from one slash command /mykg. The user describes intent in natural language (extract, append, sync, resume, approve, walkthrough, parse-docs, fetch-web, query); the skill parses intent, builds the right mykg CLI command from the live --help output, confirms, runs…

SenolIsci/mykg · 175 tokens

exchange-recovery

A recovery workflow for Exchange servers, which are systems used for organisational email and calendars. It covers planning a restoration from backups, creating a recovery job, and checking whether the service works afterward.

openbkn-ai/bkn-foundry · 0 tokens

data-to-ontology-mapping-and-instantiation

A mapping process that connects records and fields from confirmed data sources to classes, properties, relationships, and instances in an approved ontology. An instance is a concrete example of a modeled thing, such as one customer or order.

SuperChason/ontology-driven-ai-data-management-skills · 106 tokens

demand-deliverability-assessment

Use when a user asks whether a product demand (an existing forecast or a new order) can be delivered on knowledge network supply942verify: locate the forecast, read the inventory metric, run the kitting / net-demand function, and, only after explicit user confirmation, raise the simulated replenishment action.

openbkn-ai/bkn-foundry · 70 tokens

supplychain-hd

A knowledge guide for tracing a product supply process from demand estimates through suppliers.

openbkn-ai/bkn-foundry · 0 tokens