360 Secure SkillHub
360 安全技能中心

Slacrawl

通过 slacrawl 命令行查询本地 Slack 归档:检查数据新鲜度、按需同步、检索消息与线程或私信,并用只读 SQL 做精确计数和排行;API 同步与完整会话补全需 Slack 令牌。

分类:协作
hillstreet-ph
热度 31.80
最近更新 2026-11-07 14:20:31

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add hillstreet-ph/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 wiretap
slacrawl sync --source bot --latest-only

wiretap reads Slack Desktop cache; bot uses API tokens. The desktop/api aliases remain valid. A configured connector can use --source mcp; select the workspace explicitly when needed. Use --full only for deliberate backfills.

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.