setup-memcan

Install and configure MemCan persistent memory for AI agents.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/lklimek/memcan --skill setup-memcan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-memcan
Source: https://github.com/lklimek/memcan/tree/main/skills/setup-memcan
Command: npx skills add https://github.com/lklimek/memcan --skill setup-memcan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the setup of MemCan, a system that provides AI agents with persistent, searchable memory across sessions, preventing them from forgetting context and improving their long-term performance.

Core Features & Use Cases

  • Environment Configuration: Installs the MemCan CLI and configures necessary environment variables and settings for both the CLI and the Claude Code IDE.
  • Secret Management: Securely handles API keys and server URLs, ensuring they are not exposed in conversation logs.
  • Hook Integration: Optionally sets up automatic memory saving hooks (e.g., SubagentStop, PreCompact) for seamless, hands-off memory management.
  • Use Case: After installing the MemCan plugin, run this Skill once to configure your local environment, ensuring your AI agent remembers your project details and preferences between coding sessions without manual re-entry.

Quick Start

Run the setup-memcan skill to configure your MemCan environment, including installing the CLI and setting up necessary configuration files.

Frequently Asked Questions about setup-memcan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up persistent memory for Claude Code across sessions?

The setup-memcan skill automates persistent memory configuration for Claude Code by installing the CLI, deploying Docker Compose, generating API keys, and applying IDE user rules.

What does an AI agent persistent memory system do for my coding workflow?

A persistent memory system like MemCan stores searchable context across sessions, preventing your AI agent from forgetting project details and improving long-term coding performance without manual re-entry.

Do I need Docker to configure the MemCan memory server?

Docker is required because the setup uses Docker Compose to deploy the MemCan server locally. The CLI and Claude Code IDE then connect to this server using generated API keys and environment variables.

Can I automatically save agent context without manual commands?

Yes, you can optionally integrate hooks like SubagentStop and PreCompact during setup. This enables hands-off memory extraction, automatically saving agent context without manual commands during coding sessions.

How are API keys and server URLs handled during the agent memory setup?

During setup, API keys and server URLs are securely managed in generated environment files. This secret management ensures your configuration credentials are not exposed in conversation logs or chat history.

What is the best way to stop my AI coding agent from forgetting project context?

The best way to prevent AI agents from forgetting context is configuring a persistent, searchable memory server. The setup-memcan skill automates this entirely, from CLI installation to Docker deployment and hook integration.