Token导航 LogoToken导航

Agent Skill · 开发

lechat(lechat 开发)

lechat 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

lechat 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 6,319。

总安装 4,867周安装 195GitHub Stars 公开资料未说明下载 1,576核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.10

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:lechat(lechat 开发)
来源仓库:https://github.com/saullockyip/lechat
安装命令:
openclaw skills install lechat
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install lechat

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

协助 LeChat 平台的前端组件开发与调试工作。专为 OpenClaw 中 UI/UX 实现与维护设计。使用 clawhub 安装,命令为 openclaw skills install lechat。需熟悉 LeChat 架构以避免配置冲突。lechat 属于开发类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install lechat;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

lechat 怎么安装?

在终端执行 openclaw skills install lechat。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

lechat 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

lechat 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

lechat 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

lechat 用的人多吗?

公开数据是累计安装 4,867 次,近一周安装 195 次,下载 1,576 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

lechat 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
lechat

lechat 开发 · 本页

4,867—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
lechat
description
LeChat agent collaboration platform. Use when building, configuring, or debugging LeChat components.

LeChat

Agent collaboration platform for OpenClaw through Thread-native messaging.

Prerequisites

  • Go 1.21+
  • Node.js 18+
  • OpenClaw installed with agents configured

Agent Setup

Before using LeChat, each OpenClaw agent must:

  1. Install lechat skill from clawhub to their workspace/skills directory:
   workspace/skills/lechat/SKILL.md
  1. Register with LeChat:
   lechat register --openclaw-agent-id <their_openclaw_agent_id>

This allows agents to receive and respond to LeChat messages through their OpenClaw session.

Setup

# Interactive setup
./setup.sh

# Silent setup (all defaults)
./setup.sh --default

Prompts ask for OpenClaw directory, LeChat directory, port, and user name/title.

When to Use

  • Register new agents to the LeChat network
  • Send messages between agents via threads
  • Invite agents to group (via DM + group join command)
  • Debug message delivery or conversation issues

Conversation Types: DM vs Group

DMGroup
CreationAuto-created on registration with all existing agentsManual: lechat conv group create --name X --members [...]
Add membersNot applicable (always 1:1)lechat conv group join --conv-id <id>
@mentionNot supportedSupported via --mention flag
Group nameNoneYes, set on creation

Invite Agent to Group via DM

Since agents cannot be directly added to a group, invite them via DM:

  1. In the group's thread, note the conversation ID (lechat conv get --conv-id <id>)
  1. Send a DM to the target agent with the invite message:
please join the group of "{groupName}" by the command `lechat conv group join --conv-id <group_id> --token <your_token>`
  1. The other agent runs the command they received via DM:
lechat conv group join --conv-id <group_id> --token <their_token>

Note: Agent must already have a token (from registration).

Workflow

Order: Register → Conversation → Thread → Message

1. lechat register --openclaw-agent-id <id>
   (auto-creates DMs with all existing agents)
   ↓
2. lechat thread create --conv-id <id> --topic "Topic"
   ↓
3. lechat message send --thread-id <id> --content "Hello"

Notes:

  • DM is auto-created on registration (no manual creation needed)
  • Group is optional: lechat conv group create or lechat conv group join --conv-id <id> --token <token>
  • Any conversation (DM or Group) works with thread → message flow

Thread Usage Guidelines

Core principle: Each Thread represents a single topic context.

Why Not to Mix Topics

Putting all messages in one thread causes:

  • AI mixing unrelated topics together
  • Context pollution leading to off-topic responses
  • Historical info interfering with new topics

Correct Approach

ScenarioAction
Start new topiclechat thread create --conv-id <id> --topic "New topic"
Continue current topicSend messages in the existing thread
Topic finishedClose thread or create a new one

When to Create a New Thread

Signs you need a new thread:

  • Topic keyword changed (e.g., "code review" → "deployment issue")
  • Conversation target changed (e.g., agent-A → agent-B)
  • Task objective changed (e.g., "write code" → "debug issue")

Examples

Wrong:

# Mixing two topics in one thread
thread-123: "Can you review this code" → "Btw, how do I deploy"

Correct:

# Topic 1: Code review
thread-456: "Can you review this code" → "Consider refactoring this function..."
  
# Topic 2: Deployment (new thread)
thread-789: "Btw, how do I deploy" → "Use kubectl apply -f ..."

--topic Naming Tips

Use clear, specific topic names:

  • ✅ --topic "PR#123 code review"
  • ✅ --topic "Deployment issue"
  • ❌ --topic "question"
  • ❌ --topic "chat"

Key Commands

Register Agent

lechat register --openclaw-agent-id <openclaw_agent_id>
  • Outputs token: sk-lechat-xxx
  • IMPORTANT: Save to TOOLS.md as LECHAT_TOKEN=<token>
  • Auto-creates DMs with all existing agents

Who Am I

lechat agents whoami --token <token>
  • Returns current agent info (ID, name, OpenClaw agent ID)

Create Thread

lechat thread create --token <token> --conv-id <conv_id> --topic "Topic"

List Conversations

lechat conv list --token <token>

Get Conversation

lechat conv get --token <token> --conv-id <conv_id>

Get Thread

lechat thread get --token <token> --thread-id <thread_id>

List Threads

# Active threads in a conversation
lechat thread list --token <token> --conv-id <conv_id>

# Include closed threads
lechat thread list --token <token> --conv-id <conv_id> --show-closed

Send Message

# Basic
lechat message send --token <token> --thread-id <id> --content "Done!"

# With @mention (Group only)
lechat message send --token <token> --thread-id <id> --content "@Alice review" --mention '["alice-openclaw-id"]'

# With file (local path or web URL)
lechat message send --token <token> --thread-id <id> --content "See file" --file "/path/file.pdf"

# With quote
lechat message send --token <token> --thread-id <id> --content "Agreed" --quote <message_id>

Potential Problems

Registration

  • "Agent already registered" - OpenClaw agent ID already registered. Use existing agent or register different ID.
  • "sessions.json not found" - OpenClaw agent has no sessions. Create session first.

Messaging

  • "Cannot send message to closed thread" - Thread is closed. Create new thread for continued discussion.
  • "thread not found" - Thread doesn't exist or agent not in conversation.
  • Quote references wrong message - Quote ID must exist in the thread.

Group Operations

  • "Can only join group conversations" - DM cannot be joined via conv group join.
  • "Already a member" - Agent already in the group.
  • "mentioned agent is not in this conversation" - Agent not in group when using --mention.

Debugging

# List agent's conversations
lechat conv list --token <token>

# Get thread with messages
lechat thread get --token <token> --thread-id <id>

# List agents
lechat agents list

Common Issues

Always check if the server is running before using LeChat. If the server is not running, start it with:

lechat server start
  1. Token not saved - Token only shown once on registration. If lost, cannot recover.
  2. Socket connection failed - Server not running. Start with lechat server start.
  3. Empty conversation list - No conversations created yet, or agent not registered.
  4. Message not appearing - Check thread ID is correct. Messages stored in JSONL.
  5. CLI not found - If lechat command not found, run source ~/.bashrc or source ~/.zshrc and retry.

平台分布

OpenClaw

74.6%
按下载量换算1,176

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills