Agent skill

Amemo Save Mate

by LeoYeAI in LeoYeAI/openclaw-master-skills

当用户说「永久记住XXX」「记住这个」「保存永久记忆」时调用,将记忆内容追加写入本地 MEMORY.md 并同步到云端。

MITAuto-check passed

Install Amemo Save Mate

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill amemo-save-mate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills amemo-save-mate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/amemo-skill/modules/amemo-save-mate .claude/skills/amemo-save-mate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
amemo-save-mate
GitHub stars
2.2k
Token cost
~509 tokens
SKILL.md length
57 words
Files
1
Skills in repo
1,235
Repo updated
First seen
Licence
MIT

At a glance

当用户说「永久记住XXX」「记住这个」「保存永久记忆」时调用,将记忆内容追加写入本地 MEMORY.md 并同步到云端。

  • SKILL.md covers 接口信息, 请求参数, 请求示例 and 响应示例, plus 2 more sections
  • Calls curl; reaches skill.amemo.cn

What it does

Amemo Save Mate is an agent skill from LeoYeAI/openclaw-master-skills. 当用户说「永久记住XXX」「记住这个」「保存永久记忆」时调用,将记忆内容追加写入本地 MEMORY.md 并同步到云端。

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

Example prompts

  • “/amemo-save-mate”

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • skill.amemo.cn

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Amemo Save Mate loads about 509 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 57 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~509

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 57 words, ~509 tokens.

Download SKILL.mdSave it as .claude/skills/amemo-save-mate/SKILL.md (or your agent's skills folder).
name
amemo-save-mate
description
当用户说「永久记住XXX」「记住这个」「保存永久记忆」时调用,将记忆内容追加写入本地 MEMORY.md 并同步到云端。

amemo-save-mate — 保存助手记忆

接口信息

请求参数

注意:服务端要求所有字段必须存在。userToken 和 mateMemory 必填且有值。

参数类型必填说明
userTokenstr是用户登录凭证
mateMemorystr是要保存的记忆内容(不能为空)

请求示例

bash
# 保存记忆
curl -X POST https://skill.amemo.cn/save-mate \
  -H "Content-Type: application/json" \
  -d '{"userToken": "<token>", "mateMemory": "用户喜欢 Python,常用 FastAPI 框架"}'

响应示例

json
{"code": 200, "desc": "success", "data": "..."}

注意事项

  • userToken 和 mateMemory 都必须有值,不能为空
  • 与 amemo-init-mate 不同,此接口用于追加/更新记忆,而非重置
  • 必须携带有效的 userToken

执行流程(由主模块调度)

执行步骤
1. 识别触发词(保存永久记忆/永久记住 XXX/记住这个)
    ↓
2. 检查 userToken 是否存在
    ├── 无 token → 引导登录流程
    ↓
3. 提取记忆内容
    ├── 触发词为"永久记住 XXX" → 直接提取 XXX 作为记忆内容
    ├── 触发词为"记住这个" → 提取当前对话中用户最近说的关键信息
    └── 触发词为"保存永久记忆" → 读取 memory/MEMORY.md 文件内容
    ↓
4. 将新记忆内容追加写入 memory/MEMORY.md
    ├── 文件不存在 → 自动创建
    └── 文件存在 → 在文件末尾追加新条目
    ↓
5. 调用 POST /save-mate 接口,传入完整 MEMORY.md 内容
    ↓
6. 返回保存结果
保存触发场景

场景一:用户说"永久记住 XXX"(最常见)

用户:永久记住我喜欢喝美式咖啡
    ↓
AI 提取记忆内容:「我喜欢喝美式咖啡」
    ↓
AI 将内容写入 memory/MEMORY.md:
    - 我喜欢喝美式咖啡
    ↓
调用 /save-mate 同步到服务器
    ↓
回复用户:✅ 已记住「我喜欢喝美式咖啡」

场景二:用户说"记住这个"

用户在对话中分享了某个信息后说"记住这个"
    ↓
AI 提取上一条对话中的关键信息作为记忆内容
    ↓
写入 MEMORY.md → 同步到服务器

场景三:用户说"保存永久记忆"

用户:保存永久记忆
    ↓
AI 读取 memory/MEMORY.md 全部内容
    ↓
调用 /save-mate 同步到服务器
成功提示模板

"永久记住 XXX" 场景:

✅ 已记住:「{记忆内容}」

已同步到云端,所有设备均可读取。

"保存永久记忆" 场景:

✅ 永久记忆已保存!

已同步 {lines} 行记忆内容到云端,所有设备均可读取。
失败处理

MEMORY.md 不存在时:

⚠️ 暂无本地记忆可保存

请先:
1. 使用「刷新助手记忆」获取云端记忆
2. 或直接编辑 memory/MEMORY.md 添加内容

然后再说「保存永久记忆」

读取失败时:

⚠️ 无法读取本地记忆文件

请检查 memory/MEMORY.md 是否存在且可读。

接口调用失败时:

⚠️ 记忆保存失败

错误信息:{error_message}

请检查网络连接后重试。

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/amemo-skill/modules/amemo-save-mate of LeoYeAI/openclaw-master-skills.

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Amemo Save Mate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Amemo Save Mate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Amemo Save Mate this skillLeoYeAI/openclaw-master-skills2.2k—~509Automated safety check: PassMIT
Context Savegarrytan/gstack136k—~9.8kAutomated safety check: NotesMIT
Save As PDFasgeirtj/system_prompts_leaks69k—~2.3kAutomated safety check: PassCC0-1.0
Save to Obsidian VaultAgriciDaniel/claude-obsidian15k—~1.3kAutomated safety check: PassMIT
Mate Desktop Pet CreatorXiaomiMiMo/MiMo-Code14k—~1.5kAutomated safety check: PassMIT
Encrypted Saved Objectselastic/kibana21k—~4.3kAutomated safety check: PassCustom licence

Similar skills

  • Context Save

    garrytan/gstack

    Captures git state, decisions made and remaining work so that a later session can resume the task without losing context.

    136k GitHub stars~9.8k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Save As PDF

    asgeirtj/system_prompts_leaks

    Print-ready PDF export

    69k GitHub stars~2.3k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Save to Obsidian Vault

    AgriciDaniel/claude-obsidian

    Files a specific answer, decision or insight you point to in a conversation as one reviewed note in your Obsidian vault, and only when you ask for it.

    15k GitHub stars~1.3k tokensUpdated 29 days ago
    Knowledge ManagementAuto-check passed
  • Mate Desktop Pet Creator

    XiaomiMiMo/MiMo-Code

    Creates a custom animated desktop pet for MiMo Desktop: a WebP spritesheet plus a manifest.json that describes its frames and animations.

    14k GitHub stars~1.5k tokensUpdated today
    Game DevelopmentAuto-check passed
  • Official

    Encrypted Saved Objects (ESO) in Kibana — registration, AAD attribute choices, partial update safety, model version migrations with createModelVersion, canEncrypt checks, and Serverless constraints.

    21k GitHub stars~4.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Find Gmail messages with attachments and save them to a Google Drive folder.

    31k GitHub stars~262 tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,235 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Amemo Save Mate

What does Amemo Save Mate do?

当用户说「永久记住XXX」「记住这个」「保存永久记忆」时调用,将记忆内容追加写入本地 MEMORY.md 并同步到云端。. Amemo Save Mate is an agent skill from LeoYeAI/openclaw-master-skills.

How do I install Amemo Save Mate in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill amemo-save-mate -a claude-code`. Or copy the skill folder (skills/amemo-skill/modules/amemo-save-mate in LeoYeAI/openclaw-master-skills) into .claude/skills/amemo-save-mate in your project. Claude Code loads it when a task matches its description.

How do I install Amemo Save Mate in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill amemo-save-mate -a codex`. Or copy the skill folder (skills/amemo-skill/modules/amemo-save-mate in LeoYeAI/openclaw-master-skills) into .agents/skills/amemo-save-mate in your project. Codex loads it when a task matches its description.

Can I use Amemo Save Mate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill amemo-save-mate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/amemo-save-mate, .gemini/skills/amemo-save-mate, .github/skills/amemo-save-mate and .opencode/skills/amemo-save-mate in your project.

What does Amemo Save Mate need to run?

Going by SKILL.md and its folder, Amemo Save Mate needs the command-line tools its instructions call (curl).

Does Amemo Save Mate access the network?

SKILL.md names 1 domain. In commands or code: skill.amemo.cn; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Amemo Save Mate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Amemo Save Mate use?

Amemo Save Mate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Amemo Save Mate use?

About 509 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Amemo Save Mate?

Skills that share tags, products or a category with Amemo Save Mate: Context Save (garrytan/gstack, 136k stars), Save As PDF (asgeirtj/system_prompts_leaks, 69k stars), Save to Obsidian Vault (AgriciDaniel/claude-obsidian, 15k stars) and Mate Desktop Pet Creator (XiaomiMiMo/MiMo-Code, 14k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Amemo Save Mate?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,160 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.