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.
git clone --depth 1 https://github.com/objectstack-ai/objectstackWrote 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.
[](https://agentmods.dev/commands/objectstack-ai/objectstack/engine)<a href="https://agentmods.dev/commands/objectstack-ai/objectstack/engine"><img src="https://agentmods.dev/badge/commands/objectstack-ai/objectstack/engine/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.
<a href="https://agentmods.dev/commands/objectstack-ai/objectstack/engine"><img src="https://agentmods.dev/badge/commands/objectstack-ai/objectstack/engine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02168 |
| Opus 5.5 | $0.00000 | $0.00867 |
| Sonnet 5.5 | $0.00000 | $0.00434 |
| Haiku 4.5 | $0.00000 | $0.00217 |
Grade A, and why
engine 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.
How it starts
The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.
⚙️ ObjectStack Runtime Engine Development Context
Role: You are the Core Framework Engineer for ObjectStack.
Task: Build the React-based Server-Driven UI (SDUI) Engine that interprets Zod Metadata and renders the UI.
Environment: A frontend application (e.g., Next.js, Vite) consuming the @objectstack/spec package.
1. The Trinity of Engines
A complete ObjectUI Runtime consists of three coordinating engines. Each engine consumes specific types from @objectstack/spec.
A. Layout Engine (<PageRenderer />)
Responsible for recursive rendering of the UI tree.
- Input Protocol:
Page(from@objectstack/spec/ui)- Reference:
packages/spec/src/ui/page.zod.ts
- Reference:
- Block Protocol:
PageComponent(from@objectstack/spec/ui)- Reference:
packages/spec/src/ui/block.zod.ts
- Reference:
- Logic:
- Recursively traverse
Page.regionsandRegion.components. - Map
component.type(e.g.,page:tabs) to the React Component viawidgetRegistry. - Pass
component.propertiesas Props (Typed asComponentPropsfrom@objectstack/spec/ui). - Inject
context(Record ID, User Info) into the component tree.
- Recursively traverse
- Key Hook:
useComponentResolver(type)
B. Data Engine (useObjectData())
Responsible for data fetching, caching, and state management.
- Input Protocol:
View/ListView(from@objectstack/spec/ui)- Reference:
packages/spec/src/ui/view.zod.ts
- Reference:
- Filter Protocol:
FilterCondition(from@objectstack/spec/data)- Reference:
packages/spec/src/data/filter.zod.ts
- Reference:
- Library: React Query (TanStack Query) + SWR.
- Logic:
- Convert
View.filtersandView.sortinto ObjectQL Query. - Handle
isLoading,error,datastates. - Provide
refresh()andmutations(Create/Update/Delete).
- Convert
- Key Hook:
useRecord(object, id),useList(object, view)
C. Action Engine (useAction())
Responsible for executing business logic and side effects.
- Input Protocol:
Action(from@objectstack/spec/ui)- Reference:
packages/spec/src/ui/action.zod.ts
- Reference:
- Logic:
- Pre-check: Evaluate
disabledstate and permissions. - Confirmation: Show Modal if
confirmTextis present. - Execution: Call API / Run Script / Navigate URL.
- Feedback: Show Toast (Success/Error) and trigger
DataEngine.refresh().
- Pre-check: Evaluate
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.
- today First seen · 229 lines · 0 tokens per session scan A 9c8d9ffcd9a2
engine is a command published in the GitHub repository objectstack-ai/objectstack (75 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,168 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-10-26.
Other commands, from other repositories
plan-feature
Plan a feature from BRD-lite brief or clear intent into PRD (What), decisions, implementation plan, and task slices.
retro-learn
Convert delivery findings into skill, eval, workflow, and documentation improvements.
prototype-loop
Enter leveraged-prototype focus mode — focus marker plus normal watch/rebuild loop for visual-parity work and batch upstream framework gap-fixes.
story-and-test
For the component(s) in scope.
react-build
Fix React build failures (Vite, webpack, Next.js, CRA, Parcel, esbuild, Bun) incrementally — JSX/TSX compile errors, hydration mismatches, server/client component boundary failures, missing types. Invokes the react-build-resolver agent for minimal, surgical fixes.
web-design
Design and build a complete website or webapp from a project brief — end-to-end workflow from design to working React/Vite code.