claude-code

claude-code is a skill for Claude Code, Codex from udjin-labs/mnemostack. It costs 0 tokens per session (624 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 624 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.00624
Opus 5.5 $0.00000 $0.00250
Sonnet 5.5 $0.00000 $0.00125
Haiku 4.5 $0.00000 $0.00062

Measured 3d ago against content hash 900161dfa6e6, 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 3d 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 · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 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 huggingface 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, feedback, resolve, invalidate, and remember. If a Memgraph URI was passed, you should also see graph_query, graph_add_triple, and graph_invalidate.

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

The reply should include at most one result with its text and sources.

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 · 75 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. 3d ago Changed · +1 lines 900161dfa6e6
  2. 21d ago Changed 43ad2f99569d
  3. 3mo 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 (11 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 624 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

claude-code compared with skills from other repositories

claude-code next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-codeudjin-labs/mnemostackSkill114d agoApache-2.0A0Claude Code, Codex
goodmem:mcpPAIR-Systems-Inc/goodmem-claude-code-pluginSkill102d agoMITA51Claude Code
goodmem:helpPAIR-Systems-Inc/goodmem-claude-code-pluginSkill102d agoMITA46Claude Code
goodmem:javaPAIR-Systems-Inc/goodmem-claude-code-pluginSkill102d agoMITA45Claude Code
goodmem:pythonPAIR-Systems-Inc/goodmem-claude-code-pluginSkill102d agoMITA49Claude Code
agent-memory-disciplinesickn33/agentic-awesome-skillsSkill51ktodayMITA36Claude Code
memanto-companionmoorcheh-ai/memantoSkill2.5kyesterdayApache-2.0A72Claude Code