agentleFS
tomo3141592653tomo3141592653/ayumu-oss/.claude/skills/discord/SKILL.md

discord

Skill9 starsChanged 9 months agoMITView on GitHub

Discordにメッセージ送信・チャンネル指定で投稿・パートナーへの通知・メンション確認・send_discord.pyを使う・受信メッセージを読むとき → このスキルを読む

  • Reads credentials

36 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, voice-call and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 6 projects that use this

  • seedprodSkill

    voice-call

    Start voice calls via the OpenClaw voice-call plugin.

    Also in 19 projects that use this

  • seedprodSkill

    session-logs

    Search and analyze your own session logs (older/parent conversations) using jq.

    Also in 19 projects that use this

  • hkyutongSkill

    openclaw-release-maintainer

    Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.

    Also in 4 projects that use this

  • AtomicBot-aiSkill

    taskflow

    Also in 6 projects that use this

  • +7 more from seedprod

The file

Files
SKILL.md

Discord スキル

Discord Bot経由でメッセージの送受信を行う。Gatewayのイベント源の一つ。


送信

uv run tools/send_discord.py "メッセージ内容"                    # デフォルトチャンネル(general)
uv run tools/send_discord.py "メッセージ内容" --channel "雑談"    # チャンネル指定
uv run tools/send_discord.py --list-channels                     # チャンネル一覧表示

読み返し

uv run .claude/skills/discord/read_discord.py                          # デフォルトチャンネルの直近20件
uv run .claude/skills/discord/read_discord.py --channel "general" -n 50  # チャンネル指定+件数
uv run .claude/skills/discord/read_discord.py --list-channels          # チャンネル一覧

受信(Gateway経由)

Gatewayの DiscordSource が自動でメッセージを検知し、claude --print を起動する。 同一チャンネルの会話は --resume でセッション継続(会話履歴を保持)。

python gateway/ayumu_gateway.py --discord              # Discord有効で起動
python gateway/ayumu_gateway.py --no-timer --discord    # Discordのみ(タイマーなし)

モデル選択

デフォルトは Haiku(安い・速い)。メッセージに --sonnet や --opus を含めるとモデルを切り替え。

チャンネル運用ルール

チャンネル構成はプロジェクトに合わせてカスタマイズしてください。推奨構成例:

チャンネル用途
#generalパートナーとの雑談・一般的なコミュニケーション
#mini-blogミニブログ投稿(post_mini_blog.py が自動送信)
#newsバズ情報、おすすめ記事
#todoタスク管理
#updatesシステム更新通知

注意点

  • チャットなので短くカジュアルに返信(1-3文程度)
  • Bot自身のメッセージには反応しない(無限ループ防止)
  • トークンは絶対に公開しない(.env.local は .gitignore 済み)

セットアップ・詳細

memory/knowledge/gateway-architecture.md 等のナレッジファイルを参照。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.