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/potato-castle/mono-memory-mcp/setupnpx skills add potato-castle/mono-memory-mcp --skill setupgit clone --depth 1 https://github.com/potato-castle/mono-memory-mcpWrote 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/skills/potato-castle/mono-memory-mcp/setup)<a href="https://agentmods.dev/skills/potato-castle/mono-memory-mcp/setup"><img src="https://agentmods.dev/badge/skills/potato-castle/mono-memory-mcp/setup.svg" alt="Measured on agentmods" 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.00016 | $0.01049 |
| Opus 5 | $0.00008 | $0.00524 |
| Sonnet 5 | $0.00003 | $0.00210 |
| Haiku 4.5 | $0.00002 | $0.00105 |
Grade A, and why
setup 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 5d 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 — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Setup
Constraints
- MUST NOT use AskUserQuestion tool. Output plain text questions and wait for reply.
- MUST use Bash tool with
python3 -cto write files (avoids Read/Write permission prompts). - MUST write
.mcp.jsonin the current project root (not~/.mcp.json).
Steps
-
Print and wait for reply:
## Mono Memory Setup --- **Step 1/2** — Server URL Enter the full URL of your Mono Memory server: -
Print and wait for reply:
**Step 2/2** — Author Enter your name (used to tag memories you save): -
Validate URL starts with
http://orhttps://. If not, ask to re-enter. -
Detect project name from current directory name.
-
Run setup via Bash. MUST pass inputs as environment variables (not string interpolation):
SERVER_URL='<URL>' AUTHOR_NAME='<author>' python3 -c " import json, os, sys url = os.environ['SERVER_URL'] author = os.environ['AUTHOR_NAME'] project = os.path.basename(os.getcwd()) if not url.startswith(('http://', 'https://')): print('Error: URL must start with http:// or https://') sys.exit(1) # 1. Write .mcp.json mcp_path = os.path.join(os.getcwd(), '.mcp.json') config = {} if os.path.exists(mcp_path): with open(mcp_path) as f: config = json.load(f) config.setdefault('mcpServers', {}) config['mcpServers']['mono-memory'] = { 'type': 'http', 'url': url } with open(mcp_path, 'w') as f: json.dump(config, f, indent=2) # 2. Append to CLAUDE.md claude_path = os.path.join(os.getcwd(), 'CLAUDE.md') template = ''' ## Team Shared Memory (mono-memory MCP) ### Auto-Recording Rules When any of the following occur during work, **always** record them with \`memory_save\`: 1. **Bug found & resolved**: root cause, fix, related files 2. **Architecture/design decision**: why this approach, what alternatives were considered 3. **New pattern/convention**: project-specific patterns discovered while coding 4. **API changes**: endpoint additions/modifications, request/response format changes 5. **DB/schema changes**: tables, columns, migrations 6. **Dependency changes**: packages added/updated/removed and why 7. **Environment/deployment changes**: env vars, build config, deployment pipeline 8. **Performance issues**: bottleneck causes and improvements 9. **Hard-won lessons**: problems that took significant time to solve (help others avoid the same) ### Recording Format When calling memory_save: - author: \"{author}\" - project: \"{project}\" - content: Always write in English, regardless of the conversation language. Describe specifically what was discovered/decided/resolved. - tags: relevant,comma,separated ### At Session Start Search for related records at the beginning of each session: - memory_search(query: \"keywords for your task\", project: \"{project}\") ### Check Project Context To review project structure or conventions: - memory_context(project: \"{project}\") ### Shortcut Commands When the user types \"/api-docs\", run the /mono-memory-mcp:api-docs skill. '''.format(author=author, project=project) existing = '' if os.path.exists(claude_path): with open(claude_path) as f: existing = f.read() if 'Team Shared Memory' in existing: print('CLAUDE.md already has memory config — skipped.') else: with open(claude_path, 'a') as f: f.write(template) print('CLAUDE.md updated.') print('Done!') "
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.
- 5d ago First seen · 135 lines · 16 tokens per session scan A 859b2ced7baa
setup is a skill published in the GitHub repository potato-castle/mono-memory-mcp (3 stars, last pushed 6mo ago), licensed MIT. It adds 16 tokens to every session and 1,049 once invoked, about $0.0001 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.
Other skills, from other repositories
media-ingest
Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
agent-memory
../../../engineering/agent-memory/skills/agent-memory/SKILL.md.
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…