mem0-cli

Perform CRUD operations on Mem0 AI memory entities via terminal.

2|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/AlbertLin821/AIYO_new --skill mem0-cli-albertlin821
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mem0-cli
Source: https://github.com/AlbertLin821/AIYO_new/tree/main/archive/legacy/20260605-005529/vendor/mem0/skills/mem0-cli
Command: npx skills add https://github.com/AlbertLin821/AIYO_new --skill mem0-cli-albertlin821

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the challenge of managing AI memory operations, such as adding, searching, and deleting user preferences or facts, without needing to leave your terminal or write custom code.

Core Features & Use Cases

  • Unified Memory Management: Execute add, search, list, update, and delete operations across all your Mem0-backed AI agents.
  • Structured Output: Generate JSON-formatted responses from terminal commands, making it easy to pipe memory data into other scripts or LLM workflows.
  • Use Case: If you are a developer building an AI agent, you can use this Skill to quickly verify what the agent remembers about a specific user by running a search command directly in your shell.

Quick Start

Use the mem0-cli skill to search for all memories associated with the user alice.

Frequently Asked Questions about mem0-cli

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

FAQPage Schema
How do I manage AI memory directly from the terminal?

You can manage AI memory directly from the terminal by using a command-line interface to perform CRUD operations on entities stored in the Mem0 platform. This allows developers to add, search, and delete user preferences without writing custom code.

How do I get structured JSON output for AI memory in CI/CD pipelines?

To get structured JSON output for AI memory in CI/CD pipelines, execute terminal commands that generate JSON-formatted responses. This makes it easy to pipe memory data into other scripts or automated LLM workflows.

Do I need an API key to search AI memory from the command line?

Yes, you need a valid MEM0_API_KEY environment variable for authentication to search AI memory from the command line. You must also have the mem0-cli package installed to execute the operations.

What is the best way to verify what an AI agent remembers about a user?

The best way to verify what an AI agent remembers about a user is to run a search command directly in your shell. This queries the Mem0 platform to list all memories associated with that specific user.

Can I update and delete user preferences in Mem0 without writing custom code?

Yes, you can update and delete user preferences in Mem0 without writing custom code by using terminal-based commands. The interface provides unified memory management for executing add, list, and delete operations across your AI agents.