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.
npx skills add sandraschi/discord-mcp --skill discord-raggit clone --depth 1 https://github.com/sandraschi/discord-mcpWrote 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.
[](https://agentmods.dev/skills/sandraschi/discord-mcp/discord-rag)<a href="https://agentmods.dev/skills/sandraschi/discord-mcp/discord-rag"><img src="https://agentmods.dev/badge/skills/sandraschi/discord-mcp/discord-rag/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.
<a href="https://agentmods.dev/skills/sandraschi/discord-mcp/discord-rag"><img src="https://agentmods.dev/badge/skills/sandraschi/discord-mcp/discord-rag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00432 |
| Opus 5 | $0.00000 | $0.00216 |
| Sonnet 5 | $0.00000 | $0.00086 |
| Haiku 4.5 | $0.00000 | $0.00043 |
Grade A, and why
discord-rag 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 11d 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.
What it actually says
Discord RAG Skill
Overview
Retrieval-Augmented Generation over Discord message history. Ingest channel messages into a local LanceDB vector database, then search semantically — find messages about a topic even when the exact words don't match.
How It Works
rag_ingest(channel_id, limit=50)fetches recent messages, generates embeddings via sentence-transformers (all-MiniLM-L6-v2), and stores them in LanceDB atdata/discord_lancedb.rag_query(query_text, top_k=10)finds the top_k most semantically similar messages and returns them with channel name, author, and timestamp.
Data persists across restarts. You can use different table_name values to organize data from different channels or servers.
Workflow
1. Ingest Messages
discord(operation="rag_ingest", channel_id="...", limit=100)
Start with a reasonable limit (50-100 messages). Larger ingests take longer due to embedding generation.
2. Search
discord(operation="rag_query", query_text="discussion about deployment", top_k=10)
Prefer narrow, specific queries for best results.
3. Act on Results
The returned messages include channel_id, author, timestamp, and the message content. From here you can:
- Use
get_messagesto fetch the full thread context - Use
send_messageto respond in the same channel - Use
export_messagesto archive the discussion
Tips
- Ingest separate channels into separate tables by setting
table_name="..."— this keeps contexts clean. - The first ingest call loads the embedding model (takes ~5-10s). Subsequent queries are fast.
- RAG requires
sentence-transformersand its dependencies (installed viauv sync --extra rag). - Data is local-only. No external API calls are made during ingest or query.
Env Dependencies
LANCEDB_DISCORD_PATH— Override LanceDB storage path (default:data/discord_lancedb).
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.
- 11d ago First seen · 44 lines · 0 tokens per session scan A 82bccebbcd67
discord-rag is a skill published in the GitHub repository sandraschi/discord-mcp (2 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 432 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
graph-retrieval
Exposes graph-based retrieval as a tool capability via querygraph. Reads normalized graph store files, builds a query-relevant subgraph, and returns LLM-friendly semantic triples with replayable evidence metadata.
knowledge-layer
High-level deployment wrapper over RepoBrain core with graph-first knowledge injection and all-file support. Exposes refreshfilesystem and askfilesystem for building and querying the knowledge graph.
opik-evaluate
Build an LLM evaluation and run it against your app, returning an experiment with scores. Covers datasets, LLM judges, RAG evaluation, synthetic data, error analysis, and validating evaluators against human labels. Use when the user wants to measure or improve AI product quality, or asks about evals, judges, or…
haiku-rag
Search, read and compute over the user's haiku.rag knowledge base through the haiku-rag MCP tools. Use whenever a request could be answered from the user's ingested documents, when asked to find, look up, check or cite something in their documents or knowledge base, or when the question is about the user's own…
local-rag-search
Efficiently perform web searches using the mcp-local-rag server with semantic similarity ranking. Use this skill when you need to search the web for current information, research topics across multiple sources, or gather context from the internet without using external APIs. This skill teaches effective use of…
setup
Configure the Qdrant Power after installation. Use this skill for missing uvx, missing environment variables, unapproved environment variables, unavailable Qdrant tools, "Failed to connect" errors, and setup requests.