thinkingaiagenticengine/ae-cli19 files

Ae Data Integration Helper

Answers questions about ThinkingAI SDK integration and usage, including the LogBus2 data import tool. Trigger words: 怎么接入 / 如何集成 / SDK / 埋点 / 报错 / 使用方式 / API / LogBus / tracking / integration / how to integrate / data import / データ連携 / インテグレーション / 트래킹 / 연동.

Specification
Skill ID
thinkingaiagenticengine/ae-cli/ae-data-integration-helper
Publisher
thinkingaiagenticengine
Repository
ae-cli
Installs
0
Files
19
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

thinkingaiagenticengine/ae-cli/ae-data-integration-helperInstalls these files
  • SKILL.md
  • references/android_sdk_faq.md
  • references/c_sdk_compilation.md
  • references/c_sdk_faq.md
  • references/cocoscreator_sdk_faq.md
  • references/cpp_server_sdk_faq.md
  • references/index.md
  • references/ios_sdk_faq.md
  • references/java_sdk_faq.md
  • references/javascript_sdk_faq.md
  • references/logbus2_guide.md
  • references/logbus2_parser_plugin.md
  • references/minigame_sdk_faq.md
  • references/miniprogram_sdk_faq.md
  • references/python_sdk_faq.md
  • references/restful_api_notes.md
  • references/sdk_log_guide.md
  • references/sdk_usage_notes.md
  • references/unity_sdk_faq.md

What this skill tells the agent

ae-data-integration-helper

Conversation language: This skill document is in English, but all output to the user MUST be in the user's input language. Chinese input → Chinese reply; English input → English reply; Japanese input → Japanese reply. If uncertain, default to English. This applies to all output: headings, step descriptions, code comments, examples, etc. ⚠️ CRITICAL: Many reference documents (FAQ, wiki) are in Chinese. When reading Chinese source material to answer an English/Japanese user, you MUST translate the content to the user's language. The source document's language is NOT the user's language. Never output Chinese to an English user just because the wiki page is in Chinese. Use the Terminology Glossary above to map terms accurately. Do NOT copy Chinese text verbatim from this document into English/Japanese replies.

Terminology Glossary

中文EnglishNotes
埋点 / 数据上报Tracking / Data IngestionSending event data to AE
用户识别规则User Identification Ruledistinct_id / account_id mapping
访客 IDVisitor ID / Guest IDAnonymous user before login
登录 IDLogin ID / Account IDIdentified user after login
预置属性Preset Property#device_id, #time, #ip, etc.
系统字段System FieldAE built-in fields prefixed with #
事件格式Event FormatEvent name + properties structure
属性类型Property TypeString / Number / Boolean / Date / Array
数据校验Data ValidationVerify event format & property types
公共事件属性Super PropertyProperties attached to all events. ⚠️ The correct Chinese AE term is "公共事件属性" or "公共属性". Never translate "Super Property" as "超级属性" — that is NOT a valid AE term.
可更新事件Updatable EventEvent whose properties can be updated after creation
首次事件校验First Event CheckValidate an event's first occurrence
自动采集Auto-trackAuto-collected events (app install, start, page view, etc.)
实时调试Real-time Debug / Debug ModeDevice binding + live data validation
合规 / 隐私Compliance / PrivacyGDPR, privacy policy, SDK data collection rules
数据导入Data ImportLogBus2 / RESTful API / DataX
缓存上报Batch Upload / Buffered UploadCache events locally, then upload in batches
重试策略Retry StrategyRe-upload failed data automatically
数据加密Data EncryptionEncrypt event data before upload
时间校准Time CalibrationSync device time with server time
多端上报Multi-platform TrackingReport events from multiple clients/services
用户割裂User FragmentationSame user split into multiple AE user profiles
上报模式Upload ModeNormal / Debug / Debug_Only
LoggerConsumerLoggerConsumerServer SDK consumer that writes events to local log files
BatchConsumerBatchConsumerServer SDK consumer that uploads events in batches
DebugConsumerDebugConsumerServer SDK consumer for debug mode (not for production)

When to Trigger

Trigger when a user asks about:

  • Pre-ingestion Preparation:
  • User identification rules (distinct_id / account_id / visitor ID / login ID)
  • Data rules (event format / property types / validation)
  • Preset properties & system fields (#device_id, #time, etc.)
  • Client SDK Integration: Android / iOS / JavaScript / Unity / OpenHarmony / Mini-program, etc.
  • Server SDK Integration: Java / Python / Go / Node.js / PHP / C#, etc.
  • Data Import: LogBus2 / RESTful API / DataX
  • Advanced Data Types: Updatable events / first event check
  • Auto-tracking: Page view / button click / app start, etc.
  • Real-time Debugging: Debug mode / device binding / data validation
  • Compliance / Privacy: GDPR / privacy policy / SDK data collection rules
  • API Usage: init / track / user_set / LoggerConsumer, etc.
  • Configuration: Debug mode / data validation / retry strategy
  • Troubleshooting: Upload failures / missing data / format errors

Do NOT trigger: Inline Q&A within ae-generate-tracking-plan or ae-generate-tracking-code sessions (those skills have their own workflows). Offline local-file import (CSV / Excel / JSONL → AE) and Feishu sheet URL import are owned by the ae-data-integration skill — route those requests there instead of answering with LogBus / RESTful guidance.

Workflow

Step 1: Parse the Question

Extract from the user's query:

  • Topic category:
  • Pre-ingestion Prep: User identification / data rules / preset properties
  • Client SDK: Android / iOS / JavaScript / Unity / OpenHarmony / Mini-program, etc.
  • Server SDK: Java / Python / Go / Node.js / PHP / C#, etc.
  • Data Import: LogBus2 / RESTful API / DataX
  • Advanced Data Types: Updatable events / first event check
  • Auto-tracking: Page view / button click / app start
  • Real-time Debug: Debug mode / device binding / data validation
  • Compliance: GDPR / privacy policy / SDK data collection rules
  • Query type: Integration method / API usage / configuration / deployment / error / logging

Step 1.5: Information Gathering

⚠️ Key principle: When the question is vague, gather information FIRST before answering. Do NOT guess or ramble.

If the user's question involves any of the following scenarios, collect critical information before proceeding:

ScenarioMust Collect
"Data not showing up" / "Can't see data" / "Upload successful but nothing in the dashboard"Upload method (SDK / LogBus / HTTP), data type (event / user property), specific symptom (no data at all / partial data)
"Error" / "Failure" type questionsFull error message, reproduction steps
"Can't connect" / "Unable to upload"Platform/language used, error symptoms
"How to implement X"Platform/language used, what X specifically means

Ask first, then answer. Examples:

  • "Data logs show success but the dashboard shows nothing — are you using SDK, LogBus, or HTTP upload?"
  • "Can't connect — which language/platform are you using? Can you share the error message?"

Step 2: Find Relevant Documentation

Prefer FAQ documents first (for quick lookup of specific issues):

  1. Read skills/ae-data-integration-helper/references/ corresponding FAQ (e.g., android_sdk_faq.md, logbus2_guide.md, etc.)
  2. FAQ documents cover specific troubleshooting, code examples, parameter tables, and best practices

Check wiki when FAQ has no answer (for framework-level and authoritative content):

  1. Read ~/.ae-cli/wiki/te-docs/index.md to locate document paths
  2. Prefer overview documents under ~/.ae-cli/wiki/te-docs/synthesis/
  3. For detailed API references, check the corresponding main document under ~/.ae-cli/wiki/te-docs/raw/

Commonly used FAQ documents:

  • references/android_sdk_faq.md — Android SDK integration & FAQ
  • references/ios_sdk_faq.md — iOS SDK integration & FAQ
  • references/java_sdk_faq.md — Java SDK integration & FAQ
  • references/logbus2_guide.md — LogBus2 complete configuration guide
  • references/sdk_usage_notes.md — Client/server SDK usage notes
  • references/restful_api_notes.md — RESTful API usage notes
  • Full list: see references/index.md

Step 3: Read & Summarize

After reading relevant documentation, output in the following format:

## <Topic> (<Platform>)

### Summary
<1-2 sentence description>

### Integration / Usage Steps
1. <Step 1>
2. <Step 2>
...

### Code Example

<code>


### Notes / Caveats
- <Note 1>
- <Note 2>

### Source Document
<Prefer wiki document sourceUrl. Language rules:
  - User interacts in Chinese → provide Chinese doc (lan=zh-CN)
  - User interacts in other languages → provide English doc (lan=en-US)
  - Chinese-only SDKs (Mini-program / OpenHarmony / Cocos2d-Lua / LayaAir / Egret) → Chinese only
  Example: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=xxx>
(If no sourceUrl, provide local .md file path)

⚠️ Terminology Rules:

More from thinkingaiagenticengine

Use this skill in a project

Open any RiverX project, search the Skills panel for thinkingaiagenticengine/ae-cli/ae-data-integration-helper, and install it in one click.

Use this skill