Index of every page on this site: llms.txt
All skills
datadog-labs avatar

/dd-browser-sdk

@618fae3 official
Run it yourself

Datadog Browser SDK — RUM, Logs, Session Replay, profiling, product analytics, and error tracking setup, configuration, and migration. Use when upgrading Browser SDK versions, setting up RUM or Logs, or troubleshooting browser-side Datadog instrumentation.

Use this Skill: https://skilld.dev/gh/datadog-labs/agent-skills/dd-browser-sdk

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈69 tokens for metadata: the name and description. ≈406 when used: this file. ≈17k more on demand in 4 files.

Description uses 3.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈273 characters, or 3.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Datadog Browser SDK

RUM, Logs, and Session Replay instrumentation for browser applications.

Skills

Task Skill
Upgrade from v4 to v5 dd-browser-sdk/upgrade-v5
Upgrade from v5 to v6 dd-browser-sdk/upgrade-v6
Upgrade from v6 to v7 dd-browser-sdk/upgrade-v7
Set up sourcemap upload via the build plugin dd-browser-sdk/setup-sourcemaps

Routing

Upgrading from v4 to v5 (removed options like proxyUrl, sampleRate, replaySampleRate, premiumSampleRate, allowedTracingOrigins, deprecated APIs like addRumGlobalContext, removeUser, or /v4/ CDN paths):

Immediately read .claude/skills/dd-browser-sdk/upgrade-v5/SKILL.md — do not proceed from memory.

Upgrading from v5 to v6 (removed options like useCrossSiteSessionCookie, sendLogsAfterSessionExpiration, dropping IE11 support, or /v5/ CDN paths):

Immediately read .claude/skills/dd-browser-sdk/upgrade-v6/SKILL.md — do not proceed from memory.

Upgrading from v6 to v7 (removed options like betaEncodeCookieOptions, allowFallbackToLocalStorage, trackBfcacheViews, usePciIntake, or /v6/ CDN paths):

Immediately read .claude/skills/dd-browser-sdk/upgrade-v7/SKILL.md — do not proceed from memory.

Setting up sourcemap upload (minified stack traces in RUM or Error Tracking, requests to "upload sourcemaps" or "unminify errors", or a project with a vite/webpack/rollup/rspack/esbuild config and no @datadog/*-plugin configured):

Immediately read .claude/skills/dd-browser-sdk/setup-sourcemaps/SKILL.md — do not proceed from memory.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts17d3 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    The skill provides comprehensive guides and automated search commands for upgrading and configuring the Datadog Browser SDK. It follows security best practices, such as advising against hardcoded credentials and using official packages from a trusted vendor.

  • Socket1mo

    No alerts

  • Snyk17d

    Risk: LOW · No issues

Signed by skilld at 618fae3. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 2 months ago
Other metadata
metadata
{
  "version": "1.0.0",
  "author": "datadog-labs",
  "repository": "https://github.com/datadog-labs/agent-skills",
  "tags": "datadog,browser-sdk,rum,logs,session-replay,profiling,product-analytics,error-tracking,sourcemaps,build-plugin,cdn,npm,migration",
  "globs": "**/@datadog/browser-*,**/datadog-rum*,**/datadog-logs*"
}
  • datadog
  • browser-sdk
  • rum
  • logs
  • session-replay
  • profiling
  • product-analytics
  • error-tracking
  • cdn
  • npm
  • migration

README badge

README badge for datadog-labs/agent-skills/dd-browser-sdk

Configures and upgrades Datadog's Browser SDK for RUM, logs, session replay, profiling, product analytics, and error tracking. Use for initial setup, version migrations (especially v6 to v7), and troubleshooting browser-side instrumentation via CDN or npm.

Generated from the current SKILL.md.

What versions of the Datadog Browser SDK does this skill cover?
The skill includes guidance for upgrading from v6 to v7, with a dedicated upgrade-v7 skill that documents removed options and migration paths.
What aspects of Browser SDK setup does this skill handle?
The skill covers RUM, Logs, Session Replay, profiling, product analytics, and error tracking setup, configuration, and troubleshooting.
Does this skill support both CDN and npm installation methods?
Yes, the skill tags indicate support for both CDN and npm-based Browser SDK installation.
What breaking changes should I know about when upgrading to v7?
The upgrade-v7 skill documents removed options including betaEncodeCookieOptions, allowFallbackToLocalStorage, trackBfcacheViews, usePciIntake, and /v6/ CDN paths; the SKILL.md should be consulted for a complete list.

Generated from the current SKILL.md. These answers refresh after source changes.