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.
npx skills add reopt-ai/reopt-skills --skill brandapp-sdk-reviewgit clone --depth 1 https://github.com/reopt-ai/reopt-skillsWrote 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/skills/reopt-ai/reopt-skills/brandapp-sdk-review)<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.
<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>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.00115 | $0.05162 |
| Opus 5.5 | $0.00046 | $0.02065 |
| Sonnet 5.5 | $0.00023 | $0.01032 |
| Haiku 4.5 | $0.00012 | $0.00516 |
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 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-leveldocs/, notdist/docs/). Anti-pattern remedies live there; this skill is grep keys + categories only. Two surfaces are not indocs/: Better Auth wiring lives in the packageREADME.md, and 3.1–4.6 breaking detail lives inCHANGELOG.md(migration.mdstops at2.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.*(npmnext, notlatest) — 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 requiresbetter-auth ^1.7.7. Review those parts against the installedREADME.md+docs/machine.md, and say the patterns below were checked on 4.6.0. The rc'sdocs/machine.mdexample uses pre-2.0 env names and omits the requiredclientId, so do not quote it as a fix. -
< 4.6.0— thebetter-authpeer is^1.7.1and the SDK still forwardsaccountIssuer; 4.6 requires^1.7.4and makes the option inert. Check the lockfile, not the range: 1.7.0–1.7.2 key accounts byissuer(Cfg7 applies), 1.7.3+ byproviderId/accountId. -
< 4.5.0— no@reopt-ai/brandapp-sdk/workspaceplatform client. Only relevant to code that already holds operator credentials; an app callingplatform.reopt.aithrough hand-writtenfetchis Plat1. -
< 4.4.0—records.list/cms.posts.listaccepted an over-limitlimitand the server answered 400 with nothing in the SDK to explain it;RECORDS_PAGE_LIMIT_MAXdoes not exist. Any literallimit: 200(or anything > 100) is EAV4 regardless of version. -
< 4.3.0—FeedbackStatushas noresolved; 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 recordversion/ifVersion,increments, orexpiresAt, and no 422QUERY_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.0also has nosdk.analytics/startBrandappAnalytics. -
>= 4.0.0— Better Auth 1.7 wiring is mandatory.better-auth < 1.7.1inpackage.jsonis 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/reoptpath 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/reoptadded in the studio (exact match) — upgrading first breaks sign-in. Then Auth8 lists the call-site rewrites. -
< 3.6.0— no EAV record-listselectprojection (wide list views must fetch all values; recommend 3.6 before applying Perf2);< 3.5.0also 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.0has noplanshosted 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.xverifySignature(body, sig, secret)+record.*event handlers silently 401-reject / never fire in prod. BrowserclientSecretwas allowed (now throwsCONFIG_BROWSER_SECRET).ReoptAdapterConfig/ReoptEavConfig/ReoptAdapterErroraliases 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.0also retries mutations by default, treats AI timeout as wall-clock, backfills per record, and lacksQUERY_TOO_LARGE.< 2.0.0predates 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+.
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.
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.
- 28d ago Changed · +3 lines 11a9446f69d9
- 2mo ago Changed · +15 lines · +23 tokens per session 9bad6dc7792b
- 3mo ago Changed · +5 lines · +13 tokens per session bb3188f2c51f
- 3mo ago First seen · 121 lines · 79 tokens per session scan A a0b5341d0bbe
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.
brandapp-sdk-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| brandapp-sdk-reviewreopt-ai/reopt-skills | Skill | 1 | 28d ago | MIT | A | 115 | Claude Code, Codex |
| code-review-and-qualityaddyosmani/agent-skills | Skill | 123k | 3d ago | MIT | A | 81 | Claude Code |
| code-simplificationaddyosmani/agent-skills | Skill | 123k | 3d ago | MIT | A | 87 | Claude Code |
| doubt-driven-developmentaddyosmani/agent-skills | Skill | 123k | 3d ago | MIT | A | 96 | Claude Code |
| chinese-code-reviewjnMetaCode/superpowers-zh | Skill | 8.7k | 5d ago | MIT | A | 62 | Claude Code |
| receiving-code-reviewjnMetaCode/superpowers-zh | Skill | 8.7k | 5d ago | MIT | A | 50 | Claude Code |
| requesting-code-reviewjnMetaCode/superpowers-zh | Skill | 8.7k | 5d ago | MIT | A | 24 | Claude Code |