Agent Skillsopenclaw/openclaw › discrawl

discrawl

GitHub

Discrawl用于本地归档和同步Discord数据,支持搜索、DM获取及摘要生成。提供TUI与CLI工具,强调使用本地数据优先,仅在必要时调用API,并包含安全沙箱机制。

.agents/skills/discrawl/SKILL.md openclaw/openclaw

Trigger Scenarios

查询Discord聊天记录或DM 生成Discord社区摘要 检查Discord数据新鲜度

Install

npx skills add openclaw/openclaw --skill discrawl -g -y
More Options

Non-standard path

npx skills add https://github.com/openclaw/openclaw/tree/main/.agents/skills/discrawl -g -y

Use without installing

npx skills use openclaw/openclaw@discrawl

指定 Agent (Claude Code)

npx skills add openclaw/openclaw --skill discrawl -a claude-code -g -y

安装 repo 全部 skill

npx skills add openclaw/openclaw --all -g -y

预览 repo 内 skill

npx skills add openclaw/openclaw --list

SKILL.md

Frontmatter
{
    "name": "discrawl",
    "metadata": {
        "openclaw": {
            "install": [
                {
                    "bins": [
                        "discrawl"
                    ],
                    "kind": "go",
                    "module": "github.com\/openclaw\/discrawl\/cmd\/discrawl@latest"
                }
            ],
            "homepage": "https:\/\/github.com\/openclaw\/discrawl",
            "requires": {
                "bins": [
                    "discrawl"
                ]
            }
        }
    },
    "description": "Discord archive: search, sync freshness, DMs, summaries, TUI, repo\/release work."
}

Discrawl

Use local Discord archives first. For recent/current questions, check discrawl status --json; use discrawl doctor for source/config readiness. Refresh only when stale, missing the requested scope, or explicitly requested.

discrawl sync --source wiretap  # local Discord Desktop artifacts
discrawl sync                   # configured source; bot API requires credentials

Use --full only for deliberate historical backfills. Do not interrupt another archive writer to resolve a busy/locked database. Resolve configured paths instead of assuming default macOS, XDG, or legacy locations.

Read Bounded Slices

DISCRAWL_NO_AUTO_UPDATE=1 discrawl search --limit 20 "query"
discrawl messages --channel '<channel>' --days 7 --all
discrawl dms --last 20
DISCRAWL_NO_AUTO_UPDATE=1 discrawl --json sql "select count(*) as messages from messages;"

DISCRAWL_NO_AUTO_UPDATE=1 suppresses git-share updates during read smokes. discrawl sql is read-only by default and accepts SQL arguments or stdin. Use it for exact counts/joins when normal reads are too coarse; never use --unsafe --confirm without an explicitly requested and reviewed database mutation. Consult subcommand help for filters. Report absolute date spans, channel/DM names, counts, freshness, and source gaps.

Source Boundaries

Desktop wiretap reads local artifacts; it must not extract credentials, use user tokens, call Discord as the user, or write Discord application storage. Bot sync needs configured bot credentials; never infer availability. Desktop DMs are local-only, not part of the published Git snapshot. Git-share snapshots must exclude secrets and @me DM rows.

For implementation work or a genuinely missing CLI feature, verify the checkout remote is openclaw/discrawl and follow its instructions. Do not assume a machine-specific historical checkout path.

ClawSweeper Sandbox

Use the sandbox reader only:

discrawl-sandbox search --limit 20 "query"
discrawl-sandbox messages --channel clawtributors --days 7 --all
discrawl-sandbox status --json

This reader imports https://github.com/openclaw/discord-store.git into /root/clawsweeper-sandbox-workspace/.discrawl/discrawl.db with discord.token_source = "none". The published Git snapshot is public-channel filtered; do not use /root/.discrawl/config.toml or the rich writer DB from sandboxed public Discord sessions.

Version History

  • 8e18591 Current 2026-09-23 04:21

    简化维护者技能配置,同步共享工具链,并从发布工作流中移除技能文本断言测试。

  • 3374458 2026-08-20 13:28

Same Skill Collection

.agents/skills/agent-transcript/SKILL.md
.agents/skills/auto-qa/SKILL.md
.agents/skills/autoreview/SKILL.md
.agents/skills/channel-message-flows/SKILL.md
.agents/skills/claw-score/SKILL.md
.agents/skills/clawdtributor/SKILL.md
.agents/skills/clawsweeper/SKILL.md
.agents/skills/control-ui-e2e/SKILL.md
.agents/skills/crabbox/SKILL.md
.agents/skills/deslop/SKILL.md
.agents/skills/discord-clawd/SKILL.md
.agents/skills/discord-e2e/SKILL.md
.agents/skills/discord-user-post/SKILL.md
.agents/skills/gitcrawl/SKILL.md
.agents/skills/graincrawl/SKILL.md
.agents/skills/notcrawl/SKILL.md
.agents/skills/openclaw-changelog-update/SKILL.md
.agents/skills/openclaw-ci-limits/SKILL.md
.agents/skills/openclaw-debugging/SKILL.md
.agents/skills/openclaw-docker-e2e-authoring/SKILL.md
.agents/skills/openclaw-ghsa-maintainer/SKILL.md
.agents/skills/openclaw-live-updater/SKILL.md
.agents/skills/openclaw-parallels-smoke/SKILL.md
.agents/skills/openclaw-pr-maintainer/SKILL.md
.agents/skills/openclaw-qa-testing/SKILL.md
.agents/skills/openclaw-refactor-docs/SKILL.md
.agents/skills/openclaw-release-validation/SKILL.md
.agents/skills/openclaw-repair-sweep/SKILL.md
.agents/skills/openclaw-secret-scanning-maintainer/SKILL.md
.agents/skills/openclaw-test-heap-leaks/SKILL.md
.agents/skills/openclaw-test-performance/SKILL.md
.agents/skills/openclaw-testing/SKILL.md
.agents/skills/openclaw-update/SKILL.md
.agents/skills/parallels-discord-roundtrip/SKILL.md
.agents/skills/proof-video/SKILL.md
.agents/skills/prototype-openclaw-tui/SKILL.md
.agents/skills/release-openclaw-announcement/SKILL.md
.agents/skills/release-openclaw-ci/SKILL.md
.agents/skills/release-openclaw-mac/SKILL.md
.agents/skills/release-openclaw-maintainer/SKILL.md
.agents/skills/release-openclaw-nightly/SKILL.md
.agents/skills/release-openclaw-plugin-testing/SKILL.md
.agents/skills/security-triage/SKILL.md
.agents/skills/slack-e2e/SKILL.md
.agents/skills/slacrawl/SKILL.md
.agents/skills/tag-duplicate-prs-issues/SKILL.md
.agents/skills/technical-documentation/SKILL.md
.agents/skills/telegram-crabbox-e2e-proof/SKILL.md
.agents/skills/telegram-e2e-userbot/SKILL.md

Metadata

Files
0
Version
8e18591
Hash
7a12b5bd
Indexed
2026-08-20 13:28

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-23 12:51
浙ICP备14020137号-1