All skills

Scripted, branded onboarding for LaunchDarkly. Fixed sequence with LaunchDarkly voice and tone. Enforces step completion before advancing. Redirects drift. Use when the user wants to set up LaunchDarkly from scratch or asks to start onboarding.

Use this Skill: https://skilld.dev/gh/launchdarkly/experimental-agent-skills/onboardingv2

This session only. Nothing lands on disk.

referencessdksnippetspython-server-sdk.md

≈701 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Python (Server) — SDK detail

Use a current launchdarkly-server-sdk release; see the SDK releases page and version compatibility (Python 3.9+ from SDK 9.12+).

Install (Install the SDK):

pip install launchdarkly-server-sdk

Optional observability (Python observability) — requires Python SDK 9.12+:

pip install launchdarkly-observability

Import (same topic):

import ldclient
from ldclient.config import Config

# Optional — launchdarkly-observability package; requires Python SDK v9.12+
# from ldobserve import ObservabilityPlugin

Initialize: Call ldclient.set_config(Config(...)) once, then ldclient.get() for the singleton client (Initialize the client). With observability: Config(sdk_key, plugins=[ObservabilityPlugin()]). Worker processes that fork may need postfork() (Considerations with worker-based servers).

Includes: Minimal onboarding script. SDK key: LAUNCHDARKLY_SDK_KEY (Apply: environment configuration).

import os
import sys

import ldclient
from ldclient.config import Config

if __name__ == "__main__":
    sdk_key = os.environ.get("LAUNCHDARKLY_SDK_KEY")
    if not sdk_key or not sdk_key.strip():
        print(
            "LAUNCHDARKLY_SDK_KEY is not set. Use Project settings > Environments > SDK key.",
            file=sys.stderr,
        )
        raise SystemExit(1)

    ldclient.set_config(Config(sdk_key))
    client = ldclient.get()

    if not client.is_initialized():
        print("LaunchDarkly client failed to initialize", file=sys.stderr)
        raise SystemExit(1)

    # For onboarding only — events are normally flushed in the background.
    client.flush()
    print("LaunchDarkly client ready.")

Source: SKILL.md on GitHub

2 warnings1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides a structured onboarding experience for LaunchDarkly, automating project detection, SDK installation, and MCP configuration. It adheres to security best practices by using OAuth for authentication, requiring user consent for secret management, and ensuring credentials are stored in git-ignored environment files.

  • Socket1mo

    1 alert: gptAnomaly

  • Snyk1mo

    Risk: MEDIUM · 1 issue

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

Last checked against GitHub 2 months ago.

Activeupdated 2 months ago
metadata
{
  "author": "launchdarkly",
  "version": "0.1.0"
}
Other metadata
compatibility
Requires npx and an MCP-compatible coding agent (Cursor, Claude Code, Windsurf, GitHub Copilot, etc.)

README badge

README badge for launchdarkly/experimental-agent-skills/onboardingv2