slacrawl
GitHubSlack归档数据管理工具,支持搜索、同步新鲜度检查及SQL查询。用于利用本地缓存或API获取Slack消息,适用于回答基于Slack历史数据的提问或进行数据分析。
Trigger Scenarios
Install
npx skills add openclaw/openclaw --skill slacrawl -g -y
SKILL.md
Frontmatter
{
"name": "slacrawl",
"metadata": {
"openclaw": {
"install": [
{
"bins": [
"slacrawl"
],
"kind": "go",
"module": "github.com\/openclaw\/slacrawl\/cmd\/slacrawl@latest"
}
],
"homepage": "https:\/\/github.com\/openclaw\/slacrawl",
"requires": {
"bins": [
"slacrawl"
]
}
}
},
"description": "Slack archive: search, sync freshness, threads\/DMs, SQL counts, and Slacrawl repo work."
}
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.
Version History
-
8e18591
Current 2026-09-23 04:23
同步逻辑从desktop/api源调整为wiretap/bot/mcp源,简化了维护技能并同步了共享工具。
- 3374458 2026-08-20 13:30


