ai-raccoon: Instructions file for GitHub Copilot

.github/instructions/mcp.instructions.md

ai-raccoon mcp.instructions.md is an instructions file for GitHub Copilot from Arasz/ai-raccoon. It costs 251 tokens per session, scanned C, original, MIT.

A set of rules for building an MCP server as a thin client for another API. MCP, the Model Context Protocol, lets AI agents call tools through a defined interface.

In plain words
What is it for?
Use it when adding MCP tools, defining tool descriptions, connecting API operations, handling credentials, or testing server transport behavior.
Why use it?
It keeps business logic, storage, authorization, and diagnostics in the appropriate layers. It also protects protocol output and credentials from being mixed into normal logs or source files.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is Arasz/ai-raccoon's own configuration. It tells GitHub Copilot how to work on ai-raccoon itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-raccoon configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Arasz/ai-raccoon. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Arasz/ai-raccoon/main/.github/instructions/mcp.instructions.md
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: GitHub Copilot.

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 ai-raccoon mcp.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/arasz/ai-raccoon/mcp/github.svg)](https://agentmods.dev/instructions/arasz/ai-raccoon/mcp)
Your own site
<a href="https://agentmods.dev/instructions/arasz/ai-raccoon/mcp"><img src="https://agentmods.dev/badge/instructions/arasz/ai-raccoon/mcp/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 ai-raccoon mcp.instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/arasz/ai-raccoon/mcp"><img src="https://agentmods.dev/badge/instructions/arasz/ai-raccoon/mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 251 This file is loaded in full into every session.
When invoked 251 The same file — it is already loaded in full.
Security scan C 1 finding. 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.00251 $0.00251
Opus 5.5 $0.00100 $0.00100
Sonnet 5.5 $0.00050 $0.00050
Haiku 4.5 $0.00025 $0.00025

Measured yesterday against content hash ea1beb3d88e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

ai-raccoon mcp.instructions.md scanned grade C with 1 finding 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 yesterday.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Managed by ai-badger. Source of truth: .ai-badger/instructions/mcp.instructions.md. Do not edit this copy by hand; edit the source and re-run welcome-ai-badger. -->
.github/instructions/mcp.instructions.md · 17 lines

What it actually says

MCP Server

  • Treat the MCP server as a thin API client: do not place domain, persistence, orchestration, or authorization logic here.
  • Reserve stdout exclusively for the stdio MCP protocol when using stdio transport. Configure all diagnostic logging for stderr (or an out-of-band sink for HTTP transport); never write protocol-adjacent diagnostics to stdout.
  • Keep every tool and parameter description accurate, specific, and useful to an LLM caller; these descriptions are the agent-facing API contract.
  • Keep MCP tools mapped 1:1 to backend API operations. Business branching, persistence decisions, or state-machine logic here are defects.
  • Read credentials and function/API keys only from configuration or environment variables. Do not add credentials, defaults, or sample secret values to tracked files.
  • Build, test, and run the MCP server locally when the change can be exercised that way.
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. yesterday First seen · 17 lines · 251 tokens per session scan C ea1beb3d88e2

Subscribe to this mod's changes

ai-raccoon mcp.instructions.md is an instructions file published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 251 tokens to every session, about $0.0010 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

ai-raccoon mcp.instructions.md compared with instructions from other repositories

ai-raccoon mcp.instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-raccoon mcp.instructions.mdArasz/ai-raccoonInstructions file7todayMITC251GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot