搜索

PythonReactSEOPDF
OpenClaw

feishu-memory-recall

Cross-group memory, search, and event sharing for OpenClaw Feishu agents

autogame-170 来源安装数☆ 0 仓库 Starsv2.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install autogame-17/feishu-memory-recall

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Feishu Memory Recall

Cross-group awareness for OpenClaw. Search messages, generate digests, and share events across all Feishu groups and DMs.

Commands

Command Description
recall --user <id> [--hours 24] Find messages from a user across all groups
search --keyword <text> [--hours 24] Search messages by keyword across all groups
digest [--hours 6] Activity summary of all tracked groups
log-event -s <source> -e <text> Write event to RECENT_EVENTS.md + daily log
sync-groups Auto-discover groups from gateway sessions
add-group -i <id> -n <name> Manually track a group
list-groups Show tracked groups

Usage

# Search for "GIF error" across all groups
node skills/feishu-memory-recall/index.js search -k "GIF" --hours 12

# What happened in all groups in the last 6 hours?
node skills/feishu-memory-recall/index.js digest --hours 6

# Log a cross-session event
node skills/feishu-memory-recall/index.js log-event -s "dev-group" -e "Fixed GIF crash in gateway"

# Auto-discover all Feishu groups from gateway sessions
node skills/feishu-memory-recall/index.js sync-groups

# Find what a specific user said recently
node skills/feishu-memory-recall/index.js recall -u ou_cdc63fe05e88c580aedead04d851fc04 --hours 48

How It Works

  1. sync-groups: Reads ~/.openclaw/agents/main/sessions/sessions.json to auto-discover all Feishu groups the agent is connected to.
  2. search/recall/digest: Calls Feishu API to fetch messages from tracked groups, filters by keyword/user/time.
  3. log-event: Appends to both RECENT_EVENTS.md (rolling 24h cross-session feed) and memory/YYYY-MM-DD.md (permanent daily log).

Configuration

Requires Feishu credentials in .env:

FEISHU_APP_ID=cli_xxxxx
FEISHU_APP_SECRET=xxxxx

Group list is stored in memory/active_groups.json and can be auto-populated via sync-groups.

来源信息

Source
github
Repository
openclaw/skills
Path
skills/autogame-17/feishu-memory-recall
Version
2.0.0
Commit
8b14ce55dcb1846de62a8d36a1d63e5e14dca1bd
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Feishu Memory Recall

Cross-group awareness for OpenClaw. Search messages, generate digests, and share events across all Feishu groups and DMs.

## Commands

| Command | Description |
|---|---|
| `recall --user <id> [--hours 24]` | Find messages from a user across all groups |
| `search --keyword <text> [--hours 24]` | Search messages by keyword across all groups |
| `digest [--hours 6]` | Activity summary of all tracked groups |
| `log-event -s <source> -e <text>` | Write event to RECENT_EVENTS.md + daily log |
| `sync-groups` | Auto-discover groups from gateway sessions |
| `add-group -i <id> -n <name>` | Manually track a group |
| `list-groups` | Show tracked groups |

## Usage

```bash
# Search for "GIF error" across all groups
node skills/feishu-memory-recall/index.js search -k "GIF" --hours 12

# What happened in all groups in the last 6 hours?
node skills/feishu-memory-recall/index.js digest --hours 6

# Log a cross-session event
node skills/feishu-memory-recall/index.js log-event -s "dev-group" -e "Fixed GIF crash in gateway"

# Auto-discover all Feishu groups from gateway sessions
node skills/feishu-memory-recall/index.js sync-groups

# Find what a specific user said recently
node skills/feishu-memory-recall/index.js recall -u ou_cdc63fe05e88c580aedead04d851fc04 --hours 48
```

## How It Works

1. **sync-groups**: Reads `~/.openclaw/agents/main/sessions/sessions.json` to auto-discover all Feishu groups the agent is connected to.
2. **search/recall/digest**: Calls Feishu API to fetch messages from tracked groups, filters by keyword/user/time.
3. **log-event**: Appends to both `RECENT_EVENTS.md` (rolling 24h cross-session feed) and `memory/YYYY-MM-DD.md` (permanent daily log).

## Configuration

Requires Feishu credentials in `.env`:
```
FEISHU_APP_ID=cli_xxxxx
FEISHU_APP_SECRET=xxxxx
```

Group list is stored in `memory/active_groups.json` and can be auto-populated via `sync-groups`.

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.