objectstack-query

objectstack-query is a skill for Claude Code, Codex from objectstack-ai/objectstack. It costs 106 tokens per session (4,871 once invoked), scanned A, original, Apache-2.0.

A guide for writing ObjectQL data queries, including filters, sorting, pagination, summaries, text search, and related-record expansion. ObjectQL is a query language for retrieving and shaping records.

In plain words
What is it for?
Use it when retrieving records, filtering lists, choosing page-by-page results, sorting data, calculating counts or sums, searching text, or including related records.
Why use it?
It helps produce valid queries while avoiding query options that the current engine accepts in its schema but does not actually run.

Skill for Claude CodeCodex

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

Good fit Use it when retrieving records, filtering lists, choosing page-by-page results, sorting data, calculating counts or sums, searching text, or including related records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/objectstack-ai/objectstack/objectstack-query
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-query
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-query

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/objectstack-ai/objectstack/objectstack-query"><img src="https://agentmods.dev/badge/skills/objectstack-ai/objectstack/objectstack-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,871 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 pass 7 Sept 2026
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.00106 $0.04871
Opus 5.5 $0.00042 $0.01948
Sonnet 5.5 $0.00021 $0.00974
Haiku 4.5 $0.00011 $0.00487

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

Security

Grade A, and why

objectstack-query 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-query/SKILL.md · 430 lines

How it starts

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

Query Design — ObjectStack Query DSL

Calling Convention — object is the FIRST ARGUMENT

Surface Shape Legal option keys
engine find / findOne engine.find('task', {…}, { context }) context, where, fields, orderBy, limit, offset, search, searchFields, expand — plus the driver passthrough keys transaction, tenantId, tenantIds, timezone, bypassTenantAudit, preserveAudit
engine aggregate engine.aggregate('deal', {…}) context, where, groupBy, aggregations, having, timezone, search, searchFields — the two search keys filter the input rows before grouping, AND-ed with where, exactly as on find
engine count engine.count('task', {…}) context, where
protocol / REST findData({ object: 'task', query: {…} }) object sits OUTSIDE the query
nested expand value a QueryAST — { object, fields, where } (see Expand)

ENGINE_FIND_OPTION_KEYS / ENGINE_AGGREGATE_OPTION_KEYS are closed sets: a key outside the row is refused by name (find('task') does not recognise option 'bogus'), never ignored. A standalone { object: 'account', limit: 20 } literal is therefore a QueryAST — legal as findData's query or an expand value — not an engine option bag. top folds to limit, filter to where, before that check.

The passthrough six ride along on find/findOne (and on update/delete) because there the option bag IS the base of the driver options, which is how an explicit tenantId reaches the driver. count and aggregate never forward the bag, so on those two the same keys are deliberately ILLEGAL — accepting them would be the silently-ignored option this check exists to close. The one exception is timezone: aggregate reads it itself, for date bucketing, so it is legal there and the row above lists it; count refuses it with the rest.

Which filter dialect?

Writing… Dialect Owner
an ObjectQL where the $ operators below this skill
a list view / nav-item filter [{ field, operator, value }] over the 20-operator VIEW_FILTER_OPERATORS enum (equals, icontains, is_null, before, between, …) — unknown operators are refused at parse objectstack-ui
a dataset measure filter the measure's own filter objectstack-ui

Read the full file on GitHub · 430 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 33d6c5b7b473
  2. 2d ago Changed · -11 lines 0d31032854b4
  3. 3d ago Changed 14f1b4d704ab
  4. 4d ago Changed 3a789c7e66e9
  5. 9d ago Changed · +1 lines · +11 tokens per session 237ba459d04b
  6. 10d ago Changed · +6 tokens per session b833c534d99c
  7. 12d ago Changed ddbaef3d1a94
  8. 15d ago Changed 4dbca69b1e3e
  9. 17d ago Changed 7a45cd57b41b
  10. 23d ago First seen · 440 lines · 89 tokens per session scan A 1f152149941f

Subscribe to this mod's changes

objectstack-query is a skill published in the GitHub repository objectstack-ai/objectstack (109 stars, last pushed today), licensed Apache-2.0. It adds 106 tokens to every session and 4,871 once invoked, about $0.0004 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

objectstack-query compared with skills from other repositories

objectstack-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
objectstack-queryobjectstack-ai/objectstackSkill109todayApache-2.0A106Claude 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