list-projects

Lists all projects with stored mem0 memories, showing memory counts and last activity dates.

1|Updated Jan 13, 2022
One-click install
npx skills add https://github.com/jayho-k/TIL --skill list-projects-jayho-k
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: list-projects
Source: https://github.com/jayho-k/TIL/tree/main/AI/mem0/code/mem0_code_analize/mem0/integrations/mem0-plugin/skills/list-projects
Command: npx skills add https://github.com/jayho-k/TIL --skill list-projects-jayho-k

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When using mem0 to store memories across multiple projects, there is no dedicated API endpoint to list which projects have stored memories. This Skill discovers all project scopes for the current user by querying memories directly, giving you visibility into where your memories live. ## Core Features & Use Cases - Project Discovery: Fetches both null-scoped and app-scoped memories in parallel, then merges and deduplicates results to find every distinct project. - Per-Project Statistics: Reports memory counts, most recent activity dates, and top memory types for each project scope. - Use Case: You have been storing memories across several repositories and want to compare memory distribution or find which project a specific memory belongs to. Run this Skill to see all projects sorted by memory count, with your current project marked. ## Quick Start Ask the AI to list all my mem0 projects with their memory counts and last activity dates.

Frequently Asked Questions about list-projects

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

FAQPage Schema
How do I list all projects with mem0 memories?

There is no dedicated list-projects API endpoint in mem0. Fetch memories with two queries: one filtered by user_id only for null-scoped memories, and one with an app_id exists filter, then merge and group results by project.

Why does filtering mem0 memories by user_id miss some projects?

A filter with only user_id triggers implicit null scoping, which excludes memories that have a non-null app_id. You must run a second query with an app_id exists filter and merge both result sets.

How are mem0 memories grouped into projects?

Each memory's project is resolved from its top-level app_id field first, then metadata.project_id for legacy memories, then metadata.project for the oldest format. Memories with none of these are grouped as unscoped.

What happens if no mem0 memories exist for a user?

The Skill displays an empty state message indicating no projects were found and suggests running the mem0 onboarding command to get started with storing memories.

Does listing mem0 projects handle paginated memory results?

Yes. If either memory query response indicates more pages, the Skill paginates through results up to a limit of 1000 total memories before aggregating project statistics.