objectstack-data

objectstack-data is a skill for Claude Code, Codex from objectstack-ai/objectstack. It costs 102 tokens per session (2,255 once invoked), scanned C, 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 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,255 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00102 $0.02255
Opus 5.5 $0.00041 $0.00902
Sonnet 5.5 $0.00020 $0.00451
Haiku 4.5 $0.00010 $0.00226

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

Security

Grade C, and why

objectstack-data scanned grade C with 1 finding 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

- **`readonlyWhen` and `readonly: true` drop the value; they do not refuse the
skills/objectstack-data/SKILL.md · 168 lines

How it starts

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

Data Modeling — ObjectStack Data Protocol

First checks

  1. Version. Read the installed @objectstack/spec (node_modules/@objectstack/spec/package.json); where it differs from this skill's compatibility line, the installed contract is right.
  2. Read what exists. Read the object being changed, those it references, and the hooks, seeds and permission sets naming it. Extend what is there: no second status field, owner field or look-alike object.
  3. Read the type's contract. references/_index.md points at each type's Zod source in node_modules/@objectstack/spec/src/. Read it for exact keys, defaults and enum members, never from memory. A running environment serves the parsed shape as JSON Schema (GET /api/v1/meta/types, entries[].schema): a defaulted key reads as required and a bare-string predicate as {}.
  4. Verify before reporting done. os validate (npm run validate in a scaffolded project), then os lint (its rules). Most traps below pass both.

Nothing to read yet? Say so in a line, then still give the whole definition as code.

Traps — each parses, then fails at run time

  1. A changed field does not reach a database that already has rows. The sync only adds: a column is never altered or dropped, and the column wins at write time. Rename with renamedFrom: ['old_key']; required is the write contract, never NOT NULL (Field Types).
  2. Search reads only this object's own stored columns. To search by a related record's title, mirror it into a stored text field in searchableFields, kept fresh by hooks on both objects; a dotted path or a formula there is refused (Search Fields).
  3. An object you do not own is extended, never redeclared: defineObjectExtension, relabelling the owner's fields through fieldPatches (redeclared in fields, a field is taken over and cut off from the owner's upgrades). An installed package's object is extended from its paired .custom package, each added field ending in __c (Object Extension Model).

Read the full file on GitHub · 168 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 19476c065886
  2. 2d ago Changed · -305 lines scan A → C bd7589a06319
  3. 3d ago Changed 0baf109fc2f4
  4. 4d ago Changed · +1 lines 743dacd73204
  5. 7d ago Changed · -1 lines e943f92406ed
  6. 8d ago Changed · -1 lines 69e54f8b562c
  7. 9d ago Changed · +1 lines 6c0e0a4cdf36
  8. 10d ago Changed · -4 lines · -49 tokens per session 19ec0d74332a
  9. 11d ago Changed · -2 lines 798bfc4ad58d
  10. 12d ago First seen · 479 lines · 151 tokens per session scan A 5d69883ec6d9

Subscribe to this mod's changes

objectstack-data is a skill published in the GitHub repository objectstack-ai/objectstack (109 stars, last pushed today), licensed Apache-2.0. It adds 102 tokens to every session and 2,255 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

objectstack-data compared with skills from other repositories

objectstack-data next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
objectstack-dataobjectstack-ai/objectstackSkill109todayApache-2.0C102Claude Code, Codex
ontotectMoonweave-AI/OntotectSkill23mo agoMITA152Codex
mykgSenolIsci/mykgSkill881mo agoMITA175Claude Code, Codex
pg-graphmicrosoft/postgres-skillsSkill6310d agoMITA57Claude Code
exchange-recoveryopenbkn-ai/bkn-foundrySkill1.9ktodaynoneA0Claude Code, Codex
supplychain-hdopenbkn-ai/bkn-foundrySkill1.9ktodaynoneA0Claude Code, Codex
k8s-networkopenbkn-ai/bkn-foundrySkill1.9ktodaynoneA0Claude Code, Codex