claude-code-discord AGENTS.md

Repository instructions for a Claude Code Discord application, covering code quality, user-interface presentation, research freshness, and testing.

In plain words
What is it for?
Use them when developing, testing, reviewing, or presenting features in the zebbern/claude-code-discord project.
Why use it?
They encourage checking current information and real behavior while keeping outputs readable across Discord, command-line, and future interfaces.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/zebbern/claude-code-discord/agents-md
Clone the repo
git clone --depth 1 https://github.com/zebbern/claude-code-discord

Made for: Codex, OpenCode.

Per session 1,914 This file is loaded in full into every session.
When invoked 1,914 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01914 $0.01914
Opus 5 $0.00957 $0.00957
Sonnet 5 $0.00383 $0.00383
Haiku 4.5 $0.00191 $0.00191

Measured 2d ago against content hash 8f795cabea6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-code-discord AGENTS.md 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 2d 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

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 171 lines

How it starts

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

AGENTS GUIDELINES

  • You have skills which have practices, patterns or good information for specific work
  • Quality over quantity — fewer high-quality outputs over many low-quality ones and use caution over speed.
  • Prefer clean architecture, verifying and using up to date information, flexibility over rigidity, flexible code/development, good dead-code & dependency hygiene (knip) if relevant, for trivial tasks, use judgment.
  • TypeScript: keep imports at the top of the file (no inline imports). Switches over unions/enums must be exhaustive (never in default).

It can be spawned agents for specific tasks, but don't let them run wild. Always review their output and verify it against the real code/real run before accepting it.

Presentation & UX

Build for flexible, context-aware presentation rather than fixed dimensions or one-size layouts.

  • Prefer structures that adapt to the surface (Discord embeds and components, CLI/TUI output, docs, or a future web UI) instead of hard-coded widths, lengths, or one-device assumptions.
  • Keep text readable across contexts: scale or truncate thoughtfully, avoid walls of unreadable output, and preserve hierarchy (title → summary → detail).
  • When content must fit platform limits (e.g. Discord embed caps), truncate safely with a clear indicator rather than failing or overflowing silently.

Knowledge Freshness & Research Preferences

Do not rely solely on your internal knowledge or training data when making implementation decisions. Your memory is frequently outdated.

Before implementing anything non-trivial (especially integrations, tools, SDKs, platforms, AI agents, or architectural patterns):

  1. Actively look up the latest official documentation, release notes, changelogs, and recommended approaches.
  2. Check whether newer versions, official solutions, or better patterns already exist that would change how the task should be approached.
  3. Prefer using current best practices and existing tools over rebuilding something from scratch based on older knowledge.
  4. If there is any uncertainty about the current recommended way to do something, ask clarifying questions instead of defaulting to what you remember.

Read the full file on GitHub · 171 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. 2d ago First seen · 171 lines · 1,914 tokens per session scan A 8f795cabea6b

Subscribe to this mod's changes

claude-code-discord AGENTS.md is an instructions file published in the GitHub repository zebbern/claude-code-discord (229 stars, last pushed 1mo ago), licensed MIT. It adds 1,914 tokens to every session, about $0.0096 per session on Opus 5. 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-30.

Related

Other instructions, from other repositories

toolsdk-mcp-registry AGENTS.md

AGENTS.md instructions for toolsdk-ai/toolsdk-mcp-registry: When reviewing or merging registry pull requests, follow docs/PRREVIEW.md. Use .agents/skills/check-mcp-json/SKILL.md for the reusable review, repair, and squash-merge workflow and its read-only helper scripts.

toolsdk-ai/toolsdk-mcp-registry · 204 tokens

awesome-ai-conventions copilot-instructions.md

Copilot instructions for GuilhermeAlbert/awesome-ai-conventions: This project prefers direct, maintainable code over broad abstractions.

GuilhermeAlbert/awesome-ai-conventions · 85 tokens

awesome-go AGENTS.md

AGENTS.md instructions for avelino/awesome-go, covering awesome-go · llm contribution guide, project snapshot, when modifying the awesome list, coding guidelines and testing & validation.

avelino/awesome-go · 624 tokens

awesome-ChatGPT-repositories CLAUDE.md

Claude Code instructions for taishi-i/awesome-ChatGPT-repositories, covering awesome-chatgpt-repositories — claude code guide, repository structure, plugin skill (when installed via /plugin), local standalone command (when repo is cloned) and compact data format (plugins/awesome-chatgpt-search/data/).

taishi-i/awesome-ChatGPT-repositories · 995 tokens

awesome-vscode CLAUDE.md

Instructions for viatsko/awesome-vscode, covering claude.md, what this repo is, adding an entry, themes and linting / ci.

viatsko/awesome-vscode · 515 tokens

awesome-python AGENTS.md

AGENTS.md instructions for vinta/awesome-python, covering agents.md and entry rules.

vinta/awesome-python · 368 tokens