discord

discord is a skill for Claude Code, Codex from mnlt/teleport. It costs 65 tokens per session (1,668 once invoked), scanned B, original, MIT.

A direct integration with Discord, a chat and community platform, through its REST API, the web interface programs use to exchange data. It can work without a continuously running bot or real-time connection.

In plain words
What is it for?
Use it to post messages, read recent channel history, manage guilds, roles, and members, send webhook notifications, or register slash commands.
Why use it?
It handles common Discord tasks without setting up a gateway connection or bot process. It is not intended to receive interactive events such as button clicks or slash-command invocations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to post messages, read recent channel history, manage guilds, roles, and members, send webhook notifications, or register slash commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mnlt/teleport/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 mnlt/teleport --skill discord
Clone the repo
git clone --depth 1 https://github.com/mnlt/teleport

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/mnlt/teleport/discord.svg)](https://agentmods.dev/skills/mnlt/teleport/discord)
Your own site
<a href="https://agentmods.dev/skills/mnlt/teleport/discord"><img src="https://agentmods.dev/badge/skills/mnlt/teleport/discord.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,668 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00065 $0.01668
Opus 5 $0.00032 $0.00834
Sonnet 5 $0.00013 $0.00334
Haiku 4.5 $0.00006 $0.00167

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

Security

Grade B, and why

discord scanned grade B with 2 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 7d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**Do NOT suggest editing `~/.claude/settings.local.json` manually.** The `teleport-setup add-key` command handles it with backup, validation, and masked input. Stop execution until the user has run the command and restar

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL -X POST "${AUTH[@]}" "${UA[@]}" -H "Content-Type: application/json" \
skills/discord/SKILL.md · 115 lines

How it starts

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

Discord

Direct REST calls against Discord's v10 HTTP API — no MCP, no gateway. Good for bot messaging, reading history, light guild management, webhooks, registering slash commands. Does NOT receive interactions (buttons, slash invocations) — needs a public HTTPS endpoint.

Usage

  • Use for: Posting to channels, reading recent history, managing roles/members, firing webhooks, registering guild slash commands.
  • Skip for: Real-time chat loops (gateway), receiving slash/button events (public HTTP handler), voice state, presence/audit-log streaming.

Credentials check

[ -n "$DISCORD_BOT_TOKEN" ] && echo "DISCORD_BOT_TOKEN: PRESENT" || echo "DISCORD_BOT_TOKEN: MISSING"

Never echo the variable directly — the value would land in the conversation transcript.

If MISSING, respond to the user with EXACTLY this message (do NOT paraphrase, do NOT suggest manual JSON edits):

I need your discord credential. Run this in another terminal — it'll open the signup page, validate format, and save it safely with masked input:

teleport-setup add-key discord

Then restart Claude Code (/exit, then claude) and ask me again.

Do NOT suggest editing ~/.claude/settings.local.json manually. The teleport-setup add-key command handles it with backup, validation, and masked input. Stop execution until the user has run the command and restarted.

API

  • Base URL: https://discord.com/api/v10.
  • Auth: Authorization: Bot $DISCORD_BOT_TOKEN. The literal prefix is Bot (trailing space) — NOT Bearer. Wrong prefix = bare 401. Webhook execute takes no auth header (token is in URL).
  • User-Agent is required — Cloudflare blocks/rate-limits missing or fake UAs before Discord sees the request. Format: DiscordBot (https://example.com, 1.0).
  • Content-Type: application/json for JSON; multipart/form-data for file uploads.
  • Rate limits stack: per-route (X-RateLimit-Bucket) + global 50 req/s per bot. Watch X-RateLimit-Remaining / X-RateLimit-Reset-After; on 429 honor Retry-After.
  • Bot must be invited to the target guild (OAuth2 URL, scopes bot + applications.commands) or every call 403/404s. Reading non-mention message content needs the Message Content Intent (privileged).

Read the full file on GitHub · 115 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. 7d ago First seen · 115 lines · 65 tokens per session scan B 99587f22fa1b

Subscribe to this mod's changes

discord is a skill published in the GitHub repository mnlt/teleport (8 stars, last pushed 4mo ago), licensed MIT. It adds 65 tokens to every session and 1,668 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

save-learning

Saves user instructions as persistent learnings for future sessions. Use when the user says 'remember this', 'always do X', 'from now on', 'never do Y', or gives any instruction they want persisted across sessions. Proactively suggest when the user states a preference, convention, or rule they clearly want followed in…

caliber-ai-org/ai-setup · 71 tokens

lc-curate-context

Decide which files a task actually needs, record that as a reusable llm-context rule, verify it against the codebase - including the files your selection references but leaves out - and pack it for your own context, a chat, or a sub-agent you dispatch. Load when choosing what code to put in front of a model, packing…

cyberchitta/llm-context.py · 90 tokens

web-access

A method for handling difficult web tasks across search, page fetching, and a real browser. It covers sites that need login sessions, dynamic pages, anti-bot handling, or exploration before their structure is understood.

open-octo/octo-agent · 139 tokens

skill-creator

A skill for creating or improving reusable instructions for an agent. It covers capturing the intended workflow, writing a draft, testing it, and refining its trigger description.

open-octo/octo-agent · 123 tokens

repo

Repository operating rules for verified Mythos edits.

thewaltero/mythos-router · 11 tokens

duel-agents

Configure and use Duel Agents model routing in Claude Code. Requires a Duel API key from duelagents.com. Routes all LLM traffic through duelagents.com/v1.

2aronS/Duel-Agents · 38 tokens