discord

discord is a skill for Claude Code, Codex from withoneai/one-agent-plugin. It costs 106 tokens per session (5,932 once invoked), scanned A, a copy of 2-chat, MIT.

A communication platform built around private or public servers, which contain topic-focused text, voice, and video channels. It supports real-time conversations and community interaction.

In plain words
What is it for?
Use it to manage servers and channels, send messages, support voice or video conversations, and connect applications with Discord communities.
Why use it?
It brings conversations, media, and community discussions into organized spaces instead of scattered one-to-one messages.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to manage servers and channels, send messages, support voice or video conversations, and connect applications with Discord communities.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/withoneai/one-agent-plugin/discord
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add withoneai/one-agent-plugin --skill discord
Clone the repo
git clone --depth 1 https://github.com/withoneai/one-agent-plugin

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for discord

README.md
[![agentmods](https://agentmods.dev/badge/skills/withoneai/one-agent-plugin/discord/github.svg)](https://agentmods.dev/skills/withoneai/one-agent-plugin/discord)
Your own site
<a href="https://agentmods.dev/skills/withoneai/one-agent-plugin/discord"><img src="https://agentmods.dev/badge/skills/withoneai/one-agent-plugin/discord/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for discord

Your own site · 80×15
<a href="https://agentmods.dev/skills/withoneai/one-agent-plugin/discord"><img src="https://agentmods.dev/badge/skills/withoneai/one-agent-plugin/discord.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 77% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.05932
Opus 5 $0.00053 $0.02966
Sonnet 5 $0.00021 $0.01186
Haiku 4.5 $0.00011 $0.00593

Measured 5d ago against content hash bdc0f7618f1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

discord scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

77% identical to 2-chat — 304 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

platforms/one-discord/skills/discord/SKILL.md · 207 lines

How it starts

The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Discord through One

Discord is a voice, video, and text communication platform that brings people together in private or community-based “servers,” enabling rich multimedia conversations, persistent chat rooms, and real-time interaction inside flexible, topic-focused groups.

One exposes Discord through four MCP tools. The table below carries real action ids from One's knowledge base, so for a common operation you can skip search and go straight to reading the action's parameters.

How to run an action

  1. Find the action in the table below, or call search_one_platform_actions with platform discord if it is not listed.
  2. Call get_one_action_knowledge with the action id. Do this every time, including for actions in this table. The table gives you the id, not the parameters.
  3. Call execute_one_action with parameters copied from that knowledge.

Never guess a parameter name, a body field, or an enum value. The knowledge has the real schema, and a guessed field is either a 400 or a silent write of the wrong thing.

Before you start

Call list_one_integrations once and confirm Discord is connected. If it is missing, the user has not connected it: say so and point them at https://app.withone.ai rather than reaching for raw HTTP.

Each connection carries an access field. If it reports {"policy": "methods", "methods": ["GET"]} the agent is read-only here, so plan a read-only answer instead of attempting a write that will be refused.

Before a write

Creates, updates, deletes and sends land on a real Discord account and cannot be recalled. State the action and the specific target in one line before the first write in a task, and let the user stop you. Reads need no confirmation.

Actions

ApplicationCommands

Action Method Path Action id
Get a Guild Application Command GET /applications/{{applicationId}}/guilds/{{guildId}}/commands/{{commandId}} conn_mod_def::GJ2WDkhWbpc::jUBSwoqWQV2vCF1gXdQLgQ
Get an Application Command GET /applications/{{applicationId}}/commands/{{commandId}} conn_mod_def::GJ2WB83ehVM::SXDaDw0CRKqf3cHC6azm6A
List a Guild's Application Commands GET /applications/{{applicationId}}/guilds/{{guildId}}/commands conn_mod_def::GJ2WK7VOklc::AOt1X6yfQu2lHiE_o1b9bA
List an Application's Commands GET /applications/{{applicationId}}/commands conn_mod_def::GJ2WKGqx1BY::Yv1d6uXeTdeY9NnYWmDNkg
Bulk Set a Guild’s Application Commands PUT /applications/{{applicationId}}/guilds/{{guildId}}/commands conn_mod_def::GJ2V3zmJyCk::D3kJj8E5QRWQbBfl6Q09eQ
Bulk Set an Application’s Commands PUT /applications/{{applicationId}}/commands conn_mod_def::GJ2V3qRGHDw::AshN8fXQRJKDn1MVMe-xIw
Create a Guild Application Command POST /applications/{{applicationId}}/guilds/{{guildId}}/commands conn_mod_def::GJ2V5P8Ig_I::TIyfYGDGRmqFRf0IvRGIgw
Create an Application Command POST /applications/{{applicationId}}/commands conn_mod_def::GJ2V4cA4Y5o::wOEGwJcqQlenHb4tZjybSw
Delete an Application Command DELETE /applications/{{applicationId}}/commands/{{commandId}} conn_mod_def::GJ2V8Y6Na2E::xT3OqJ3TQ2GJHuBoneK0yw
Update an Application Command PATCH /applications/{{applicationId}}/commands/{{commandId}} conn_mod_def::GJ2WQ21L-eo::acm13q6nRky-FiII5xAhDQ

Read the full file on GitHub · 207 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 207 lines · 0 tokens per session scan A bdc0f7618f1e

Subscribe to this mod's changes

discord is a skill published in the GitHub repository withoneai/one-agent-plugin (1 stars, last pushed 19d ago), licensed MIT. It adds 106 tokens to every session and 5,932 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 77% identical to 2-chat, differing in 304 lines, and is treated as a copy.