360 Secure SkillHub
360 安全技能中心

Slacrawl

通过 slacrawl 命令行读取本地 Slack 归档:先检查数据新鲜度与状态,按需从桌面或 Slack API 同步,再以关键词搜索、按时间范围列出消息,并用只读 SQL 做精确计数与排序。API 同步与线程、私信补全需要 Slack 令牌。

openclaw
openclaw
热度 29.49
最近更新 2026-05-17 19:36:46
分类:搜索依赖:代码执行 / 第三方 API / 读写文件应用场景:研究 / 数据处理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add slacrawl
Metadata
name
slacrawl
description
Slack archive: search, sync freshness, threads/DMs, SQL counts, and Slacrawl repo work.
metadata
{"openclaw":{"homepage":"https://github.com/openclaw/slacrawl","requires":{"bins":["slacrawl"]},"install":[{"kind":"go","module":"github.com/openclaw/slacrawl/cmd/slacrawl@latest","bins":["slacrawl"]}]}}

Slacrawl

Use local Slack archive data first. Check freshness for recent/current questions:

slacrawl doctor
slacrawl status --json

Refresh only when stale or asked:

slacrawl sync --source desktop
slacrawl sync --source api --latest-only

Query with bounded slices:

slacrawl search --limit 20 "query"
slacrawl messages --since 7d --limit 50
slacrawl sql "select count(*) from messages;"

Report workspace/channel names, absolute date spans, counts, and token/source limits. Use read-only SQL for exact counts/rankings. API sync and full thread/DM hydration require Slack tokens; do not assume they exist.