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

discord

Skill9 starsChanged 9 months agoMITView on GitHub

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

  • Reads credentials

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use node-connect, gh-issues and 2 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.
  • indranilbanerjeeSkill

    node-connect

    Diagnose DMClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale, or plugins.entries.device-pair.config.publicUrl.

    Also in 3 projects that use this

  • GoogleSkill

    gh-issues

    Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]

    Also in 3 projects that use this

  • overkillkultureSkill

    healthcheck

    Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).

    Also in 4 projects that use this

  • indranilbanerjeeSkill

    xurl

    A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.

    Also in 3 projects that use this

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.