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 agentmods add skills/diaz3618/memory-bank-mcp/githubnpx skills add diaz3618/memory-bank-mcp --skill githubgit clone --depth 1 https://github.com/diaz3618/memory-bank-mcpWhat 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 | $0.00000 | $0.01257 |
| Opus 5 | $0.00000 | $0.00629 |
| Sonnet 5 | $0.00000 | $0.00251 |
| Haiku 4.5 | $0.00000 | $0.00126 |
Grade A, and why
.github 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory Bank MCP Server - Copilot Agent
About This Project
Memory Bank MCP is a Model Context Protocol (MCP) server that provides AI assistants with persistent memory across sessions. It allows storing and retrieving project context, tracking progress, logging architectural decisions, and managing active context through a set of MCP tools.
Tech Stack: TypeScript 5.1.6 | Bun (build, test, package manager) | Node.js runtime target | MCP SDK v1.6.1
Repository: @diazstg/memory-bank-mcp
Skills
This project has the following specialized skills available in .github/skills/:
- code-quality - Clean code principles, SOLID patterns, code review checklists, and metrics targets specific to this TypeScript MCP server project
- typescript-best-practices - Type-first development, strict mode patterns, ESM imports, exhaustive switches, error handling, and project-specific TypeScript conventions
- bun-development - Bun runtime, package management, build configuration, test runner usage, and Node.js compatibility considerations for this project
- testing-strategy - Testing patterns using
bun:test, temp directory isolation, file system testing, MCP tool handler testing, and coverage targets - mcp-server-development - MCP protocol patterns, tool definition/handling, file system abstraction, ETag concurrency, and guide for extending the server
Project Structure
src/
├── index.ts # Entry point, CLI parsing, server init
├── core/
│ ├── MemoryBankManager.ts # Memory bank lifecycle operations
│ ├── ProgressTracker.ts # Progress and decision tracking
│ └── templates/ # Markdown file templates
├── server/
│ ├── MemoryBankServer.ts # Main MCP server class
│ ├── tools/ # Tool definitions and handlers
│ │ ├── CoreTools.ts # Core CRUD operations
│ │ ├── ProgressTools.ts # Progress tracking
│ │ ├── ContextTools.ts # Active context management
│ │ ├── DecisionTools.ts # Decision logging
│ │ ├── ModeTools.ts # Mode switching
│ │ └── index.ts # Tool registration
│ └── resources/ # MCP resource definitions
├── utils/
│ ├── FileUtils.ts # Atomic file writes
│ ├── ETagUtils.ts # Optimistic concurrency control
│ ├── SshUtils.ts # SSH command execution
│ ├── LogManager.ts # Centralized logging singleton
│ ├── ModeManager.ts # Mode detection (EventEmitter)
│ ├── ExternalRulesLoader.ts # .clinerules loading
│ ├── MigrationUtils.ts # File naming migration
│ └── storage/
│ ├── FileSystemInterface.ts # Abstract FS interface
│ ├── FileSystemFactory.ts # Factory pattern
│ ├── LocalFileSystem.ts # Local FS implementation
│ └── RemoteFileSystem.ts # SSH-based remote FS
├── types/ # Type definitions, constants, guards
└── __tests__/ # Test files (bun:test)
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .semgrepignore 0 B
- copilot-instructions.md 5.6 KB
- skills/bun-development.md 4.7 KB
- skills/code-quality.md 4.9 KB
- skills/mcp-server-development.md 7.3 KB
- skills/testing-strategy.md 5.6 KB
- skills/typescript-best-practices.md 4.5 KB
- workflows/docker-publish.yml 2.1 KB
- workflows/npm-publish.yml 2.0 KB
- workflows/pr_agent.yml 635 B
- workflows/semgrep.yml 1.1 KB
- workflows/test.yml 427 B
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.
- 2d ago First seen · 102 lines · 0 tokens per session scan A 968a48d22d91
.github is a skill published in the GitHub repository diaz3618/memory-bank-mcp (1 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,257 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
pr-lifecycle
Complete issue → PR → merge lifecycle with readiness checks.
cross-squad-communication
Protocol for sending queries, delegating tasks, and sharing context between independent Squad instances across different repositories.
gh-aw-enlistment
Enlist a repository into Squad by installing the supported GitHub Agentic Workflows (gh-aw) bootstrap — with strict compilation, an explicit safe-update allowlist, and a human-reviewed bootstrap PR. Never auto-merges.
distributed-mesh
How to coordinate with squads on different machines using git as transport.
external-comms
PAO workflow for scanning, drafting, and presenting community responses with human review gate.
squad-commands
Categorized catalog of common Squad operations. Coordinator reads this file and presents it as an interactive menu when the user asks for available commands or help.