reopt-eav

reopt-eav is a skill for Claude Code, Codex from reopt-ai/reopt-skills. It costs 111 tokens per session (2,224 once invoked), scanned A, original, MIT.

A guide for managing the EAV schema in reopt Brandapp projects. An EAV schema stores different kinds of records and their attributes in a flexible structure.

In plain words
What is it for?
Use it to check status, pull or sync schemas, create and review diffs, plan and run file-based migrations, inspect migration history, and verify changes.
Why use it?
It helps compare local and server schemas, review changes, and avoid accidental destructive updates or drift between environments.

Skill for Claude CodeCodex

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

Good fit Use it to check status, pull or sync schemas, create and review diffs, plan and run file-based migrations, inspect migration history, and verify changes.

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

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 reopt-eav

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/reopt-ai/reopt-skills/reopt-eav"><img src="https://agentmods.dev/badge/skills/reopt-ai/reopt-skills/reopt-eav.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,224 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.
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.00111 $0.02224
Opus 5 $0.00056 $0.01112
Sonnet 5 $0.00022 $0.00445
Haiku 4.5 $0.00011 $0.00222

Measured 5d ago against content hash cd0a021e9a01, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

reopt-eav 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 5d ago.

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/reopt-eav/SKILL.md · 112 lines

How it starts

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

reopt EAV

This is NOT the reopt CLI you know. Run reopt brandapp eav --help / reopt brandapp eav <cmd> --help for the live command tree. The CLI ships no dist/docs/; if narrative context is needed, locate the README.md from the actual CLI installation or source checkout instead of assuming a local node_modules path. EAV schema authoring lives in @reopt-ai/brandapp-sdk/docs/api-reference.md.

When to apply

  • checking drift between local schema and server state
  • syncing schema changes to the server
  • generating a local schema from server state
  • reviewing destructive EAV changes in CI or local development
  • producing a markdown diff/risk report (eav diff)
  • file-based migrations (eav planmigratehistory / verify)
  • reading, counting, or pruning records for operational debugging (eav records, CLI 0.7.0+)

Load reopt-cli and reopt-brandapp first. Their shared agent-rules block (<!-- BEGIN:reopt/cli-agent-rules -->) covers this skill too — skip Step 1 if already pinned.

Step 1 — Pin agent rules (only if upstream skills haven't)

Same source/fallback/marker as reopt-cli. Idempotent: leave the block alone if it's already present.

Step 2 — Command map (refer to --help for flags)

Command Purpose Mutates server Status
eav status (alias st) Diff local schema vs server stable
eav sync (alias up) Apply diff + generate types stable
eav pull Generate schema file from server stable
eav diff Render schema diff vs server as a markdown report (preview) stable
eav plan <name> Scaffold a new migration file (--from-diff auto-fills up() from the live diff) stable
eav migrate Apply pending migrations sequentially behind an advisory lock (--dry-run to preview) stable
eav history Show pending / applied / drift / missing-file state stable
eav verify CI-friendly checksum validation against applied migrations stable
eav records list / get <id> / count Read records of one entity (--entity <name|id>, --filter '<AttributeFilter[] JSON>', --auth-user, --sort / --order, --select, --limit / --page) 0.7.0
eav records delete-where Delete every record matching a filter — counts first, exit 7 without --force ✓ (data) 0.7.0

Read the full file on GitHub · 112 lines

Files

What ships with it

2 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. 5d ago Changed · +15 lines · +24 tokens per session cd0a021e9a01
  2. 10d ago First seen · 97 lines · 87 tokens per session scan A 54eb32b08cb3

Subscribe to this mod's changes

reopt-eav is a skill published in the GitHub repository reopt-ai/reopt-skills (1 stars, last pushed 5d ago), licensed MIT. It adds 111 tokens to every session and 2,224 once invoked, about $0.0006 per session on Opus 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-31.

Related

Other skills, from other repositories

deprecation-and-migration

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset…

addyosmani/agent-skills · 69 tokens

signoz-writing-clickhouse-queries

Write raw ClickHouse SQL for a SigNoz dashboard panel: timeseries, value, or table widgets that the builder UI cannot express (custom joins, window functions, regex extraction over log bodies, aggregations beyond builder syntax). Trigger when the user explicitly asks for a "ClickHouse query", a "raw SQL panel", a…

SigNoz/agent-skills · 131 tokens

awesome-database-audit

Read-only audit of a database layer — schema anti-patterns (EAV, generic keys, imprecise types), query and index fit (SELECT , N+1, unindexable predicates), integrity and concurrency, migration and tenancy hygiene — with evidence per finding and a SHIP / FIX / BLOCK verdict. Use when asked to audit the database…

khasky/awesome-agent-skills · 134 tokens

data-engineering

Guides data pipeline design, ETL/ELT workflows, schema evolution, and data quality assurance. Use when building data pipelines, designing data warehouses, migrating schemas, or ensuring data integrity across systems. Use when you need reliable, testable, and observable data flows.

borhen68/SkillEngine · 59 tokens

postgres-ops

Operate a production Postgres database — backup strategy, point-in-time recovery, restore drills, connection pooling for serverless, and a disaster-recovery runbook. Use when asked to set up Postgres backups, plan disaster recovery, configure connection pooling, restore a database, or harden Postgres for production.…

shipshitdev/skills · 81 tokens

redis-caching

Redis caching, rate limiting, session storage, pub/sub, and production integration patterns for TypeScript, Next.js, NestJS, and Prisma applications. Use when adding cache-aside or write-through caching, rate limiting, session or lock storage, pub/sub fanout, or reviewing Redis key design and TTLs.

shipshitdev/skills · 67 tokens