brandapp-sdk-review

brandapp-sdk-review is a skill for Claude Code, Codex from reopt-ai/reopt-skills. It costs 115 tokens per session (5,162 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 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,162 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.00115 $0.05162
Opus 5.5 $0.00046 $0.02065
Sonnet 5.5 $0.00023 $0.01032
Haiku 4.5 $0.00012 $0.00516

Measured 28d ago against content hash 11a9446f69d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 28d 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 · 144 lines

How it starts

The opening of the file, as written. The whole thing — 144 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.6 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.6.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.7.0-rc.* (npm next, not latest) — outside this skill's verified range. It adds machine credentials (/machine, authorization, private_key_jwt, REOPT_CLIENT_PRIVATE_KEY_JWK), step-up login, /resource / /superadmin / /installation, and requires better-auth ^1.7.7. Review those parts against the installed README.md + docs/machine.md, and say the patterns below were checked on 4.6.0. The rc's docs/machine.md example uses pre-2.0 env names and omits the required clientId, so do not quote it as a fix.

  • < 4.6.0 — the better-auth peer is ^1.7.1 and the SDK still forwards accountIssuer; 4.6 requires ^1.7.4 and makes the option inert. Check the lockfile, not the range: 1.7.0–1.7.2 key accounts by issuer (Cfg7 applies), 1.7.3+ by providerId / accountId.

  • < 4.5.0 — no @reopt-ai/brandapp-sdk/workspace platform client. Only relevant to code that already holds operator credentials; an app calling platform.reopt.ai through hand-written fetch is Plat1.

  • < 4.4.0 — records.list / cms.posts.list accepted an over-limit limit and the server answered 400 with nothing in the SDK to explain it; RECORDS_PAGE_LIMIT_MAX does not exist. Any literal limit: 200 (or anything > 100) is EAV4 regardless of version.

  • < 4.3.0 — FeedbackStatus has no resolved; a status union or filter written against 4.3+ will not typecheck, and one written before it silently omits resolved threads.

  • < 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.0 — Better Auth 1.7 wiring is mandatory. better-auth < 1.7.1 in package.json is a broken install (on 4.6+, anything below 1.7.4 is outside the peer range). 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.0 — webhook 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 · 144 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. 28d ago Changed · +3 lines 11a9446f69d9
  2. 2mo ago Changed · +15 lines · +23 tokens per session 9bad6dc7792b
  3. 3mo ago Changed · +5 lines · +13 tokens per session bb3188f2c51f
  4. 3mo 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 28d ago), licensed MIT. It adds 115 tokens to every session and 5,162 once invoked, about $0.0005 per session on Opus 5.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

brandapp-sdk-review compared with skills from other repositories

brandapp-sdk-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brandapp-sdk-reviewreopt-ai/reopt-skillsSkill128d agoMITA115Claude Code, Codex
code-review-and-qualityaddyosmani/agent-skillsSkill123k3d agoMITA81Claude Code
code-simplificationaddyosmani/agent-skillsSkill123k3d agoMITA87Claude Code
doubt-driven-developmentaddyosmani/agent-skillsSkill123k3d agoMITA96Claude Code
chinese-code-reviewjnMetaCode/superpowers-zhSkill8.7k5d agoMITA62Claude Code
receiving-code-reviewjnMetaCode/superpowers-zhSkill8.7k5d agoMITA50Claude Code
requesting-code-reviewjnMetaCode/superpowers-zhSkill8.7k5d agoMITA24Claude Code