data-sdk-install

data-sdk-install is a skill for Claude Code, Codex from reopt-ai/reopt-skills. It costs 146 tokens per session (2,763 once invoked), scanned A, original, MIT.

A procedure for installing or upgrading the reopt Data SDK, a client-and-server software package for tracking data in applications. It supports Next.js, React, browser-only, and Node.js setups.

In plain words
What is it for?
Inspecting a project, reading the installed package instructions, adding or upgrading the SDK, configuring client and server tracking, and placing the required agent rules in the project.
Why use it?
It helps avoid mismatched package versions and integrations that ignore the project’s framework, existing setup, consent handling, or tenant structure.

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 Inspecting a project, reading the installed package instructions, adding or upgrading the SDK, configuring client and server tracking, and placing the required agent rules in the project.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/reopt-ai/reopt-skills/data-sdk-install"><img src="https://agentmods.dev/badge/skills/reopt-ai/reopt-skills/data-sdk-install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,763 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.00146 $0.02763
Opus 5 $0.00073 $0.01381
Sonnet 5 $0.00029 $0.00553
Haiku 4.5 $0.00015 $0.00276

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

Security

Grade A, and why

data-sdk-install 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 4d 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/data-sdk-install/SKILL.md · 89 lines

How it starts

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

reopt Data SDK Install

Read the installed package READMEs before writing integration code. The supported suite is @reopt-ai/data-sdk-client + @reopt-ai/data-sdk-server; @reopt-ai/data-sdk-devtool is optional; @reopt-ai/data-cli (bin reopt-data, Node 22+) is the build/CI tool for source maps and the event catalogue. @reopt-ai/data-sdk on npm is a deprecated meta-package — never install or import it.

When to apply

Use for first installs, upgrades, and turning on error tracking in an app that already tracks. Default to a complete Next.js App Router integration; route React, vanilla, and Node-only requests to the matching README.

Step 1 — Inspect before changing

  1. Detect package manager, framework and versions, existing SDK imports, env names, proxy.ts / middleware.ts, provider/layout, server tracking, consent owner, tenant model, and whether a build step already emits source maps.
  2. Read the installed versions from package manifests. Supported floor: client/server 0.2.0, optional devtool 0.2.0, contract 0.7.0; verified against client 0.4.0, server 0.5.0, contract 0.10.0, data-cli 0.1.0. Keep client and server on the same release when both are installed. A 0.1.x client still ingests, but it lacks the structured $exception_list, captureException options, breadcrumbs and release — upgrade before wiring error tracking. Server 0.5.0 dropped its reopt-data bin: a postbuild that calls inject-chunk-ids / upload-sourcemaps from the server package breaks on upgrade until @reopt-ai/data-cli is added as a dev dependency.

Step 2 — Pin agent rules

No Data SDK package ships an agent-rules file as of the versions above. Use this skill's agent-rules.md fallback and place it in AGENTS.md (or CLAUDE.md only when AGENTS is absent) between:

<!-- BEGIN:reopt/data-sdk-agent-rules -->
…fallback content…
<!-- END:reopt/data-sdk-agent-rules -->

Replace only content inside existing markers.

Step 3 — Consumer setup

Read the full file on GitHub · 89 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. 4d ago Changed · +21 lines · +70 tokens per session 305f66902489
  2. 9d ago First seen · 68 lines · 76 tokens per session scan A fbe58c3904ac

Subscribe to this mod's changes

data-sdk-install is a skill published in the GitHub repository reopt-ai/reopt-skills (1 stars, last pushed 5d ago), licensed MIT. It adds 146 tokens to every session and 2,763 once invoked, about $0.0007 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

api-and-interface-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

addyosmani/agent-skills · 49 tokens

slack-api

Use when a developer asks which Slack Web API method does something, needs a method's OAuth scopes or token type, wants to call or test a family.method endpoint (chat.postMessage, conversations.history, users.info, views.open), is handling cursor pagination (nextcursor) or rate limits (tier/ratelimited/Retry-After)…

slackapi/slack-skills-plugin · 109 tokens

create-slack-app

Use when a developer wants to create, scaffold, or bootstrap a new Slack app or agent from scratch with the Slack CLI. Covers prerequisites, sandbox setup, authentication, and creating + running a project from a Bolt (JS or Python) template locally. Trigger on "create a Slack app", "new Bolt app", "start a Slack…

slackapi/slack-skills-plugin · 74 tokens

awesome-performance-audit

Read-only audit of performance and reliability — event-loop discipline, streaming and backpressure, memory and CPU diagnostics, shutdown/timeout/job habits, resilience topology (circuit breakers, retry budgets, queue bounds), and frontend delivery (Core Web Vitals, bundle size, hydration) — with evidence per finding…

khasky/awesome-agent-skills · 147 tokens

awesome-error-standards

A guide for handling failures consistently in an application or API. It distinguishes expected operational problems, such as timeouts or invalid input, from programmer errors that indicate a bug.

khasky/awesome-agent-skills · 80 tokens

awesome-api-design

A guide for designing an HTTP API, the agreed way that software systems exchange requests and responses. It covers resources, URLs, versioning, pagination, retries, and errors before implementation.

khasky/awesome-agent-skills · 117 tokens