Agent skill

Amemo Init Mate

by LeoYeAI in LeoYeAI/openclaw-master-skills

当用户说「刷新助手记忆」「初始化助手记忆」「重置记忆」时调用,从云端拉取最新记忆内容并写入本地 memory/MEMORY.md。

MITAuto-check passed

Install Amemo Init Mate

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

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

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills amemo-init-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-init-mate .claude/skills/amemo-init-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-init-mate
GitHub stars
2.2k
Token cost
~452 tokens
SKILL.md length
56 words
Files
1
Skills in repo
972
Repo updated
First seen
Licence
MIT

At a glance

当用户说「刷新助手记忆」「初始化助手记忆」「重置记忆」时调用,从云端拉取最新记忆内容并写入本地 memory/MEMORY.md。

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

What it does

Amemo Init Mate is an agent skill from LeoYeAI/openclaw-master-skills. 当用户说「刷新助手记忆」「初始化助手记忆」「重置记忆」时调用,从云端拉取最新记忆内容并写入本地 memory/MEMORY.md。

Its SKILL.md is about 450 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-init-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 Init Mate loads about 452 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 56 words of instructions outside code blocks.

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

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). 56 words, ~452 tokens.

Download SKILL.mdSave it as .claude/skills/amemo-init-mate/SKILL.md (or your agent's skills folder).
name
amemo-init-mate
description
当用户说「刷新助手记忆」「初始化助手记忆」「重置记忆」时调用,从云端拉取最新记忆内容并写入本地 memory/MEMORY.md。

amemo-init-mate — 初始化 AI 助手

接口信息

请求参数

注意:服务端要求所有字段必须存在。userToken 必填,mateMemory 可选但字段必须存在(可传 null)。

参数类型必填说明
userTokenstr是用户登录凭证(通过 amemo-login 获取)
mateMemorystr否初始记忆内容,不传则传 null

请求示例

bash
# 初始化(不传记忆内容)
curl -X POST https://skill.amemo.cn/init-mate \
  -H "Content-Type: application/json" \
  -d '{"userToken": "<token>", "mateMemory": null}'

# 初始化并设置记忆
curl -X POST https://skill.amemo.cn/init-mate \
  -H "Content-Type: application/json" \
  -d '{"userToken": "<token>", "mateMemory": "用户偏好:喜欢简洁风格"}'

响应示例

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

注意事项

  • 所有字段必须存在,即使不传值也要传 null
  • 必须先通过 amemo-login 获取 userToken
  • mateMemory 为可选,用于设定助手初始记忆

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

执行步骤
1. 识别触发词(刷新/初始化/重置 + 助手记忆)
    ↓
2. 检查 userToken 是否存在
    ├── 无 token → 引导登录流程
    ↓
3. 检查 memory 目录是否存在
    ├── 不存在 → 自动创建 memory 目录
    ↓
4. 调用 POST /init-mate 接口
    ↓
5. 解析响应
    └── data.mateMemory: AI 助手记忆内容(Markdown 格式)
    ↓
6. 更新本地 MEMORY.md
    ├── 如果 memory 目录不存在 → 先创建
    ├── 写入 mateMemory 内容到 memory/MEMORY.md
    ↓
7. 返回结果给用户
更新 MEMORY.md 模板

将 mateMemory 内容完整写入 memory/MEMORY.md:

markdown
{mateMemory}
成功提示模板
✅ 助手记忆已刷新!

已同步 {count} 条记忆信息到本地 MEMORY.md

记忆内容包括:
• 用户偏好设置
• 工作习惯和规律
• 常用工具和技术栈
• 个人目标和关注点

现在 AI 助手将根据您的记忆提供更个性化的服务。
失败处理

文件写入失败时:

⚠️ 记忆同步失败:无法写入 MEMORY.md 文件

可能原因:
• 目录权限不足
• 磁盘空间已满

请检查后重试,或联系管理员。

接口调用失败时:

⚠️ 无法获取助手记忆,请检查:
• amemo 服务是否正常运行
• 网络连接是否正常

错误信息:{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-init-mate of LeoYeAI/openclaw-master-skills.

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Amemo Init 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 Init Mate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Amemo Init Mate this skillLeoYeAI/openclaw-master-skills2.2k—~452Automated safety check: PassMIT
Initasgeirtj/system_prompts_leaks69k—~5.5kAutomated safety check: PassCC0-1.0
Initasgeirtj/system_prompts_leaks69k—~602Automated safety check: PassCC0-1.0
Initbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~596Automated safety check: NotesCustom licence
Agent Coordinator Swarm Initruvnet/ruflo74k2 repos~997Automated safety check: PassMIT
Swarm Initruvnet/ruflo74k—~319Automated safety check: PassMIT

Similar skills

  • Init

    asgeirtj/system_prompts_leaks

    Initialize new CLAUDE.md file(s) and optional skills/hooks with codebase documentation

    69k GitHub stars~5.5k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Init

    asgeirtj/system_prompts_leaks

    Initialize a new CLAUDE.md file with codebase documentation. An agent skill from asgeirtj/system_prompts_leaks.

    69k GitHub stars~602 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Init

    brycewang-stanford/Auto-Empirical-Research-Skills

    Fills all [FILL:] placeholders across the template to initialize a new research project.

    4.5k GitHub stars~596 tokensUpdated 3 days ago
    Auto-check: notes
  • Agent skill for coordinator-swarm-init - invoke with $agent-coordinator-swarm-init

    74k GitHub starsUsed in 2 repos~997 tokens
    Auto-check passed
  • Swarm Init

    ruvnet/ruflo

    Initialize a multi-agent swarm with anti-drift configuration.

    74k GitHub stars~319 tokensUpdated today
    SecurityAuto-check passed
  • Federation Init

    ruvnet/ruflo

    Initialize federation on this node — generate keypair and configure peers

    74k GitHub stars~221 tokensUpdated today
    Auto-check passed

More from LeoYeAI/openclaw-master-skills

All 972 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 Init Mate

What does Amemo Init Mate do?

当用户说「刷新助手记忆」「初始化助手记忆」「重置记忆」时调用,从云端拉取最新记忆内容并写入本地 memory/MEMORY.md。. Amemo Init Mate is an agent skill from LeoYeAI/openclaw-master-skills.

How do I install Amemo Init Mate in Claude Code?

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

How do I install Amemo Init Mate in Codex?

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

Can I use Amemo Init 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-init-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-init-mate, .gemini/skills/amemo-init-mate, .github/skills/amemo-init-mate and .opencode/skills/amemo-init-mate in your project.

What does Amemo Init Mate need to run?

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

Does Amemo Init 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 Init 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 Init Mate use?

Amemo Init 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 Init Mate use?

About 452 tokens (SKILL.md is roughly 1.8k 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 Init Mate?

Skills that share tags, products or a category with Amemo Init Mate: Init (asgeirtj/system_prompts_leaks, 69k stars), Init (asgeirtj/system_prompts_leaks, 69k stars), Init (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars) and Agent Coordinator Swarm Init (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Amemo Init Mate?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,159 GitHub stars. The repository holds 972 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.