Borrowing it
Nothing to install: this file belongs to ebibibi/ebi-agent-chat-relay. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ebibibi/ebi-agent-chat-relay/main/.github/copilot-instructions.mdgit clone --depth 1 https://github.com/ebibibi/ebi-agent-chat-relayWrote 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/instructions/ebibibi/ebi-agent-chat-relay/copilot-instructions)<a href="https://agentmods.dev/instructions/ebibibi/ebi-agent-chat-relay/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/ebibibi/ebi-agent-chat-relay/copilot-instructions/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/instructions/ebibibi/ebi-agent-chat-relay/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/ebibibi/ebi-agent-chat-relay/copilot-instructions.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.00426 | $0.00426 |
| Opus 5.5 | $0.00170 | $0.00170 |
| Sonnet 5.5 | $0.00085 | $0.00085 |
| Haiku 4.5 | $0.00043 | $0.00043 |
Grade A, and why
ebi-agent-chat-relay copilot-instructions.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 3mo 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
claude-code-discord-bridge — Copilot Instructions
Discord frontend for Claude Code CLI. Python 3.12+ with discord.py v2.
Key Rules
- Type hints required on all function signatures
from __future__ import annotationsin every Python file- ruff for linting and formatting (line-length: 100)
- pytest with pytest-asyncio (auto mode) for testing
- Never use
shell=Truein subprocess calls — alwayscreate_subprocess_exec - Validate all user input before passing to CLI (regex for session IDs, skill names)
--separator before user prompts in CLI args to prevent flag injectioncontextlib.suppressfor non-critical Discord API failures- Logging via
logging.getLogger(__name__), neverprint()
Architecture
claude_discord/claude/— CLI subprocess runner and stream-json parserclaude_discord/cogs/— Discord.py Cogs. Use_run_helper.run_claude_in_thread()for CLI executionclaude_discord/database/— SQLite session persistence (aiosqlite)claude_discord/discord_ui/— Status reactions, message chunking, embedstests/— pytest suite
Testing (TDD Enforced)
Write tests FIRST, then implement. Follow RED → GREEN → REFACTOR for all new features and bug fixes.
uv run pytest tests/ -v --cov=claude_discord
uv run ruff check claude_discord/
uv run ruff format --check claude_discord/
Security (Mandatory Pre-Commit)
This project spawns Claude Code CLI as a subprocess. All user input flows through to CLI args. Never interpolate user input into shell commands. Strip secrets from subprocess env. Run security audit before committing changes to runner.py, _run_helper.py, or any Cog.
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.
- 3mo ago First seen · 40 lines · 426 tokens per session scan A 833baceb7fa6
ebi-agent-chat-relay copilot-instructions.md is an instructions file published in the GitHub repository ebibibi/ebi-agent-chat-relay (68 stars, last pushed yesterday), licensed MIT. It adds 426 tokens to every session, about $0.0017 per session on Opus 5.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.
ebi-agent-chat-relay copilot-instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ebi-agent-chat-relay copilot-instructions.mdebibibi/ebi-agent-chat-relay | Instructions file | 68 | yesterday | MIT | A | 426 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,951 | Codex, OpenCode |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 291k | yesterday | MIT | A | 4,396 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,303 | GitHub Copilot |