claude-code

claude-code is a skill for Claude Code, Codex from udjin-labs/mnemostack. It costs 0 tokens per session (612 once invoked), scanned A, original, Apache-2.0.

A setup guide for connecting Mnemostack to Claude Desktop and Claude Code through MCP, a standard way for an AI tool to access external services. It covers installing Mnemostack, configuring a memory provider, and checking that the connection works.

In plain words
What is it for?
Use it to configure Mnemostack as an MCP server, select a supported memory provider, optionally connect a graph database, and verify the available tools.
Why use it?
It explains how to make Mnemostack's memory tools available inside Claude. It also helps avoid configuration errors by requiring a health check and a restart before verification.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to configure Mnemostack as an MCP server, select a supported memory provider, optionally connect a graph database, and verify the available tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/udjin-labs/mnemostack/claude-code
Install

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.

Any agent
npx skills add udjin-labs/mnemostack --skill claude-code
Clone the repo
git clone --depth 1 https://github.com/udjin-labs/mnemostack

Made for: Claude Code, Codex.

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 claude-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/udjin-labs/mnemostack/claude-code/github.svg)](https://agentmods.dev/skills/udjin-labs/mnemostack/claude-code)
Your own site
<a href="https://agentmods.dev/skills/udjin-labs/mnemostack/claude-code"><img src="https://agentmods.dev/badge/skills/udjin-labs/mnemostack/claude-code/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 claude-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/udjin-labs/mnemostack/claude-code"><img src="https://agentmods.dev/badge/skills/udjin-labs/mnemostack/claude-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 612 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00612
Opus 5.5 $0.00000 $0.00245
Sonnet 5.5 $0.00000 $0.00122
Haiku 4.5 $0.00000 $0.00061

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

Security

Grade A, and why

claude-code 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 1mo 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.

integrations/claude-code/SKILL.md · 74 lines

How it starts

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

Claude Desktop / Claude Code

Wire mnemostack into Claude Desktop (and by extension Claude Code, which reads the same MCP config) as an MCP server.

Install

  1. Make sure the binary and a working backend are ready:

    pip install 'mnemostack[mcp]'
    mnemostack health --provider gemini
    
  2. Locate the Claude Desktop MCP config:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux (unofficial/Claude Code): ~/.config/claude/claude_desktop_config.json
  3. Merge this entry into the mcpServers block (create the file if needed):

    {
      "mcpServers": {
        "mnemostack": {
          "command": "mnemostack",
          "args": [
            "mcp-serve",
            "--provider", "gemini",
            "--collection", "my-memory"
          ],
          "env": {
            "GEMINI_API_KEY": "your-key-here"
          }
        }
      }
    }
    

    Swap --provider gemini for ollama or openai if that's what health validated. For graph tools, add --memgraph-uri bolt://localhost:7687.

  4. Restart Claude Desktop (fully quit, not just close the window).

Verify

In a new chat, ask Claude:

List the MCP tools you have available from mnemostack.

You should see health, search, answer, and feedback (plus graph_query and graph_add_triple if a Memgraph URI was passed). Then:

Use mnemostack to search for "VPN failover" with tier 1.

The reply should cite sources and not leak any snippets (tier 1 = list only).

Uninstall

Remove the mnemostack entry from mcpServers in the config file and restart Claude Desktop. No other state lives on the host side — the vector store and the memgraph are owned by the mnemostack process, not by the integration.

Troubleshooting

  • Tools don't appear: check Claude Desktop's MCP logs (~/Library/Logs/Claude/mcp*.log on macOS). A common cause is mnemostack not being on PATH for the GUI app — use an absolute path in command.
  • fastmcp not installed: the [mcp] extra is missing: pip install 'mnemostack[mcp]'.
  • health says DOWN: the MCP server will start but every tool call will fail until Qdrant/embedding provider is reachable.

Read the full file on GitHub · 74 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. 1mo ago First seen · 74 lines · 0 tokens per session scan A ede32b744e73

Subscribe to this mod's changes

claude-code is a skill published in the GitHub repository udjin-labs/mnemostack (9 stars, last pushed 23d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 612 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.

Related

Other skills, from other repositories

goodmem:mcp

Workflow guide for GoodMem MCP server tools. Use when an agent needs to understand what GoodMem MCP tools are available and how to use them. Parameter signatures are provided by the MCP protocol itself — do not hardcode them here.

PAIR-Systems-Inc/goodmem-claude-code-plugin · 51 tokens

goodmem:help

Overview of all available GoodMem skills and what a user needs to get started. Invoke when a user asks what GoodMem skills are available, how to get started, or what they need to set up.

PAIR-Systems-Inc/goodmem-claude-code-plugin · 46 tokens

goodmem:java

Use when the user wants to write Java code that interacts with GoodMem - creating embedders, spaces, memories, retrieval, pagination, streaming, or async workflows with the goodmem-java SDK.

PAIR-Systems-Inc/goodmem-claude-code-plugin · 45 tokens

goodmem:python

Use when the user wants to write Python code that interacts with GoodMem — creating embedders, spaces, memories, retrieval, managing API keys, etc. Provides the complete SDK reference for the goodmem Python package.

PAIR-Systems-Inc/goodmem-claude-code-plugin · 49 tokens

agent-memory-discipline

Rules for when an agent should recall from long-term memory before acting and when it should save decisions, corrections and failures afterwards. Works with any memory backend.

sickn33/agentic-awesome-skills · 36 tokens

memanto-companion

Inspect and manage the cross-session engineering memory that Memanto maintains for your Claude Code skills. Use when the user asks what Memanto remembers, wants to see their engineering profile, manually recall context for a skill, or store a decision. The automatic lifecycle hooks handle capture/injection on their…

moorcheh-ai/memanto · 72 tokens