← 返回
未分类 Key 已验

Lynse Cli

Lynse CLI 工具,调用 lynse.ai 后端服务的 API。当用户需要查询 lynse 账户信息、管理文件/转写/总结、操作设备、管理 AI 模型、团队协作、发送消息时使用此技能。即使只是简单查个积分或看个文件列表,也应使用此技能。
Lynse CLI skill for querying meeting transcriptions, managing files, todos, devices, and AI models via the lynse.ai API. Lynse is the English product context; in Chinese contexts it is called 灵光记. Use this skill when the user says "Lynse", "lynse-cli", "灵光记", or asks to use 灵光记, including requests about meetings, transcriptions, summaries, todos, file/folder management, account info, points balance, device binding, AI model configuration, or any Lynse platform operations. Trigger on: meeting, transcription, summary, todo, device, model, points, file, folder, auth, lynse, Lynse, lynse-cli, 灵光记, 使用灵光记, 用灵光记, 会议, 转写, 总结, 待办, 设备, 模型, 积分, 文件. Do NOT use for: generic calendar apps, Zoom/Teams recordings unrelated to Lynse, local file system operations, or other platforms that merely share these common words.
未分类 clawhub v1.6.2 4 版本 100000 Key: 需要
★ 0
Stars
📥 497
下载
💾 1
安装
4
版本
#latest

概述

Lynse CLI Skill

Cross-platform Python CLI (3.8+) for lynse.ai backend services. Works natively on Windows / macOS / Linux.

How to Invoke

Invoke via the Python entrypoint: lynse.py , where is the Python 3

interpreter available in the current environment.

Choosing the interpreter — no single name works everywhere, so pick by environment:

EnvironmentUseWhy
-----------------------
macOS / Linuxpython3Modern systems (Homebrew Python, recent Ubuntu/Debian) only ship python3; python is often absent. lynse.py's shebang is #!/usr/bin/env python3.
Windows (CMD / PowerShell)python (or py -3)Windows installs expose python, not python3. The py launcher also works.
If unsurepython3 lynse.py version first; fall back to python lynse.py versionThe command that prints a version string is the one to use.
python3 lynse.py me                 # current user info (macOS/Linux)
python3 lynse.py meetings list      # recent meetings

For brevity, the command examples below use python3 as the default — substitute python

(or py -3) on Windows.

  • Do NOT use shell scripts (lynse_unified.sh, api_wrapper.sh) — they don't run on Windows.
  • In skill contexts, call the Python entrypoint directly. The npm lynse wrapper is for end-user shell usage.

Commands

Friendly Aliases (Preferred)

python3 lynse.py me                                    # Current user info
python3 lynse.py meetings list [--days 7]              # Recent meetings (past N days)
python3 lynse.py meetings month <YYYY-MM>              # Meetings in a specific month
python3 lynse.py meetings week <YYYY-Wnn>              # Meetings in a specific ISO week
python3 lynse.py meetings range <start> <end>          # Meetings in a date range (YYYY-MM-DD)
python3 lynse.py meetings search <keyword>             # Search by title
python3 lynse.py meetings transcript <id>              # Get transcription
python3 lynse.py meetings summary <id>                 # Get AI summary
python3 lynse.py meetings outline <id>                 # Get outline
python3 lynse.py meetings info <id>                    # Meeting details
python3 lynse.py meetings organize [--days N] [--execute] [--yes]   # Auto-classify meetings into folders (dry-run by default; --execute applies)
python3 lynse.py folders list                          # List folders/groups
python3 lynse.py folders create <json>                 # Create folder
python3 lynse.py folders move <json>                   # Move files to folder
python3 lynse.py todos list [all|open|done]            # List todos
python3 lynse.py todos delete <ids>                    # Delete todos
python3 lynse.py todos clear                           # Clear completed todos
python3 lynse.py devices list                          # List bound devices
python3 lynse.py devices info <id>                     # Device details
python3 lynse.py devices unbind <id>                   # Unbind device
python3 lynse.py models list                           # List AI models
python3 lynse.py models add <json>                     # Add model
python3 lynse.py models delete <id>                    # Delete model
python3 lynse.py models edit <json>                    # Edit model
python3 lynse.py models enable <id> <bool>             # Enable/disable model

Date query flexibility (meetings month/week):

python3 lynse.py meetings month 2026-04          # All April 2026 meetings
python3 lynse.py meetings month 4                # April of current year
python3 lynse.py meetings week 2026-W16          # ISO week 16 of 2026
python3 lynse.py meetings range 2026-04-01 2026-04-30   # Custom date range

Auto-organize meetings into folders (meetings organize):

python3 lynse.py meetings organize                       # Dry-run: print a folder plan, change nothing
python3 lynse.py meetings organize --days 90             # Plan only for the last 90 days
python3 lynse.py meetings organize --execute --yes       # Apply: create folders + move meetings (non-interactive)

Classifies meetings (with a summary) into topic folders by title, reusing existing folders where they match and creating new ones (icon + ≤6-char name) otherwise; caps at 10 folders + 🗂其他. Default is a safe dry-run. --execute applies changes; in a non-interactive/agent context it requires --yes (it refuses otherwise). Meetings without a summary are listed but not moved unless --include-no-conclusion is given.

Auth & System

First-time setup: no key is hardcoded — each user inputs their own, saved locally to ~/.lynse/config.json.

python3 lynse.py auth login                    # Interactive prompt for your API key (recommended)
python3 lynse.py auth login --api-key <key> [--host <url>]   # Or pass the key explicitly
python3 lynse.py auth status                                  # Show auth config
python3 lynse.py auth logout [--all]                          # Clear tokens (--all also clears API key)
python3 lynse.py auth doctor                                  # Diagnose auth issues
python3 lynse.py version    # Version, Python, OS, requests info
python3 lynse.py doctor     # Full environment diagnostics
python3 lynse.py update     # Show update instructions

Output Format Control

--json             Compact JSON (default when piped)
--pretty           Pretty-printed JSON (default in terminal)
--text             Human-readable text summary
--table            ASCII table for list results
--output <file>    Save output to file

Combine: python3 lynse.py meetings list --table --output meetings.txt

Output Contract — Meeting Lists

When presenting meeting query results, format as a table using these JSON fields:

ColumnJSON FieldFormat
------------------------------------------------------------------------
#(row index)Sequential, from 1
DaterecordStartTime or createTimeYYYY-MM-DD HH:MM
DurationbizDurationConvert seconds → mm:ss
FolderfolderNameAs-is, empty if null
TitleoriginalFilenameAs-is, fallback to filename

Sort by recordStartTime ascending. Append summary line: Total: N meetings, HH:MM.

Exit Codes

CodeMeaningTypical Cause
-------------------------------------------------------
0SuccessNormal completion
1Invalid / UnknownBad args, JSON parse error
2Auth failureToken expired, invalid API key
3Network errorDNS, connection refused
4TimeoutRequest timed out
5Permission deniedHTTP 403
6Server errorHTTP 5xx, business error

Key Constraints

  • Base URL: all API requests use $LYNSE_API_HOST. Never hardcode or guess the server address.
  • Auth: two-layer API Key + Token. See references/auth-and-security.md for the full flow, config resolution order, and security rules (sensitive data masking, owner-ID guard, token cache permissions).
  • Errors: see references/error-handling.md for the HTTP/business error mapping and how to report errors to users.
  • Platform paths: the skill installs the same into Claude Code / Cursor / Hermes / OpenClaw. See references/platform-paths.md for per-environment directories and env-var injection.

Reference Docs

版本历史

共 4 个版本

  • v1.6.3 Clarify that Lynse is the English product context and 灵光记 is the Chinese product name, so requests to use 灵光记 route to this CLI skill.
    2026-06-26 14:48
  • v1.6.2 SkillHub cleanup: remove unsupported files, generated docs, batch wrapper, and hidden metadata; keep cross-platform Node/Python entrypoint. 当前
    2026-06-26 14:46 安全 安全
  • v1.2.4 Initial release
    2026-06-24 12:42
  • v1.2.3
    2026-05-03 05:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 865 📥 342,280
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,516 📥 570,869
ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,161 📥 930,944