memory-bank-mcp: Instructions file for GitHub Copilot

.github/copilot-instructions.md

memory-bank-mcp copilot-instructions.md is an instructions file for GitHub Copilot from diaz3618/memory-bank-mcp. It costs 1,350 tokens per session, scanned A, original, MIT.

Project instructions for an AI coding assistant using Memory Bank MCP, a tool that stores project context between sessions. They define required steps for starting, tracking, and finishing every task.

In plain words
What is it for?
Loading project instructions and context, finding related knowledge, tracking milestones, recording decisions, and updating the project’s active state.
Why use it?
They reduce lost context and inconsistent work across AI sessions by requiring the assistant to read project state, follow conventions, and record progress and decisions.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is diaz3618/memory-bank-mcp's own configuration. It tells GitHub Copilot how to work on memory-bank-mcp 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 memory-bank-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to diaz3618/memory-bank-mcp. 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/diaz3618/memory-bank-mcp/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/diaz3618/memory-bank-mcp

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 memory-bank-mcp copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/diaz3618/memory-bank-mcp/copilot-instructions.svg)](https://agentmods.dev/instructions/diaz3618/memory-bank-mcp/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/diaz3618/memory-bank-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/diaz3618/memory-bank-mcp/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,350 This file is loaded in full into every session.
When invoked 1,350 The same file — it is already loaded in full.
Security scan A 0 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.01350 $0.01350
Opus 5 $0.00675 $0.00675
Sonnet 5 $0.00270 $0.00270
Haiku 4.5 $0.00135 $0.00135

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

Security

Grade A, and why

memory-bank-mcp 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 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.

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.

.github/copilot-instructions.md · 116 lines

How it starts

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

Memory Bank — Copilot Instructions

Auto-generated by Memory Bank extension. Edit freely to customize.

This project uses the Memory Bank MCP server to persist context across AI sessions. You have access to Memory Bank MCP tools. USE THEM — they are not optional.

Mandatory Workflow (every task, no exceptions)

START of task

  1. ⚠️ CALL THIS FIRST. Call get_instructions MCP tool to learn the full tool catalog and workflow (once per session)
  2. Call get_context_digest to load current project state (tasks, issues, progress, decisions)
  3. Read system-patterns.md (via read_memory_bank_file) to understand project conventions, architecture patterns, and coding standards
  4. Use graph_search to find relevant knowledge graph entities

DURING task

  1. Call track_progress after completing milestones
  2. Call log_decision when making architectural/design choices
  3. Call add_session_note for observations, blockers, or questions

END of task

  1. Call update_active_context with updated tasks, issues, and next steps
  2. Call track_progress with a final summary of what was accomplished
  3. Update knowledge graph entities if project structure changed
  4. Update system-patterns.md if new patterns, architecture, or conventions were introduced

If Memory Bank contains placeholder text

If any core file contains [Project description] or [Task 1] style placeholders, the Memory Bank has never been initialized. You MUST populate all core files with real project data from the workspace before doing any other work.

First-Time Initialization Procedure

When placeholder content is detected:

  1. Scan workspace: package.json, README, config files, source directories
  2. write_memory_bank_file for: product-context.md, active-context.md, progress.md, decision-log.md, system-patterns.md
  3. graph_upsert_entity + graph_add_observation + graph_link_entities for major components
  4. add_session_note → "Memory Bank initialized from workspace analysis."

Read the full file on GitHub · 116 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 · 116 lines · 1,350 tokens per session scan A df2c54c36cad

Subscribe to this mod's changes

memory-bank-mcp copilot-instructions.md is an instructions file published in the GitHub repository diaz3618/memory-bank-mcp (1 stars, last pushed 6mo ago), licensed MIT. It adds 1,350 tokens to every session, about $0.0068 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-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens