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/ui-library)<a href="https://agentmods.dev/commands/objectstack-ai/objectstack/ui-library"><img src="https://agentmods.dev/badge/commands/objectstack-ai/objectstack/ui-library/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/ui-library"><img src="https://agentmods.dev/badge/commands/objectstack-ai/objectstack/ui-library.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.00637 |
| Opus 5.5 | $0.00000 | $0.00255 |
| Sonnet 5.5 | $0.00000 | $0.00127 |
| Haiku 4.5 | $0.00000 | $0.00064 |
Grade A, and why
ui-library 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 — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🎨 ObjectUI Principles & Architecture
Goal: Create a world-class, enterprise-grade UI library for ObjectStack. Tech Stack: React, Tailwind CSS, Shadcn UI, Framer Motion.
1. Core Philosophy
- "Beauty as a Feature": Enterprise software doesn't have to be ugly. Use generous whitespace, subtle shadows, and smooth transitions.
- Radical Consistency: Every button, input, and card must feel like they belong to the same family.
- Composition over Configuration: Use standard Shadcn slots (
<Card><CardHeader>...) rather than monolithic config objects when writing internal code. - Tailwind Native: All styling must be via Tailwind utility classes. No
.cssfiles except for global variables.
2. Component Standards
A. The "cn" Pattern
Every component MUST accept className and merge it using cn() (clsx + tailwind-merge).
import { cn } from "@/lib/utils"
export function Badge({ className, variant, ...props }: BadgeProps) {
return (
<div className={cn("inline-flex items-center rounded-full px-2.5 py-0.5", className)} {...props} />
)
}
B. Shadcn Compatibility
- Do not modify
components/ui/*primitives heavily. Keep them upgradeable. - Use
cva(class-variance-authority) for managing component variants (primary, secondary, ghost).
C. Theming Variables
Theme is controlled via CSS variables in globals.css (in the consumer app or injected by LayoutProvider).
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--primary: 221.2 83.2% 53.3%; /* Brand Color */
--radius: 0.5rem;
}
3. Development Workflow
- Add Primitive: Use Shadcn CLI (or manual copy) to add atoms.
npx shadcn-ui@latest add dropdown-menu
- Build Block: Combine primitives into a "Block" (e.g.,
PageHeader). - Connect Engine: Wrap the Block in the
withEngineHoC if it needs data/logic.
4. Visual Standards
- Typography: Inter (default). Headings tight tracking, strict scale.
- Borders: Subtle (
border-zinc-200light /border-zinc-800dark). - Shadows:
shadow-smfor cards,shadow-lgfor dropdowns/modals. - Animation: Use
framer-motionfor complex entrances. Standard duration:200ms. - Dark Mode: First-class citizen. All colors must have dark substitutions.
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 · 67 lines · 0 tokens per session scan A e75225fd84ef
ui-library 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 637 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
shadcn-ui
Install and configure shadcn/ui components.
setup
Add Tailwind CSS v4 and shadcn/ui to an existing React/Vite project.
component-create
Create a new Next.js/React component following best-practice conventions.
dark-mode
You are a rigorous UI accessibility and design reviewer for React apps using Tailwind CSS v4 and Shadcn UI. You must.
visual
Frontend and UI specialist. Use for React/Vue/Svelte components, CSS/Tailwind styling, accessibility, responsive design, and visual implementation tasks.
to-code
A command that converts a selected design node into React and Tailwind code. React is a JavaScript interface library, and Tailwind is a CSS styling toolkit.