Token导航 LogoToken导航

Agent Skill · 研究检索

clix-integration(克里克斯整合)

clix-integration 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

clix-integration 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 62,606。

总安装 329周安装 14GitHub Stars 5下载 115核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:clix-integration(克里克斯整合)
来源仓库:https://github.com/clix-so/skills
仓库路径:skills/clix-integration
安装命令:
npx skills add https://github.com/clix-so/skills --skill clix-integration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/clix-so/skills --skill clix-integration

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

Clix SDK 集成指导技能,优先通过 MCP 服务器获取最新 SDK 源码。适用于移动端应用接入 Clix 数据分析服务的技术实施场景。采用 MCP First 策略,先调用 clix-mcp-server:search_sdk 获取权威安装指引。

若 MCP 不可用则回退到官方文档,需手动验证 SDK 版本与项目兼容性。clix-integration 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/clix-integration

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/clix-so/skills --skill clix-integration;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

clix-integration 怎么安装?

在终端执行 npx skills add https://github.com/clix-so/skills --skill clix-integration。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

clix-integration 支持哪些 AI 工具?

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

clix-integration 需要什么权限?

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

clix-integration 是免费的吗?

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

clix-integration 用的人多吗?

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

clix-integration 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

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

适不适合你

更适合

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

不太适合

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

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
clix-integration

克里克斯整合 · 本页

3295接触敏感数据MIT有提醒

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

SKILL.md 原文

Clix SDK Integration Skill

This skill provides comprehensive guidance for integrating Clix analytics SDK into mobile applications. Follow the workflow below to ensure proper installation and configuration.

Integration Strategy (MCP First)

This skill follows an "MCP First" strategy to ensure agents always use the latest verified SDK source code.

Step 1: Check for MCP Capability

  • Check if the Clix MCP Server tools (clix-mcp-server:search_sdk, clix-mcp-server:search_docs) are available in your toolset.

Step 2: Primary Path (MCP Available)

  • MUST use clix-mcp-server:search_sdk to fetch exact initialization code for the target platform (e.g., clix-mcp-server:search_sdk(query="initialize", platform="android")).
  • Use these fetched results as the Single Source of Truth for implementation.
  • Do NOT rely on static examples if MCP returns valid results.

Step 3: Fallback Path (MCP Unavailable)

  • If checks for clix-mcp-server fail:

1. Ask the user: "The Clix MCP Server is not detected. It provides the latest official SDK code. Would you like me to install it now?" 2. If User says YES: - Run: bash scripts/install-mcp.sh --client <your-client> - The script will: - Verify the package is available - Configure the MCP server for the specified client - (If you omit --client and multiple clients are installed, the script will stop and ask you to choose.) - Automatically configure the MCP server in the appropriate config file - Provide clear instructions for restart - Instruct user to restart their agent/IDE to load the new server. - Stop here (let user restart). 3. If User says NO: - Fall back to using the static patterns in references/framework-patterns.md and examples/. - Inform the user: "Proceeding with static fallback examples (may be outdated)."

Interaction Guidelines for Agents

When using this skill (for example inside OpenCode, Amp, Claude Code, Codex, Cursor, or other AI IDEs), follow these behaviors:

  • Start with reconnaissance

- Inspect the project structure first (list key files like package.json, Podfile, build.gradle, pubspec.yaml, AppDelegate.swift, MainActivity.kt, etc.) - Clearly state what you detected (e.g., “This looks like a React Native project with iOS and Android”)

  • Ask clarifying questions when needed

- If multiple platforms are present, ask the user which one(s) to integrate first - If the structure is unusual, ask before making assumptions

  • Explain each step briefly

- Before making changes, say what you are about to do and why (install dependency, update entrypoint, add config, etc.) - Keep explanations short but concrete, so the user understands the impact

  • Handle errors gracefully

- If a command or change fails, show the error, explain likely causes, and suggest concrete next steps - Avoid getting stuck in loops—propose a fallback if automation fails

  • End with a verification summary

- Summarize what was installed/modified (files touched, dependencies added) - Point out any remaining manual steps (e.g., Xcode capabilities, Firebase config, running the app to test)

Integration Workflow

Phase 1: Prerequisite — Credentials (User Setup)

Before continuing, the user must ensure the following environment variables are available to the app at runtime:

  • CLIX_PROJECT_ID
  • CLIX_PUBLIC_API_KEY

How to get credentials:

  • Ask the user to visit https://console.clix.so/ and copy the values for their Clix project.

How to set credentials:

  • Add them to a local .env file (recommended), or to your framework’s env configuration (see references/framework-patterns.md).
  • Ensure .env is in .gitignore.

Security warning:

  • Do not paste credentials into chat. Enter them directly into the user’s terminal/editor.

Phase 2: Project Type Detection

Step 2.1: Identify Platform

Examine the codebase structure to determine platform:

  • iOS: Look for .xcodeproj, Podfile, Info.plist, Swift/Objective-C files
  • Android: Look for build.gradle, AndroidManifest.xml, Kotlin/Java files
  • Flutter: Look for pubspec.yaml, lib/main.dart, plus ios/ and android/ folders
  • React Native: Look for package.json with React Native dependencies, android/ and ios/ folders
  • Other: If it’s not one of the above, stop and ask the user—this skill is mobile-only.

Priority rule (important): If React Native or Flutter is detected, treat it as the primary platform even if native ios/ and android/ folders exist.

Step 2.2: Verify Detection

Confirm platform detection with user if ambiguous:

  • Multiple platforms detected (e.g., React Native has both iOS and Android)
  • Unusual project structure
  • Hybrid applications

Phase 3: SDK Installation

Step 3.1: Install SDK Package

Install the appropriate SDK based on detected platform:

iOS (Swift Package Manager):

// Add to Package.swift or Xcode: https://github.com/clix-so/clix-ios-sdk

iOS (CocoaPods):

# Add to Podfile
pod 'Clix', :git => 'https://github.com/clix-so/clix-ios-sdk.git'

Android (Gradle):

// Add to build.gradle.kts
implementation("so.clix:clix-android-sdk:latest")

React Native:

npm install @clix-so/react-native-sdk
# or
yarn add @clix-so/react-native-sdk

Flutter:

  • Add the Clix Flutter SDK dependency in pubspec.yaml: dependencies: clix_flutter: ^0.0.1 firebase_core: ^3.6.0 firebase_messaging: ^15.1.3
  • If MCP tools (search_docs, search_sdk) are available, use them to confirm the latest package version and setup steps.

Step 3.2: Verify Installation

  • Check that package appears in dependency files (package.json, Podfile.lock, build.gradle)
  • Verify import/require statements work
  • Check for installation errors

Phase 4: SDK Initialization

Step 4.1: Locate Entry Point

Find the appropriate initialization location:

  • iOS: AppDelegate.swift or @main app file
  • Android: Application.kt or Application.java class
  • Flutter: lib/main.dart
  • React Native: Root component or index.js

Step 4.2: Initialize SDK

Add initialization code following platform-specific patterns (see examples/ directory):

Key Requirements:

  • Initialize early in application lifecycle
  • Use environment variables for credentials (never hardcode)
  • Handle initialization errors gracefully
  • Follow framework-specific best practices

Step 4.3: Configure SDK

Set up SDK configuration:

  • Use CLIX_PROJECT_ID from environment variables
  • Use CLIX_PUBLIC_API_KEY from environment variables
  • Set appropriate environment (production/staging/development)
  • Configure logging level if needed
  • Enable/disable features as required

Phase 5: Integration Verification

Step 5.1: Code Review

Verify integration completeness:

  • SDK is imported/required correctly
  • Initialization code is in correct location
  • Credentials are loaded from environment variables
  • Error handling is implemented
  • No hardcoded credentials

Step 5.2: Verify Integration

Run validation checks:

  • Execute scripts/validate-sdk.sh if available
  • Check that SDK initializes without errors
  • Verify environment variables are accessible
  • Verify SDK is properly imported and initialized

Platform Verification Checklists (UI Steps → Repo Verification)

Use these checklists to verify manual UI steps were actually completed.

iOS Verification
  • Dependencies present: Podfile/Podfile.lock or SwiftPM/Xcode references
  • Entitlements present: an *.entitlements file exists and is wired to the correct target(s)
  • Capabilities configured: project.pbxproj reflects required capabilities (as applicable to Push Notifications / Background Modes)
Android Verification
  • Dependencies present: module-level build.gradle / build.gradle.kts includes required SDK dependencies
  • Manifest updated: AndroidManifest.xml contains required permissions, services/receivers (as required by the SDK)
  • Firebase config placed (if used): google-services.json exists in the expected module directory (commonly app/)
React Native Verification
  • JS dependency: package.json includes the Clix package
  • iOS native: ios/Podfile.lock updated after pod install (when required)
  • Android native: Gradle + Manifest updates present if required by the SDK
  • Initialization: root entrypoint initializes the SDK exactly once
Flutter Verification
  • Pub dependency: pubspec.yaml includes the required packages and pubspec.lock is updated after flutter pub get
  • iOS native: ios/Podfile.lock updated after pod install (when required)
  • Android native: Gradle + Manifest updates present if required
  • Initialization: SDK initialized before runApp

Step 5.3: Documentation

Create or update documentation:

  • Add integration notes to README.md
  • Document environment variables needed
  • Note any framework-specific considerations
  • Update .env.example if it exists

Framework-Specific Patterns

iOS (Swift)

Initialization Pattern:

import Clix

@main
struct MyApp: App {
    init() {
        // Load credentials from your app configuration (do NOT hardcode).
        // Example: store values in Info.plist keys.
        let projectId = Bundle.main.object(forInfoDictionaryKey: "CLIX_PROJECT_ID") as? String ?? ""
        let apiKey = Bundle.main.object(forInfoDictionaryKey: "CLIX_PUBLIC_API_KEY") as? String

        let config = ClixConfig(projectId: projectId, apiKey: apiKey)
        Clix.initialize(config: config)
    }
}

Key Points:

  • Initialize in @main app struct or AppDelegate
  • Use environment variables, never hardcode
  • Handle optional API key for analytics-only mode

Android (Kotlin)

Initialization Pattern:

import so.clix.core.Clix
import so.clix.core.ClixConfig

class MyApplication : Application() {
    override fun onCreate() {
        super.onCreate()

        // Load credentials from BuildConfig (do NOT hardcode).
        val config = ClixConfig.Builder()
            .projectId(BuildConfig.CLIX_PROJECT_ID)
            .apiKey(BuildConfig.CLIX_PUBLIC_API_KEY)
            .build()

        Clix.initialize(this, config)
    }
}

Key Points:

  • Initialize in Application.onCreate()
  • Use Application context, not Activity context
  • Register Application class in AndroidManifest.xml

React Native

Initialization Pattern:

import { Clix } from "@clix-so/react-native-sdk";
import Config from "react-native-config";

// In App.tsx or index.js
Clix.initialize({
  projectId: Config.CLIX_PROJECT_ID || "",
  apiKey: Config.CLIX_PUBLIC_API_KEY,
});

Key Points:

  • Initialize in root component
  • Use react-native-config (or similar) for environment variables
  • Link native dependencies if needed

Flutter

Initialization Pattern:

import 'package:clix_flutter/clix_flutter.dart';

Future<void> main() async {
  // Load credentials from build-time configuration (do NOT hardcode).
  // Example:
  // flutter run --dart-define=CLIX_PROJECT_ID=... --dart-define=CLIX_PUBLIC_API_KEY=...
  const projectId = String.fromEnvironment('CLIX_PROJECT_ID');
  const apiKey = String.fromEnvironment('CLIX_PUBLIC_API_KEY');

  await Clix.initialize(
    ClixConfig(
      projectId: projectId,
      apiKey: apiKey,
    ),
  );

  runApp(const MyApp());
}

Key Points:

  • Initialize before runApp
  • Use --dart-define (or your chosen secret mechanism), never hardcode

Error Handling

Common Issues:

  1. Missing Credentials

- Error: SDK fails to initialize - Solution: Verify .env file exists and contains required variables - Check: Environment variable names match exactly

  1. Wrong Initialization Location

- Error: SDK not tracking events - Solution: Ensure initialization happens before any SDK usage - Check: Initialization is in app entry point, not a component

  1. Environment Variables Not Loading

- Error: undefined or empty values - Solution: Verify env loading mechanism (dotenv, framework config, etc.) - Check: Variable names match framework requirements (prefixes)

Best Practices

  1. Never hardcode credentials - Always use environment variables
  2. Initialize early - SDK should initialize before app starts or as early as possible
  3. Handle errors gracefully - Wrap initialization in try-catch blocks
  4. Use appropriate environment - Set production/staging/development based on build
  5. Verify integration - Use validation scripts to verify SDK is properly integrated
  6. Document changes - Update README and configuration files
  7. Version control - Add .env to .gitignore, commit .env.example

Docs Usage Note (MCP vs Static vs Web Docs)

  • If MCP tools are available: treat search_sdk results as the source of truth for initialization/API usage.
  • If MCP tools are unavailable: you may reference the official quickstarts below for manual steps, and use examples/ + references/ for code patterns.

Official quickstarts:

  • iOS: https://docs.clix.so/sdk-quickstart-ios
  • Android: https://docs.clix.so/sdk-quickstart-android
  • React Native: https://docs.clix.so/sdk-quickstart-react-native
  • Flutter: https://docs.clix.so/sdk-quickstart-flutter

Progressive Disclosure

  • Level 1: This SKILL.md file (always loaded)
  • Level 2: references/ directory (loaded when needed for specific topics)
  • Level 3: examples/ directory (loaded when framework-specific examples needed)
  • Level 4: scripts/ directory (executed directly, not loaded into context)

References

For detailed information, see:

  • references/sdk-reference.md - Complete SDK API documentation
  • references/framework-patterns.md - Framework-specific integration patterns
  • references/error-handling.md - Common errors and troubleshooting
  • references/mcp-integration.md - Optional: MCP server usage guide (for tool-augmented mode)

Examples

Working code examples available in examples/ directory:

  • ios-integration.swift - iOS integration (UIKit/SwiftUI)
  • android-integration.kt - Android integration (Application)
  • flutter-integration.dart - Flutter integration (main.dart)
  • react-native-integration.tsx - React Native integration (App.tsx)

Scripts

Utility scripts available in scripts/ directory:

  • validate-sdk.sh - Validate SDK installation and initialization (bash, deterministic)

Run scripts with --help first to see usage. Do not read source code unless customization is absolutely necessary.

平台分布

Claude Code

29.85%
按下载量换算34

windsurf

20.73%
按下载量换算24

trae

15.25%
按下载量换算18

OpenCode

11.8%
按下载量换算14

Codex

7.59%
按下载量换算9

Antigravity

3.05%
按下载量换算4

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills