CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

mem0-cli

Mem0 CLI -- the command-line interface for mem0 memory operations. TRIGGER when: user mentions "mem0 cli", "mem0 command line", "@mem0/cli", "mem0-cli", "pip install mem0-cli", "npm install -g @mem0/cli", or is running mem0 commands in a terminal/shell (mem0 add, mem0 search, mem0 list, mem0 get, mem0 init, mem0 config, mem0 import). Also triggers when query includes CLI flags like --user-id, --output, --json, --agent, or describes bash/zsh/terminal/shell usage. DO NOT TRIGGER when: user asks about programmatic SDK integration in Python/TS code (use mem0 skill), or Vercel AI SDK provider (use mem0-vercel-ai-sdk skill).

72

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

87%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

Excellent CLI reference skill: fully executable commands, tight token efficiency, and a clean three-file progressive-disclosure structure with a verified reference table. The single weak spot is workflow clarity around destructive operations — the most dangerous command (delete --all --project) has no safe verification path, and JSON-mode dry-runs produce no preview, triggering the rubric's validation cap.

Suggestions

Add an explicit pre-destruction checkpoint: before `mem0 delete --all` (or `--entity`), run `mem0 list --user-id <id>` (or a text-mode `--dry-run`) to confirm the exact scope, and only then add `--force`.

Provide a safe verification path for project-wide deletes, since `--dry-run` is ignored there — e.g. list/count project memories first, or recommend an export/backup step before `mem0 delete --all --project`.

Promote the add-then-search flow into a numbered sequence with the `mem0 event list` status check as an explicit checkpoint (add -> wait -> verify processing status -> search), mirroring the async-processing guidance already present.

DimensionReasoningScore

Conciseness

The body is lean and assumes competence: no explanation of what a CLI, memory, or JSON is; every section (Install, Setup, Quick Reference, JSON envelope, Node/Python differences, edge cases) is mem0-specific and load-bearing. Only trivially trimmable flourishes ("official", "for developers, AI agents, and CI/CD pipelines", "in <5 seconds") exist, which are marketing phrasing rather than over-explanation of known concepts.

5 / 5

Actionability

Fully executable, copy-paste-ready commands throughout: install ("npm install -g @mem0/cli"), setup ("mem0 init --agent --agent-caller <your-name> --json"), all CRUD one-liners with placeholders explained, plus the exact success/error JSON envelope with field semantics ("Both write spinners and progress to stderr so stdout is clean, parseable JSON"). Common cases are covered concretely.

5 / 5

Workflow Clarity

Sequences exist and some checkpoints are documented ("Wait 2-3 seconds before searching... Use `mem0 event list` to check processing status"; text-mode "--dry-run" previews), but validation for destructive operations is incomplete: JSON-mode dry-run "prints nothing", and "--dry-run does not protect --all --project" deletes with no alternative verification step offered. Per the rubric cap, destructive/batch operations without validation steps cap workflow clarity at 3.

3 / 5

Progressive Disclosure

Clear overview with a well-signaled, one-level-deep reference table ("Load these on demand for deeper detail") linking references/command-reference.md, references/configuration.md, and references/workflows.md — all verified to exist and substantial (757/252/446 lines). Content is appropriately split: quick one-liners inline, full flag/config/workflow detail in the bundle files, with no nested reference chains.

5 / 5

Total

18

/

20

Passed

Description

91%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person, explicit TRIGGER/DO-NOT-TRIGGER clauses, comprehensive trigger-term coverage including package names, install commands, subcommands, and flags, with explicit redirects to sibling skills. The only weaknesses are a slightly generic top-line capability statement and a couple of over-broad terminal-related triggers.

DimensionReasoningScore

Specificity

The what-statement is domain-level ("the command-line interface for mem0 memory operations"), but the description enumerates seven concrete commands ("mem0 add, mem0 search, mem0 list, mem0 get, mem0 init, mem0 config, mem0 import") matching "lists several specific actions; minor gaps". Not a 5 because update/delete/entity/event operations are absent and the headline capability is generic "memory operations" rather than named actions.

4 / 5

Completeness

Explicitly answers what ("command-line interface for mem0 memory operations" plus the enumerated commands) and when with concrete trigger phrases ("TRIGGER when: user mentions... or is running mem0 commands in a terminal/shell"), and adds negative boundary guidance ("DO NOT TRIGGER when: user asks about programmatic SDK integration"). The when-clause could not be more explicit; anchor 4's "could be more explicit" does not apply.

5 / 5

Trigger Term Quality

Comprehensive natural-term coverage including synonyms and package identifiers: "mem0 cli", "mem0 command line", "@mem0/cli", "mem0-cli", "pip install mem0-cli", "npm install -g @mem0/cli", subcommand names, CLI flags (--user-id, --output, --json, --agent), and "bash/zsh/terminal/shell usage". Hard to identify a natural phrasing a user would utter that is missing.

5 / 5

Distinctiveness Conflict Risk

Clear niche (CLI vs SDK) with explicit disambiguation from sibling skills ("use mem0 skill", "use mem0-vercel-ai-sdk skill"), which is well above "could still overlap". Falls short of 5 because the over-broad triggers "describes bash/zsh/terminal/shell usage" and generic flags like "--output, --json" create minor-but-real false-trigger risk on unrelated terminal queries.

4 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 2 suspicious

Warning

Total

15

/

16

Passed

Repository

mem0ai/mem0

Path

skills/mem0-cli/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.