# Memo API

> Memo API is an open-source agent skill for education and exam prep. Lets your agent look up, edit and export MaiMemo vocabulary, notes and study data. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/maimemo/memo-skills/tree/main/memo-api
- **Repository:** https://github.com/maimemo/memo-skills
- **GitHub stars:** 50
- **License:** MIT
- **Skill name:** memo-api
- **Collection:** https://github.com/maimemo/memo-skills
- **Categories:** [education and exam prep](https://ai-powered.com/categories/education-and-exam-prep)
- **Listing updated:** 2026-12-03

## About

This skill connects an AI coding agent to the MaiMemo (墨墨背单词) Open API so it can work with a learner's vocabulary account. It covers resolving words to voc_id values, managing custom definitions, mnemonics, example sentences and cloud word lists, and reading study progress, today's words, review schedules and study records.

The skill is organized as a routing guide: a table maps each task area to a separate reference file that holds exact parameters, body schemas and curl examples, and the agent is directed to read the relevant file before calling an endpoint. It also notes common multi-step flows, such as looking up a word's voc_id before adding a mnemonic or example sentence. Rate limits and the Beijing time zone used by study date filters are documented.

Using it requires a MaiMemo Open API token stored in the MAIMEMO_TOKEN environment variable and curl available on the system. Tokens obtained through the web flow expire after seven days, and the skill tells the agent how to ask the user to refresh them. Study endpoints are marked as beta and need automatic sync enabled in the app.

## When your agent uses it

> 墨墨背单词 MaiMemo Open API skill for vocabulary learning. Handles: 单词 vocabulary lookup (voc_id), 释义 interpretations (CRUD), 助记 mnemonics/notes, 云词本 notepads/word lists, 例句 phrases/example sentences, 学习数据 study progress/review schedule/study records. Triggers on: 墨墨, maimemo, 背单词, 释义, 助记, 云词本, 例句, study progress, review schedule, words due, forgotten words, study time, export study data.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/maimemo/memo-skills/tree/HEAD/memo-api)
- [License: MIT](https://github.com/maimemo/memo-skills/tree/HEAD/memo-api)

## Features

- **Vocabulary ID lookup:** Resolves spellings to voc_id values through single or batch queries.
- **Custom definitions:** Creates, reads, updates and deletes personal word interpretations.
- **Mnemonics and notes:** Manages memory aids such as associations, roots, etymology and contrasts.
- **Example sentences:** Maintains phrases and example sentences attached to words.
- **Cloud word lists:** Manages notepads and word lists stored in the MaiMemo account.
- **Study progress and schedules:** Reports daily progress, due words, forgotten words and study time.
- **Study data export:** Pages through study records to export a learner's full history.

## Good for

- How many words do I still have to review today?
- Show the words I forgot today and add them to a new word list.
- Which words are due in the next three days?
- Add a mnemonic for this word to my MaiMemo notes.
- Export my study records for the past month.
- Find the words I keep forgetting that are tagged as sticky.

## Install

### Claude Code

This skill ships in the `memo-api` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add maimemo/memo-skills
/plugin install memo-api@memo-skills
```

Or copy only this skill to `~/.claude/skills/memo-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maimemo/memo-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/memo-api &&
cp -R "$tmp/memo-api" ~/.claude/skills/memo-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/memo-api` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/memo-api` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maimemo/memo-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/memo-api &&
cp -R "$tmp/memo-api" ~/.agents/skills/memo-api &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/memo-api` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/memo-api` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maimemo/memo-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/memo-api &&
cp -R "$tmp/memo-api" ~/.cursor/skills/memo-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/memo-api` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/maimemo/memo-skills.git --path memo-api
```

Or copy the folder to `~/.gemini/skills/memo-api` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/memo-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maimemo/memo-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/memo-api &&
cp -R "$tmp/memo-api" ~/.copilot/skills/memo-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/memo-api` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/maimemo/memo-skills.git
```

Then copy `memo-skills/memo-api` into your agent's skills folder as `memo-api`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What do I need before using Memo API?

A MaiMemo Open API token saved in the MAIMEMO_TOKEN environment variable, and curl available to the agent.

### Where do I get the token?

Either from the MaiMemo app under 开放 API, or through the web token page where you log in and paste the copied token back. Web tokens are valid for seven days.

### Do the study endpoints work for every account?

They are marked as beta and require automatic sync to be turned on in the MaiMemo app.

### Does the skill change my data without asking?

It provides endpoints that create, update and delete definitions, notes, phrases and word lists, so those changes happen when the agent calls them for a requested task.

### How do I install Memo API in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/memo-api to use it in all your projects, or to .claude/skills/memo-api in one project. Or install the memo-api plugin, which includes it: /plugin marketplace add maimemo/memo-skills, then /plugin install memo-api@memo-skills.

### Does Memo API run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Memo API?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Markji card syntax](https://ai-powered.com/skills/markji-card-syntax): Markji card syntax is an open-source agent skill for education and exam prep.

---
Source: https://ai-powered.com/skills/memo-api
