← 返回
数据分析 Key 中文

Luckee Skill

Operate the Luckee AI e-commerce assistant via the luckee-tool OpenClaw plugin. Luckee AI is an intelligent assistant for Amazon sellers providing ad diagnos...
通过luckee-tool OpenClaw插件操作Luckee AI电商助手。Luckee AI是一款为亚马逊卖家提供广告诊断的智能助手...
xing89qs
数据分析 clawhub v0.1.2026210402 2 版本 100000 Key: 需要
★ 0
Stars
📥 1,007
下载
💾 20
安装
2
版本
#latest

概述

Luckee Skill

What is Luckee AI

Luckee AI is a cross-border e-commerce intelligent assistant built for Amazon sellers. It combines Amazon advertising optimization with general business intelligence analysis, powered by advanced AI technology.

Core capabilities

Amazon Advertising

  • Ad Diagnosis — Campaign health checks, keyword performance analysis, ad placement efficiency (TOS/ROS/PP), ACOS/ROAS breakdown, campaign structure diagnosis, and diagnostic validation.
  • Keyword Research — ASIN/category-based keyword collection, search term report analysis, keyword classification and tagging, CVR estimation, negative keyword suggestions, and word-root clustering.
  • Ad Strategy — Bid recommendations, budget allocation analysis, campaign strategy generation, portfolio analysis, new product launch ad strategies, and period-over-period comparison.
  • Competitor Analysis — Competitor basic info (price, rating, reviews, BSR), competitor keyword analysis, multi-ASIN comparison, listing analysis, review sentiment extraction, and category landscape mapping.
  • Data & Reports — Store data retrieval via API, product/ASIN details, campaign/keyword data pulls, structured diagnostic reports, weekly/monthly summaries, and data visualization.

General Research & Analysis

  • Link & Web Analysis — Amazon listing parsing, analysis of any webpage (1688, AliExpress, standalone sites), and web search for industry trends.
  • File & Data Analysis — Excel/CSV analysis (sales, inventory, financials), PDF document interpretation (supplier quotes, contracts, manuals), and image recognition (screenshots, product images, design drafts).
  • Content Generation — Listing optimization (title, bullet points, description), copywriting (A+ content, ad copy, emails), and multi-language translation & localization.

Pre-flight

Before doing anything, check whether the plugin is already installed:

openclaw plugins list

If luckee-tool appears and shows as enabled, skip straight to Usage. Otherwise, follow Install below.

Install

Before installing, ask the user for confirmation: explain that the plugin will be cloned from its GitHub repository and registered with OpenClaw.

> Note: openclaw plugins install does not accept GitHub URLs directly — only npm specs, local directories, or archives are supported. You must clone the repo first, then install from the local path.

1. Clone or update the plugin repository

If the plugin has not been cloned yet:

git clone https://github.com/motse-ai/luckee-openclaw-plugin.git /tmp/luckee-openclaw-plugin

If the plugin directory already exists, pull the latest changes:

cd /tmp/luckee-openclaw-plugin && git checkout main && git pull --ff-only origin main && cd -

2. Install the plugin from the local directory

openclaw plugins install /tmp/luckee-openclaw-plugin

This registers the plugin with OpenClaw and installs its dependencies.

3. Verify and configure the luckee CLI binary path

After install, luckee-cli (the Python package) may have been placed in a directory that is not on the gateway process's PATH (e.g. ~/.local/bin). The plugin should use the luckee binary by default, so you must locate the actual binary and set binaryPath explicitly if needed:

# Find where the binary was installed
which luckee 2>/dev/null || which luckee-cli 2>/dev/null || python3 -c "import sysconfig; print(sysconfig.get_path('scripts', sysconfig.get_preferred_scheme('user')))" 2>/dev/null

Check the discovered directory (e.g. /home/node/.local/bin/) for a file named luckee or luckee-cli. Then set the full path:

openclaw config set plugins.entries.luckee-tool.config.binaryPath "/full/path/to/luckee"

> Why: pip often installs scripts into ~/.local/bin/ which many environments (containers, systemd services, SSH sessions) do not include in PATH. Setting binaryPath makes the plugin find the binary regardless of PATH.

4. Authenticate with Luckee

Run:

luckee login

This command opens a browser auth page. Ask the user to complete authorization in the web page, then continue in terminal once login finishes.

Running regular luckee commands also checks login status and will prompt the same web authorization flow if the user is not logged in.

No browser access (remote machine, headless server, SSH session, etc.): If the environment cannot open a browser — for example, a remote server, a container, or an SSH session — the luckee login command will still print an authorization URL to stdout. You must copy the full URL from the terminal output and present it to the user so they can open it in their own browser. Do not attempt to launch a browser in these environments.

5. Restart and verify

openclaw gateway restart
openclaw plugins info luckee-tool
openclaw health

Confirm the plugin shows as loaded and the gateway is healthy. Do not ask the user for API URL or User ID details.

Usage

Skill command

/luckee <query>

Example: /luckee 查一下 asin B0DPJMTH4N 的信息 用skills

Stop a running query

/luckee stop

Set a token

/luckee token <token>

Set a token and run a query in one go:

/luckee token sk_xxx 查一下 asin B0DPJMTH4N 的信息

AI tool invocation

Call the luckee_query tool with:

{
  "query": "查一下 asin B0DPJMTH4N 的信息 用skills",
  "token": "sk_optional_override",
  "language": "CN",
  "timeout": 90
}

Only query is required. For /luckee token ..., first call luckee_set_token, then call luckee_query if a query was included. Auth context is handled by CLI/session state or the auto-login prompt triggered by luckee_query.

Token Management

  • Tokens are managed securely by OpenClaw and persisted across gateway restarts.
  • Set a per-user token via /luckee token (overrides the default for that sender).
  • Set a default token via config: openclaw config set plugins.entries.luckee-tool.config.defaultToken "".
  • See reference.md for advanced token store details.

Troubleshooting

Binary not found

This is the most common issue. Even when luckee-cli is installed, the gateway process may not find it because pip installs scripts to a directory not in PATH (e.g. ~/.local/bin/).

Step 1 — Locate the binary:

which luckee 2>/dev/null || which luckee-cli 2>/dev/null

If that returns nothing, check common pip script directories:

ls ~/.local/bin/luckee* 2>/dev/null
python3 -c "import sysconfig; print(sysconfig.get_path('scripts', sysconfig.get_preferred_scheme('user')))" 2>/dev/null

Step 2 — If not installed, install it:

python -m pip install --upgrade 'luckee-cli>=0.1.0'

Then re-run Step 1 to find where it was placed.

Step 3 — Set the path explicitly and restart:

openclaw config set plugins.entries.luckee-tool.config.binaryPath "/full/path/to/luckee"
openclaw gateway restart

> Important: Always set binaryPath after installing luckee-cli. Do not rely on PATH resolution alone, as the gateway process environment often differs from the interactive shell.

Not logged in / auth expired

If queries fail with auth/login errors:

Option 1 — Direct terminal login (preferred when you have terminal access):

luckee login

Complete authorization in the browser, then retry the query. If running on a remote machine or headless environment where a browser cannot be opened, copy the full authorization URL printed in the terminal output and present it to the user to open manually.

Option 2 — Set token via chat (when OAuth can't work, e.g. running inside gateway):

/luckee token <your_token>

Option 3 — Set token via config:

openclaw config set plugins.entries.luckee-tool.config.defaultToken "<your_token>"

Note: /luckee is available as a native plugin slash command. If the command is not available on a given surface, the agent can still fall back to luckee_query. If auth is missing, the plugin will surface login or token instructions automatically.

Timeout

Increase the default timeout (seconds):

openclaw config set plugins.entries.luckee-tool.config.defaultTimeout 180

Plugin ID mismatch warning

If you see "plugin id mismatch (manifest uses luckee-tool, entry hints luckee-openclaw-plugin)":

openclaw config unset plugins.entries.luckee-openclaw-plugin
openclaw gateway restart

Safety Rules

  • Never log or display full tokens. Always redact to sk_x*xx format.
  • All install/config operations are idempotent — safe to re-run.
  • Do not overwrite unrelated config keys when setting luckee-tool config.
  • Never request API URL or User ID from users during normal setup/query flows.

Reference

For detailed config schema, channel list, token store format, and error catalog, see reference.md.

版本历史

共 2 个版本

  • v0.1.2026210402 当前
    2026-05-01 00:19 安全 安全
  • v0.1.2026160304
    2026-03-19 23:08 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 56,997
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,092
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,594