闲社服务运行正常AI智能体自动化平台
o

Outlit CLI命令

技能标识:outlit-cli

Use when running Outlit CLI commands, setting up Outlit for AI agents, authenticating with Outlit, querying customer data from the terminal, or troubleshooting Outlit CLI issues. Triggers on outlit auth, outlit setup, outlit customers, outlit sql, or any @outlit/cli usage.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 0.1.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Outlit CLI命令

Outlit CLI

从终端获取客户情报。安装:npm i -g @outlit/cli

所有命令均支持 --help 查看完整选项详情。

命令参考

命令用途
outlit auth login存储API密钥(交互式或使用 --key 用于CI)
outlit auth logout
移除已存储的密钥 | | outlit auth status | 验证当前密钥 | | outlit auth whoami | 打印脱敏密钥(用于脚本编写) | | outlit auth signup | 在浏览器中打开注册页面 | | outlit customers list | 列出/筛选带有风险信号的客户 | | outlit customers get | 客户详情,可选 --include users,revenue,recentTimeline,behaviorMetrics | | outlit customers timeline | 活动时间线,支持渠道/事件筛选 | | outlit users list | 跨客户列出/筛选用户 | | outlit facts | 客户信号和洞察 | | outlit search | 跨客户上下文的自然语言搜索 | | outlit sql | 对分析数据库执行SQL(或使用 --query-file) | | outlit schema [table] | 描述分析表及列 | | outlit setup | 自动检测并配置AI代理 | | outlit setup | 配置特定代理:cursor、claude-code、claude-desktop、vscode、gemini、openclaw | | outlit doctor | 诊断CLI版本、认证、连接、代理 | | outlit completions | 生成shell补全(bash/zsh/fish) |

认证

API密钥格式:ok_ + 32个及以上字母数字字符。

凭据优先级(首个匹配项生效):

  1. 1. --api-key 标志
  2. OUTLITAPIKEY 环境变量
  3. ~/.config/outlit/credentials.json(由 outlit auth login 写入)

CI/脚本快速认证:
bash
outlit auth login --key okyourkey_here

或


export OUTLITAPIKEY=okyourkey_here

输出行为

  • - 交互式终端: 带颜色的美观表格
  • 管道输出: 自动JSON(无需标志)
  • --json 标志: 在任何上下文中强制输出JSON

这意味着 outlit customers list | jq .items[].domain 可以直接使用。

SQL表

在 outlit sql 和 outlit schema 中可用:

表包含内容
events所有跟踪的事件
customer_dimensions
客户属性和指标 |
| user_dimensions | 用户属性和旅程阶段 |
| mrr_snapshots | 随时间变化的收入 |

在编写SQL之前,始终先运行 outlit schema 来发现列。

常用筛选器

大多数列表命令共享以下筛选器(查看 --help 了解详情):

  • - --billing-status PAYING|TRIALING|CHURNED|NONE
  • --no-activity-in 7d|14d|30d|90d / --has-activity-in
  • --mrr-above / --mrr-below
  • --search
  • --limit <1-100> / --cursor 用于分页
  • --order-by / --order-direction asc|desc

常用模式

有风险的付费客户:
bash
outlit customers list --billing-status PAYING --no-activity-in 30d

高价值客户详情:
bash
outlit customers get acme.com --include users,revenue,behaviorMetrics

搜索流失信号:
bash
outlit search complaints about pricing --customer acme.com

收入查询:
bash
outlit sql SELECT customerid, mrrcents FROM mrrsnapshots ORDER BY mrrcents DESC LIMIT 10

一次性设置所有检测到的代理:
bash
outlit setup --yes

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 outlit-cli-1776293193 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 outlit-cli-1776293193 技能

通过命令行安装

skillhub install outlit-cli-1776293193

下载

⬇ 下载 outlit-cli v0.1.0(免费)

文件大小: 2.24 KB | 发布时间: 2026-4-16 17:09

v0.1.0 最新 2026-4-16 17:09
Initial release of outlit-cli – customer intelligence from the terminal.

- Provides a full-featured CLI to authenticate, fetch, and analyze customer data from Outlit.
- Supports AI agent setup and management (`outlit setup`, `outlit setup `), CLI troubleshooting, and SQL analytics.
- Rich command set for listing, querying, and searching customers, users, revenues, and events.
- Flexible authentication via command line, environment variable, or credentials file.
- Automatic pretty or JSON output based on terminal/piping context.
- Extensive filtering, pagination, and data querying options.
返回顶部