mem-skill

Record successful solutions and retrieve past experiences for AI agents.

1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/oliguo/mem-skill --skill mem-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mem-skill
Source: https://github.com/oliguo/mem-skill/tree/main
Command: npx skills add https://github.com/oliguo/mem-skill --skill mem-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill transforms your AI assistant from a forgetful tool into a persistent "second brain" that learns and remembers your preferences, past solutions, and best practices over time.

Core Features & Use Cases

  • Automatic Knowledge Retrieval: Loads relevant past solutions and best practices into context automatically.
  • Proactive Recording: Asks permission to save successful solutions and workflows to a private knowledge base.
  • Topic Awareness: Detects topic switches to intelligently reload context.
  • Use Case: When you ask your AI to build a landing page, it automatically retrieves the best patterns and code snippets from previous successful landing page projects, ensuring consistency and saving you from re-explaining.

Quick Start

Initialize mem-skill in your workspace by running /mem-skill init.

Frequently Asked Questions about mem-skill

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

FAQPage Schema
How do I give my AI agent persistent memory for past solutions?

mem-skill provides AI agents with persistent memory by automatically retrieving past experiences and proactively recording successful solutions to a private knowledge base. This transforms your AI into a second brain that learns preferences over time.

How does an AI knowledge base automatically capture best practices?

An AI knowledge base captures best practices by asking permission to proactively record successful solutions and workflows. It detects topic switches to intelligently reload relevant context, ensuring past patterns are automatically available for future tasks.

Can I use semantic search for AI memory retrieval with QMD?

Yes, you can use QMD semantic search for enhanced memory retrieval. The system supports default JSON and Markdown indexing, while offering optional QMD semantic search to improve how past experiences and solutions are loaded into context.

What is the best way to initialize persistent memory in a workspace?

The best way to initialize persistent memory in a workspace is to run the `/mem-skill init` command. This sets up the self-evolving knowledge accumulation system, enabling automatic retrieval and proactive recording of your solutions.

Why does my AI forget my coding preferences between sessions?

Your AI forgets coding preferences because it lacks a persistent memory system. Without a second brain to automatically retrieve past solutions and proactively record best practices, it cannot load previous context when you switch topics or start new sessions.