Lynse Cli
CLAWHUB · Unverified
Lynse CLI 工具,调用 lynse.ai 后端服务的 API。当用户需要查询 lynse 账户信息、管理文件/转写/总结、操作设备、管理 AI 模型、团队协作、发送消息时使用此技能。即使只是简单查个积分或看个文件列表,也应使用此技能。 Skill: Lynse Cli Owner: johneyzhao-lynse Summary: Lynse CLI 工具,调用 lynse.ai 后端服务的 API。当用户需要查询 lynse 账户信息、管理文件/转写/总结、操作设备、管理 AI 模型、团队协作、发送消息时使用此技能。即使只是简单查个积分或看个文件列表,也应使用此技能。 Tags: latest:1.2.3 Version history: v1.2.3 | 2026-04-17T05:24:45.851Z | auto lynse-cli 1.2.3 - No file changes detected for this release. - Behavior and features remain identical to version 1.2.1. - No user or integration action is required. v1.2.2
- 62
- Rank
- 84
- Safety
- 955
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 955 downloads reported by the source. Last updated 10/12/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 12, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 12, 2026
- Adoption signal
- 955 downloadsadoption · Oct 12, 2026
- Latest release
- 1.2.3release · Apr 17, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.2.3release
lynse-cli 1.2.3 - No file changes detected for this release. - Behavior and features remain identical to version 1.2.1. - No user or integration action is required.
Observed Apr 17, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17c796j47gg0rdwcbqqxfxnjs84fqqa:lynse-cli- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-johneyzhao-lynse-lynse-cli/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
157,357 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
---
name: lynse-cli
description: Lynse CLI 工具,调用 lynse.ai 后端服务的 API。当用户需要查询 lynse 账户信息、管理文件/转写/总结、操作设备、管理 AI 模型、团队协作、发送消息时使用此技能。即使只是简单查个积分或看个文件列表,也应使用此技能。
version: 1.2.1
metadata:
openclaw:
requires:
env:
- LYNSE_API_HOST
- LYNSE_API_KEY
bins:
- curl
- bash
primaryEnv: LYNSE_API_KEY
homepage: https://www.lynse.ai
emoji: "\U0001F4CB"
---
# Lynse CLI Skill
## ⚠️ Agent 必读约束
### 🌐 Base URL
```
$LYNSE_API_HOST
```
Base URL 通过环境变量配置,不硬编码。所有 API 请求必须使用此变量,不要猜测或自行构造地址。
### 🔑 认证
Lynse 使用 **API Key + 临时 Token** 双层认证:
```
第一步:用 API Key 换取 Token
POST $LYNSE_API_HOST/api/auth/apikey/token
Header: X-API-Key: $LYNSE_API_KEY
第二步:用 Token 调用业务接口
Header: Authorization: <accessToken> (不带 Bearer 前缀)
Header: X-API-Key: $LYNSE_API_KEY
```
- **API Key 格式**:`dk_xxx`(从系统控制台获取)
- **Token 有效期**:2 小时,过期自动刷新
- **Token 缓存**:本地文件,权限 600(仅所有者可读写)
**每次调用前检查 `$LYNSE_API_KEY` 和 `$LYNSE_API_HOST` 是否存在**。若不存在,提示用户完成配置:
```bash
# 方式一:环境变量
export LYNSE_API_HOST="https://your-api-host/api"
export LYNSE_API_KEY="dk_your_api_key_here"
# 方式二:配置文件(复制模板后填入)
cp .env.example .env
```
配置完成后再继续执行用户原本的请求。
### 🔐 Scope 权限
不同操作需要对应权限,权限由 API Key 绑定的角色决定:
| Scope | 说明 | 典型操作 |
|-------|------|----------|
| `customer.read` | 读取用户信息 | getCurrentCustomer, getUserInfo |
| `customer.write` | 编辑用户 | addUser, editUser, removeUser |
| `file.read` | 读取文件/转写/总结 | listFiles, getFileInfo, getConclusion, getOutline |
| `file.write` | 编辑文件内容 | editConclusion, editOutline, editTransRecord |
| `device.read` | 读取设备信息 | getDeviceInfo, getDevicePage |
| `device.manage` | 管理设备 | unbindDevice |
| `ai.read` | 查看 AI 模型 | getAiModels |
| `ai.manage` | 管理 AI 模型 | addModel, editModel, deleteModel, enableModel |
| `message.send` | 发送消息 | sendSms, sendEmail |
| `team.read` | 查看团队 | listMyTeam |
| `team.manage` | 管理团队 | createTeam, editTeam, removeTeamMember |
权限不足时 API 返回 HTTP 403,引导用户联系管理员升级权限。
### 🔒 安全规则
**敏感信息保护:**
- 用户数据属于隐私,不在群聊/公开场合主动展示用户手机号、积分等敏感字段
- 查询用户信息时,默认只展示非敏感字段(如昵称、ID),除非用户明确要求查看积分或手机号
- 在群聊中展示用户信息时,自动隐藏敏感字段(手机号显示为 `138****1234`,积分不展示)
- 若配置了 `LYNSE_OWNER_ID`,检查当前操作用户 ID 是否匹配;不匹配时回复「抱歉,这是私密账户,我无法操作」
**认证安全:**
- Token 失效时自动刷新,刷新失败则提示用户检查 API Key 配置
- Token 缓存文件权限必须为 600(仅所有者可读写)
**输入安全:**
- 所有用户输入参数经过转义后才传入 curl 命令,防止注入
- 创建/编辑操作建议间隔 1 分钟以上,避免触发服务端限流
### ⚠️ 错误处理规则
| 状态码 / 场景 | HTTP 代码 | 处理方式 |
|---------------|-----------|----------|
| Token 过期 | 401 | 自动用 API Key 刷新 Token 后重试 |
| 权限不足 | 403 | 提示「您的账户权限不足,请联系管理员升级权限」 |
| 请求限流 | 429 | 等待 60 秒后重试,提示「请求过于频繁,请稍后再试」 |
| 资源不存在 | 404 | 提示「请求的资源不存在」 |
| 服务器错误 | 500/502/503 | 提示「服务器暂时不可用,请稍后重试」 |
| Token 刷新失败 | - | 提示检查 `LYNSE_API_KEY` 是否正确或已过期 |
| 接口返回 `code != 200` | - | 展示错误信息,不静默忽略,给出可能的解决建议 |
**错误响应示例:**
```json
{"code": 403, "message": "权限不足", "data": null}
```
遇到错误时,回复格式:
1. 说明发生了什么错误
2. 给出可能的原因
3. 提供解决建议或下一步操作
### 📦 CLI 版本路由
技能同时支持两个 CLI 版本:
- **lynse-cli-a**(基础版):核心认证功能(login, register, token 管理等)
- **lynse-cli-b**(增强版):完整业务功能(文件、团队、AI、设备等)
统一入口 `lynse_unified.sh` 自动检测并路由到_meta.json
{
"ownerId": "kn7cq7fk8ptprtqb0p6a2g7dpn84fb19",
"slug": "lynse-cli",
"version": "1.2.3",
"publishedAt": 1776403485851
}compatibility.md
# Lynse CLI 兼容性对照表 ## 📋 命令映射关系 ### 基础认证命令(双向兼容) | 命令 | CLI A 支持 | CLI B 支持 | 备注 | |------|------------|------------|------| | `bind` | ✅ | ✅ | | | `exchangeToken` | ✅ | ✅ | CLI B 中有增强实现 | | `generateApiKey` | ✅ | ✅ | | | `isLogin` | ✅ | ✅ | | | `login` | ✅ | ✅ | CLI B 支持更多登录方式 | | `logout` | ✅ | ✅ | | | `refreshToken` | ✅ | ✅ | | | `register` | ✅ | ✅ | CLI B 支持更多注册选项 | | `render` | ✅ | ✅ | | | `revokeApiKey` | ✅ | ✅ | | | `terminate` | ✅ | ✅ | | | `updatePhone` | ✅ | ✅ | | | `updatePwd` | ✅ | ✅ | | | `verifyWechatSignature` | ✅ | ✅ | | | `getPoolStatus` | ✅ | ✅ | | | `smsCode` | ✅ | ✅ | | ### CLI B 新增高级命令 | 命令分类 | 新增命令 | |----------|----------| | **用户管理** | `claim`, `claimByActivityId`, `list4`, `chatStream`, `listChatFiles`, `bindVocabulary`, `getBoundVocabulary`, `listEnabledVocabularies`, `unbindVocabulary`, `auditText`, `list3`, `changeTeam`, `current`, `detail`, `edit2`, `edit3`, `grantMonthlyReward`, `grantTeamUpgrade`, `list2`, `outPutLanguage`, `recharge1` | | **设备管理** | `isBound`, `listMyBindingDeviceList`, `unbind`, `update`, `updateConnectTime` | | **文件处理** | `addEvaluation`, `changeFolder`, `cleanBin`, `cleanBinAll`, `countByCategory`, `delete`, `edit`, `getAvailableAIModelList`, `getEvaluationList`, `getStsToken`, `getSupportLanguage`, `handleAudioMergeCallback`, `info1`, `list`, `listByCategory`, `listByCategoryV1`, `listByTimeRange`, `markFileAsRead`, `notify`, `page`, `pageByCategory`, `presign4Download`, `presign4Upload`, `presign4UploadForPublic`, `queryAudioMergeStatus`, `recover`, `removeOss`, `submitAudioMerge`, `testAudioMerge`, `aiModelProcessText`, `batchGetConclusions`, `deleteConclusion`, `editConclusion`, `editMindMap`, `editOutline`, `editSpeakerInfo`, `editTransRecord`, `exportHtmlToPdf`, `exportOutline`, `exportTransRecord`, `getAiTaskResult`, `getConclusion`, `getConclusionList`, `getMindMap`, `getOutline`, `getTranscribeStatus`, `handleTransCallback`, `listTranscriptionRecord`, `transferFile`, `updateFeedback` | | **团队协作** | `createTeam`, `deleteTeam`, `editTeam`, `info`, `leaveTeam`, `listMyTeam`, `recharge`, `removeTeamMember`, `editTeamFile`, `getFileInfo`, `listTeamFile`, `moveOrCopy`, `removeTeamFile`, `createInvitation`, `handleInvite`, `listMyInvitation` | | **推送服务** | `init`, `testAndroidPush`, `testIosPush` | | **翻译服务** | `getLatestSpeakerNames`, `getPromptTemplateCategories`, `getRegenerateSelectList`, `getTranscriptionLanguageList`, `getTranslateHistory`, `getTranslateResult` | | **其他功能** | `add`, `batchUpdateSort`, `edit1`, `list1`, `selectOne`, `checkApkUpdate`, `checkVersion`, `getFunctionList`, `presignUrl`, `queryPointsLog`, `generateShareLink`, `getSharedInfo`, `allocatePointsToTeam`, `assignRole`, `checkTeamAdminOrOwner` | ## 🚀 迁移建议 1. **逐步迁移策略** - 先统一使用 `lynse_unified.sh` 作为入口 - 对于复杂功能,逐步迁移到CLI B的专属实现 2. **兼容层优势** - 自动检测可用的CLI版本 - 对于不支持的命令给出清晰错误提示 - 保留对旧版本的向下兼容 3. **推荐做法** - 新开发的功能优先使用CLI B的高级命令 - 旧有代码可以继续使用,由统一层自动路由
skill-card.md
## Description: Lynse CLI lets agents call Lynse.ai APIs to query account information, manage files, transcripts, summaries, devices, AI models, teams, and send messages. This skill is ready for commercial/non-commercial use. ## Publisher: [johneyzhao-lynse](https://clawhub.ai/user/johneyzhao-lynse) ### License/Terms of Use: MIT-0 ## Use Case: Developers and agent operators use this skill to connect an assistant to Lynse.ai account and workspace workflows, including account lookup, file transcription and summary management, device and team administration, AI model management, and outbound messaging. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill can use a Lynse API key for powerful account, file, device, AI model, team, and message-sending actions. Mitigation: Install only in a private, trusted agent environment with a least-privileged Lynse API key and require explicit confirmation before delete, unbind, team-management, or message-sending actions. Risk: A misconfigured API host could route credentials or actions to an unintended endpoint. Mitigation: Set LYNSE_API_HOST only to the legitimate HTTPS Lynse endpoint before use. Risk: Private account data such as phone numbers, points, files, transcripts, and summaries may be exposed in shared contexts. Mitigation: Configure owner binding where available and redact sensitive fields unless the user explicitly requests them in a private context. ## Reference(s): - [Lynse homepage](https://www.lynse.ai) - [Lynse CLI compatibility table](artifact/compatibility.md) - [ClawHub skill listing](https://clawhub.ai/johneyzhao-lynse/skills/lynse-cli) ## Skill Output: **Output Type(s):** [Text, Markdown, Shell commands, Configuration, JSON] **Output Format:** [Markdown with inline shell commands and JSON API responses] **Output Parameters:** [1D] **Other Properties Related to Output:** [Requires LYNSE_API_HOST and LYNSE_API_KEY; uses curl and bash.] ## Skill Version(s): 1.2.3 (source: server release evidence; artifact frontmatter lists 1.2.1) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-johneyzhao-lynse-lynse-cli. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Lynse Cli. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-johneyzhao-lynse-lynse-cli, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"label": "Vendor",
"value": "Clawhub",
"category": "vendor",
"href": "https://clawhub.ai/johneyzhao-lynse/skills/lynse-cli",
"sourceUrl": "https://clawhub.ai/johneyzhao-lynse/skills/lynse-cli",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-12T02:25:17.731Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "protocols",
"label": "Protocol compatibility",
"value": "OpenClaw",
"category": "compatibility",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-johneyzhao-lynse-lynse-cli/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-johneyzhao-lynse-lynse-cli/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-12T02:25:17.731Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "traction",
"label": "Adoption signal",
"value": "955 downloads",
"category": "adoption",
"href": "https://clawhub.ai/johneyzhao-lynse/lynse-cli",
"sourceUrl": "https://clawhub.ai/johneyzhao-lynse/lynse-cli",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-12T02:25:17.731Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "latest_release",
"label": "Latest release",
"value": "1.2.3",
"category": "release",
"href": "https://clawhub.ai/johneyzhao-lynse/lynse-cli",
"sourceUrl": "https://clawhub.ai/johneyzhao-lynse/lynse-cli",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-17T05:24:45.851Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-johneyzhao-lynse-lynse-cli/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-johneyzhao-lynse-lynse-cli/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.2.3",
"description": "lynse-cli 1.2.3 - No file changes detected for this release. - Behavior and features remain identical to version 1.2.1. - No user or integration action is required.",
"href": "https://clawhub.ai/johneyzhao-lynse/lynse-cli",
"sourceUrl": "https://clawhub.ai/johneyzhao-lynse/lynse-cli",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-17T05:24:45.851Z",
"isPublic": true,
"metadata": {}
}
]
}Record generated Nov 23, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-johneyzhao-lynse-lynse-cli/run-check
