Token导航 LogoToken导航

Agent Skill · 开发

outlit-sdk(outlit SDK 命令行)

outlit-sdk 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

outlit-sdk 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 1,979。

总安装 21,763周安装 889GitHub Stars 公开资料未说明下载 6,970核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:outlit-sdk(outlit SDK 命令行)
来源仓库:https://github.com/leo-paz/outlit-sdk
安装命令:
openclaw skills install outlit-sdk
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install outlit-sdk

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

outlit-sdk 用于辅助前端页面、组件、样式和交互逻辑开发。适合在 OpenClaw 中维护前端项目、生成组件或检查界面实现时使用。通过 clawhub 安装,需结合来源仓库 README 核验具体用法。安装前建议确认权限范围、维护状态及是否触发联网或文件读写操作。注意该技能可能涉及命令执行,请确保环境安全。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install outlit-sdk;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

outlit-sdk 怎么安装?

在终端执行 openclaw skills install outlit-sdk。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

outlit-sdk 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

outlit-sdk 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

outlit-sdk 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

outlit-sdk 用的人多吗?

公开数据是累计安装 21,763 次,近一周安装 889 次,下载 6,970 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

outlit-sdk 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
outlit-sdk

outlit SDK 命令行 · 本页

21,763—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
outlit-sdk
description
Integrate Outlit SDK for customer context for agents. Triggers when users need to add Outlit to any web framework (React, Next.js, Vue, Nuxt, Svelte, Angular, Astro), server runtime (Node.js, Express, Fastify), desktop app (Tauri, Electron), or need help with Outlit event tracking, user identity, consent management, analytics migration, activation events, billing lifecycle, or troubleshooting existing Outlit installations.

Outlit SDK Integration

Decision-tree-driven guide for integrating Outlit customer journey tracking. Detects what it can from the codebase, asks only what it must, and links to official docs for implementation details.

Branching Check

Before anything else, check if Outlit is already installed:

  1. Look for @outlit/browser, @outlit/node, or outlit (Rust crate) in package.json or Cargo.toml
  2. If not installed -> go to Phase 1: Quick Connect
  3. If already installed -> go to Already Installed

Already Installed

Ask the user what they need help with:

Phase 1: Quick Connect

Goal: get events flowing in ~2 minutes so the user sees "Connected" on their Outlit onboarding screen. Zero user decisions required.

Step 1: Detect Framework & Package Manager

Use glob/grep to check:

  • Framework: Check package.json dependencies for next, vue, nuxt, react, svelte, @sveltejs/kit, @angular/core, astro, express, fastify. Check for Cargo.toml with tauri or outlit.
  • Package manager: Check for bun.lockb (bun), pnpm-lock.yaml (pnpm), yarn.lock (yarn), package-lock.json (npm). Use the first match found.

Step 2: Install SDK

Based on detected framework:

  • Browser app (React, Next.js, Vue, Nuxt, Svelte, Angular, Astro) -> @outlit/browser
  • Server app (Express, Fastify, Node.js) -> @outlit/node
  • Tauri -> outlit Rust crate via cargo add outlit
  • Electron -> @outlit/browser

Install using the detected package manager.

Step 3: Add Public Key

Ask the user for their Outlit public key. They get it from Outlit dashboard -> Settings -> Website Tracking or from the onboarding screen.

Add to environment variables with the correct framework prefix:

FrameworkEnv var
Next.jsNEXT_PUBLIC_OUTLIT_KEY
Vite (Vue, Svelte, React+Vite)VITE_OUTLIT_KEY
Create React AppREACT_APP_OUTLIT_KEY
NuxtNUXT_PUBLIC_OUTLIT_KEY
AngularAdd to environment.ts
AstroPUBLIC_OUTLIT_KEY
Server appsOUTLIT_KEY

Step 4: Minimal Setup

Fetch the framework-specific doc from the Doc URL Map and implement only the minimal setup — provider/init with just the publicKey, no auth, no consent, no custom events.

For React-based frameworks this means wrapping the app with OutlitProvider. For Vue it means installing the OutlitPlugin. For server apps it means creating an Outlit instance.

Step 5: Verify Connection

Tell the user to:

  1. Run their dev server
  2. Open the app in a browser
  3. Check the Outlit onboarding screen for the "Connected" badge
  4. Or check DevTools -> Network for requests to app.outlit.ai/api/i/v1/... returning 200

Once connected, ask: "Events are flowing. Ready to set up the full integration?"

If yes -> continue to Phase 2. If no -> they can come back later (the skill will detect the existing install).

Phase 2: Full Integration

Run the full detection first, then walk through each decision.

Full Detection

Use grep/glob to detect all of the following before starting the decision tree:

SignalHow to detect
Auth providerDeps: @clerk/nextjs, @clerk/clerk-react, next-auth, @auth/core, @supabase/auth-helpers-nextjs, @supabase/ssr, @auth0/auth0-react, @auth0/nextjs-auth0, firebase, @firebase/auth
Billing providerDeps: stripe, @stripe/stripe-js, @paddle/paddle-js, chargebee
Existing analyticsDeps: posthog-js, @posthog/node, @amplitude/analytics-browser, @amplitude/analytics-node, mixpanel-browser, @segment/analytics-next, @segment/analytics-node
Analytics abstractionGrep for files named analytics.ts, analytics.js, tracking.ts, tracking.js in lib/, utils/, helpers/, services/ that import 2+ analytics libraries
EU/consent signalsDeps: cookiebot, @onetrust/*, cookie-consent, or grep for existing consent/cookie banner components
App typeDeps: @tauri-apps/api, electron, react-native
Activation patternsGrep for onboarding routes/components, "first" resource creation handlers, invite flows

Present a summary of what was detected to the user before proceeding.

Decision 1: App Type & SDK Package

Auto-resolved from Phase 1 detection. If hybrid (e.g., Next.js with API routes that need server tracking), install both @outlit/browser and @outlit/node.

  • Electron -> @outlit/browser
  • Tauri -> outlit Rust crate
  • React Native -> @outlit/browser (uses fingerprint instead of cookies)

Decision 2: Consent Stance

DetectionRecommendation
Existing CMP/cookie banner libraryautoTrack: false, integrate with their existing CMP's consent callback to call enableTracking()
EU signals but no CMPautoTrack: false, mention they need a consent solution but don't build one unless asked
No EU signalsautoTrack: true — simpler, uses cookies immediately

Always explain the tradeoff: autoTrack: true starts tracking with cookies immediately. autoTrack: false waits until enableTracking() is called after user consent.

Fetch the relevant framework doc for consent implementation patterns.

Decision 3: Auth & Identity

DetectionRecommendation
React/Vue with OutlitProvider/OutlitPluginPass user prop with { email, userId } after auth resolves. No manual identify() needed.
Vanilla JS / script tagCall outlit.identify({ email, userId }) client-side right after auth completes
Server-only (Node/Rust)Call outlit.identify() server-side for event attribution

Critical: Client-side identify() (or the user prop) links the anonymous cookie/visitorId to a real person. This must happen after the auth flow completes. Server-side identify() is for attributing server events to a known user, but doesn't link browsing history.

If an auth provider was detected, fetch the framework doc and the identity resolution doc for the specific auth provider pattern.

Decision 4: Existing Analytics Strategy

DetectionRecommendation
Existing analytics abstraction (e.g., lib/analytics.ts wrapping PostHog + Amplitude)Add Outlit as another provider inside the existing abstraction
Scattered direct calls (e.g., posthog.capture() in 15 files)Tell the user: "I found [N] direct [PostHog/Amplitude] calls across [N] files. Want me to create an analytics wrapper that calls both, or add Outlit calls alongside the existing ones?"
No existing analyticsAdd Outlit directly, no wrapper needed

The goal is minimal code changes. Don't reorganize their project.

Decision 5: Activation Event

The activation event marks when a user first gets real value from the product. This is NOT just completing onboarding.

  1. Scan the codebase for value-moment patterns:

- First resource/project/item created - First core feature used (e.g., first message sent, first report generated) - First invite to a teammate - First successful integration/connection

  1. If a clear value moment is found -> suggest it: "It looks like creating their first [X] could be your activation event — is that where users first get value?"
  2. If only an onboarding flow is found -> mention it as a fallback: "I see an onboarding flow, but activation usually maps to when users get real value, not just completing setup. What action means a user has truly gotten value from your product?"
  3. If nothing obvious -> ask: "What action means a user has gotten real value from your product? That's where user.activate() should go."

Fetch the customer journey doc for user.activate() implementation.

Decision 6: Billing Integration

DetectionRecommendation
Stripe in dependenciesRecommend the Stripe webhook integration — it automatically handles customer.paid(), customer.trialing(), customer.churned() based on Stripe events. Fetch the customer journey doc for webhook setup.
Other billing provider (Paddle, Chargebee)Guide manual customer.paid() / customer.trialing() / customer.churned() calls in their existing webhook handlers
No billing provider detectedSkip. Mention it's available when they add billing.

Decision 7: Event Tracking

Pageviews are tracked automatically by default. For custom events:

  1. Scan the codebase for existing analytics calls, user action handlers, form submissions, key button clicks
  2. Suggest a list of events based on what the codebase reveals (e.g., form_submitted, feature_used, item_created, search_performed)
  3. Ask the user to confirm, modify, or add to the list before implementing
  4. Use snake_case for all event names

Fetch the framework doc for the track() API pattern.

Doc URL Map

Fetch these docs as needed for implementation details. Always prefer linking to docs over hardcoding patterns.

TopicURL
Quickstarthttps://docs.outlit.ai/tracking/quickstart
How tracking workshttps://docs.outlit.ai/tracking/how-it-works
NPM packagehttps://docs.outlit.ai/tracking/browser/npm
Reacthttps://docs.outlit.ai/tracking/browser/react
Next.jshttps://docs.outlit.ai/tracking/browser/nextjs
Vue 3https://docs.outlit.ai/tracking/browser/vue
Nuxthttps://docs.outlit.ai/tracking/browser/nuxt
SvelteKithttps://docs.outlit.ai/tracking/browser/sveltekit
Angularhttps://docs.outlit.ai/tracking/browser/angular
Astrohttps://docs.outlit.ai/tracking/browser/astro
Script taghttps://docs.outlit.ai/tracking/browser/script
Calendar embedshttps://docs.outlit.ai/tracking/browser/calendar-embeds
Node.jshttps://docs.outlit.ai/tracking/server/nodejs
Rust / Taurihttps://docs.outlit.ai/tracking/server/rust
Identity resolutionhttps://docs.outlit.ai/concepts/identity-resolution
Anonymous trackinghttps://docs.outlit.ai/concepts/anonymous-tracking
Customer journeyhttps://docs.outlit.ai/concepts/customer-journey
MCP integrationhttps://docs.outlit.ai/ai-integrations/mcp
Ingest APIhttps://docs.outlit.ai/api-reference/ingest
API introductionhttps://docs.outlit.ai/api-reference/introduction
Full docs indexhttps://docs.outlit.ai/llms.txt

Troubleshooting

No events in dashboard

  1. Verify the public key env var has the correct framework prefix (NEXT_PUBLIC_, VITE_, REACT_APP_, etc.)
  2. Confirm the provider/init wraps the entire app or runs at startup
  3. Check autoTrack setting — if false, enableTracking() must be called after consent
  4. Check DevTools -> Network for requests to app.outlit.ai/api/i/v1/... — look for 200 responses
  5. If requests are missing entirely, the SDK isn't initializing — check for errors in the console

Events not linked to users

  • identify() or the user prop must be called/set after the auth flow resolves
  • Include both email and userId for reliable identity resolution
  • Client-side identify links browsing history; server-side identify attributes server events

Server-side events missing

  • Always await outlit.flush() before the function returns, especially in serverless environments
  • Verify OUTLIT_KEY env var is set in the server environment

Race condition with async auth

Auth providers like Clerk and Auth0 load asynchronously. If user.activate() or identify() is called before the auth provider resolves, events get silently dropped. Ensure auth state is fully loaded before calling identity or stage methods.

Key Principles

  • Minimal changes — touch as few files as possible, add alongside existing code
  • Detect first, ask second — auto-resolve what you can, only prompt for genuine decisions
  • Recommendations have reasoning — when presenting a choice, lead with the recommendation and explain why
  • Client-side identify is critical — this links anonymous browsing to a real user
  • Flush in serverless — always await outlit.flush() before function exits
  • snake_case events — subscription_created not SubscriptionCreated
  • Both IDs — always provide both email and userId for identity resolution

Installation

To add this skill to your Claude Code environment:

npx add-skill outlitai/outlit-agent-skills
# or
bunx add-skill outlitai/outlit-agent-skills

平台分布

OpenClaw

82.03%
按下载量换算5,717

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills