brandapp-sdk-review

brandapp-sdk-review is a skill for Claude Code, Codex from reopt-ai/reopt-skills. It costs 92 tokens per session (3,867 once invoked), scanned A, original, MIT.

A review workflow for projects that use the reopt Brandapp SDK for sign-in, custom data fields, subscription checkout, files, and webhooks. A webhook is a server-to-server message sent when an event occurs.

In plain words
What is it for?
Use it to audit an existing @reopt-ai/brandapp-sdk integration and check its Auth, EAV, Plans, Files, and webhook code for known anti-patterns.
Why use it?
It helps identify unsafe or outdated SDK usage, including version mismatches and mistakes in authentication, payments, file handling, or event processing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to audit an existing @reopt-ai/brandapp-sdk integration and check its Auth, EAV, Plans, Files, and webhook code for known anti-patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/reopt-ai/reopt-skills/brandapp-sdk-review
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 brandapp-sdk-review
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 brandapp-sdk-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/reopt-ai/reopt-skills/brandapp-sdk-review"><img src="https://agentmods.dev/badge/skills/reopt-ai/reopt-skills/brandapp-sdk-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,867 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00092 $0.03867
Opus 5 $0.00046 $0.01934
Sonnet 5 $0.00018 $0.00773
Haiku 4.5 $0.00009 $0.00387

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

Security

Grade A, and why

brandapp-sdk-review scanned grade A 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 7d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **F2 Unsafe preview or domain-error handling** — `fetch(file.url).text()` instead of `readContent`, or upload/delete/folder mutations without `STORAGE_LIMIT` / `FILE_IN_USE` / `FOLDER_NOT_EMPTY` branches
skills/brandapp-sdk-review/SKILL.md · 126 lines

How it starts

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

Brandapp SDK Review

This is NOT the SDK you know. Read node_modules/@reopt-ai/brandapp-sdk/docs/ before judging any usage (the package ships docs at top-level docs/, not dist/docs/). Anti-pattern remedies live there; this skill is grep keys + categories only. Two surfaces are not in docs/: Better Auth wiring lives in the package README.md, and 3.1–4.0 breaking detail lives in CHANGELOG.md (migration.md stops at 2.x → 3.0.0).

Step 1 — Pin agent rules into AGENTS.md / CLAUDE.md

Source: the module's own agent-rules file once it ships one (@reopt-ai/brandapp-sdk does not, as of 4.2.0). Fallback: agent-rules.md bundled with this skill. Wrap the source between <!-- BEGIN:reopt/brandapp-sdk-agent-rules --> and <!-- END:reopt/brandapp-sdk-agent-rules -->.

Markers are shared with brandapp-sdk-install — same module, one block. If the block already exists from install, leave it alone (replace only when stale).

Step 2 — Version gate

Inspect the installed version with grep '"@reopt-ai/brandapp-sdk"' package.json.

Also read the installed better-auth version — 4.0 and 1.7 move together.

  • < 4.2.0 — no record version / ifVersion, increments, or expiresAt, and no 422 QUERY_TOO_BROAD (broad filters were silently truncated). P10–P12 below assume 4.2; below it, flag the hand-rolled pattern and recommend the bump. < 4.1.0 also has no sdk.analytics / startBrandappAnalytics.
  • >= 4.0.0Better Auth 1.7 wiring is mandatory. better-auth < 1.7.1 in package.json is a broken install. Run Auth5/Auth8; the 1.6 client plugin, signIn.oauth2, and the /api/auth/oauth2/callback/reopt path no longer exist.
  • < 4.0.0 — the app is on the 1.6 flow. Before recommending the bump, check that any self-registered redirect URI has ${BETTER_AUTH_URL}/api/auth/callback/reopt added in the studio (exact match) — upgrading first breaks sign-in. Then Auth8 lists the call-site rewrites.
  • < 3.6.0 — no EAV record-list select projection (wide list views must fetch all values; recommend 3.6 before applying Perf2); < 3.5.0 also has no Files folders, rename/move, readContent, usage, or matching React hooks (recommend 3.5 for file-manager work).
  • < 3.4.0 — no subscription lifecycle webhooks, live Paddle hosted checkout/unified live cancellation result, or two-way feedback; < 3.1.0 has no plans hosted checkout at all (createCheckout / getCheckout / cancel). For any subscription / checkout UI recommend 3.4+ and run Err5/W3.
  • < 3.2.0 — no OIDC Single Logout. Flag hand-rolled token verification / end-session redirects; recommend 3.2+ (3.3 adds reliable request IDs + retryable 503 infrastructure failures).
  • < 3.0.0webhook contract differs from the live platform sender: 2.x verifySignature(body, sig, secret) + record.* event handlers silently 401-reject / never fire in prod. Browser clientSecret was allowed (now throws CONFIG_BROWSER_SECRET). ReoptAdapterConfig / ReoptEavConfig / ReoptAdapterError aliases still exist (removed in 3.0). Bump to 3.0 and run the W / Cfg patterns below.
  • < 2.3.0 — AI errors are not unified, model metadata is incomplete, and < 2.2.0 also retries mutations by default, treats AI timeout as wall-clock, backfills per record, and lacks QUERY_TOO_LARGE. < 2.0.0 predates the env-var rename (no aliases) and incrementally lacks the service token, schema drift, host split, narrowed EAV errors, and 4xx classes — migrate .env + bump first; every pattern below assumes 2.0+.

Read the full file on GitHub · 126 lines

Files

What ships with it

3 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. 7d ago Changed · +5 lines · +13 tokens per session bb3188f2c51f
  2. 12d ago First seen · 121 lines · 79 tokens per session scan A a0b5341d0bbe

Subscribe to this mod's changes

brandapp-sdk-review is a skill published in the GitHub repository reopt-ai/reopt-skills (1 stars, last pushed 7d ago), licensed MIT. It adds 92 tokens to every session and 3,867 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

code-review-and-quality

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.

addyosmani/agent-skills · 51 tokens

doubt-driven-development

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when you want every assumption cross-examined before proceeding, when stress-testing a plan for hidden failure modes, when correctness matters more than speed, when working in unfamiliar code, when stakes are high…

addyosmani/agent-skills · 96 tokens

code-simplification

Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

addyosmani/agent-skills · 51 tokens

chinese-code-review

A Chinese-language code-review communication guide with templates and severity levels for review comments.

jnMetaCode/superpowers-zh · 62 tokens

receiving-code-review

A guide for handling code-review feedback carefully. Code review is the process of checking proposed changes before they are accepted into a project.

jnMetaCode/superpowers-zh · 50 tokens

requesting-code-review

A code-review procedure for checking completed work against its requirements before it spreads or is merged. A code reviewer is a person or agent who looks for defects and missing parts.

jnMetaCode/superpowers-zh · 24 tokens