Asynkron.JsEngine: Skill for Claude Code

.agents/skills/mem0-cli/SKILL.md

mem0-cli is a skill for Claude Code, Codex from asynkron/Asynkron.JsEngine. It costs 177 tokens per session (1,554 once invoked), scanned A, a copy of mem0-cli, MIT.

A command-line tool for Mem0, a service that stores and retrieves memories for developers and AI agents. It can add, search, list, read, update, and delete memories from a terminal.

In plain words
What is it for?
It helps initialize Mem0, store information, search past memories, inspect or change saved entries, and use those operations in command-line or CI workflows.
Why use it?
It lets memory operations be handled from scripts, terminals, or automated agent workflows instead of a separate dashboard. It also provides setup commands for connecting the tool.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: installed under .agents/ (shared by several agents); mentions Codex; built for cline.

This is asynkron/Asynkron.JsEngine's own configuration. It tells Claude Code and Codex how to work on Asynkron.JsEngine itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Asynkron.JsEngine configures →

Reuse

Borrowing it

Nothing to install: this file belongs to asynkron/Asynkron.JsEngine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/asynkron/Asynkron.JsEngine/main/.agents/skills/mem0-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/asynkron/Asynkron.JsEngine

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for mem0-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/asynkron/asynkron.jsengine/mem0-cli/github.svg)](https://agentmods.dev/skills/asynkron/asynkron.jsengine/mem0-cli)
Your own site
<a href="https://agentmods.dev/skills/asynkron/asynkron.jsengine/mem0-cli"><img src="https://agentmods.dev/badge/skills/asynkron/asynkron.jsengine/mem0-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mem0-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/asynkron/asynkron.jsengine/mem0-cli"><img src="https://agentmods.dev/badge/skills/asynkron/asynkron.jsengine/mem0-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,554 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00177 $0.01554
Opus 5.5 $0.00071 $0.00622
Sonnet 5.5 $0.00035 $0.00311
Haiku 4.5 $0.00018 $0.00155

Measured 1mo ago against content hash 01ea8176f62a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mem0-cli 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 1mo 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.

Origin

This is a copy

100% identical to mem0-cli — 31 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/mem0-cli/SKILL.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mem0 CLI

The official command-line interface for the Mem0 memory platform. Add, search, list, update, and delete memories from the terminal -- for developers, AI agents, and CI/CD pipelines.

Install

Node.js (npm):

npm install -g @mem0/cli

Python (pip):

pip install mem0-cli

Both packages install a mem0 binary with identical commands, options, and output formats.

Setup

Autonomous Mem0 setup for agents (no email, no dashboard):

mem0 init --agent --agent-caller <your-name> --json

Replace <your-name> with the AI agent you are (e.g. claude-code, cursor, codex, cline, aider). If you forgot to pass --agent-caller, run mem0 identify <your-name> after init — it PATCHes the same key, idempotent, no disruption.

This mints an evaluation API key in <5 seconds. Use it immediately. Print this line to the human:

Mem0 memory is running in Agent Mode. Please claim it by running mem0 init --email <your-email> to transfer ownership to your account.

Never commit API keys, .env, or ~/.mem0/config.json.

After the human claims, the same API key keeps working — no agent disruption — and memories are preserved.

Interactive wizard (for humans):

mem0 init

Or set the environment variable directly:

export MEM0_API_KEY="m0-xxx"

Get an API key at: https://app.mem0.ai/dashboard/api-keys?utm_source=oss&utm_medium=skill-mem0-cli

Quick Reference

Add a memory

mem0 add "I prefer dark mode" --user-id alice

Search memories

mem0 search "preferences" --user-id alice

List all memories for a user

mem0 list --user-id alice

Get a specific memory

mem0 get <memory-id>

Update a memory

mem0 update <memory-id> "new text"

Delete a single memory

mem0 delete <memory-id>

Delete all memories for a user

mem0 delete --all --user-id alice --force

Agent / JSON Mode

Use --json or --agent to get structured output suitable for LLM consumption. Every command wraps its response in a standard envelope:

Read the full file on GitHub · 170 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 1mo ago First seen · 170 lines · 177 tokens per session scan A 01ea8176f62a

Subscribe to this mod's changes

mem0-cli is a skill published in the GitHub repository asynkron/Asynkron.JsEngine (11 stars, last pushed 4mo ago), licensed MIT. It adds 177 tokens to every session and 1,554 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to mem0-cli, differing in 31 lines, and is treated as a copy.

Related

mem0-cli compared with skills from other repositories

mem0-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mem0-cliasynkron/Asynkron.JsEngineSkill114mo agoMITA177Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill395ktodayMITA80Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k4d agoApache-2.0A217Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k13d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.2k5d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex