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.
npx agentmods add skills/mem0ai/mem0/list-projectsnpx skills add mem0ai/mem0 --skill list-projectsgit clone --depth 1 https://github.com/mem0ai/mem0Wrote 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.
[](https://agentmods.dev/skills/mem0ai/mem0/list-projects)<a href="https://agentmods.dev/skills/mem0ai/mem0/list-projects"><img src="https://agentmods.dev/badge/skills/mem0ai/mem0/list-projects.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00044 | $0.00487 |
| Opus 5 | $0.00022 | $0.00244 |
| Sonnet 5 | $0.00009 | $0.00097 |
| Haiku 4.5 | $0.00004 | $0.00049 |
Grade A, and why
list-projects 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 4d 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.
What it actually says
Mem0 List Projects
Show all known project scopes for the current user.
Execution
Step 1: Fetch memories to discover app_ids
There is no dedicated "list projects" API endpoint. Discover projects by fetching the user's memories across all scopes.
Important: A filter with only user_id triggers implicit null scoping — it
excludes memories that have a non-null app_id. Run two queries and merge:
- Null-scoped:
get_memorieswithfilters={"AND": [{"user_id": "<active_user_id>"}]},page_size=200— catches memories withoutapp_id - App-scoped:
get_memorieswithfilters={"AND": [{"user_id": "<active_user_id>"}, {"app_id": {"exists": true}}]},page_size=200— catches memories with anyapp_id
Run both calls in parallel. Merge results, deduplicate by memory id.
If either response indicates more pages, paginate (up to 1000 total).
Step 2: Extract distinct projects
For each memory, determine project by:
- Top-level
app_idfield (preferred) metadata.project_id(legacy memories)metadata.project(oldest format)"(unscoped)"if none found
Group by resolved project name. For each project, count:
- Total memories
- Most recent
created_atdate - Top 3
metadata.typevalues by frequency
Step 3: Display
## mem0 projects
<app_id_1> <count> memories (last: <date>) ← current
<app_id_2> <count> memories (last: <date>)
<N> projects, <M> total memories
Mark current project with ← current. Sort by memory count descending.
Step 4: Empty state
If zero memories found:
No projects found. Run /mem0:onboard to get started.
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.
- 4d ago First seen · 61 lines · 44 tokens per session scan A 5d0f5e04e47d
list-projects is a skill published in the GitHub repository mem0ai/mem0 (64,535 stars, last pushed yesterday), licensed Apache-2.0. It adds 44 tokens to every session and 487 once invoked, about $0.0002 per session on Opus 5. 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-30.
Other skills, from other repositories
dcf-model
Build discounted cash flow valuation workbooks in Excel.
baoyu-article-illustrator
Article illustrations: type × style × palette consistency.
openhands
Delegate coding to OpenHands CLI (model-agnostic, LiteLLM).
agentmail
Use when an agent needs AgentMail CLI email inboxes.
mcporter
List, auth, and call MCP servers/tools from the terminal.
keybindings-help
Use when the user wants to customize keyboard shortcuts, rebind keys, add chord bindings, or modify /.claude/keybindings.json. Examples: "rebind ctrl+s", "add a chord shortcut", "change the submit key", "customize keybindings".