Memo Api logo

Memo Api

Organization
maimemo
memo-api

墨墨背单词 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.

Overview

Publishermaimemo
Repositorymemo-skills
Skill namememo-api
Stars
47
Forks
0
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by maimemo on GitHub. Read the source before you install it.

Installation

Install the Memo Api AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/maimemo/memo-skills/tree/main/memo-api
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/maimemo/memo-skills.git /tmp/memo-skills
mkdir -p .claude/skills
cp -r /tmp/memo-skills/memo-api .claude/skills/memo-api
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Memo Api in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Memo Api on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Memo Api is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

MaiMemo Open API

Auth & Base

  • Base URL: https://open.maimemo.com/open/api/v1
  • Token: env var $MAIMEMO_TOKEN — obtain it from either:
    • App: 墨墨背单词 → 开放 API
    • Web: open https://open.maimemo.com/open/api/v1/tokens/openapi, log in to the MaiMemo account, ask the user to copy the Token and paste it back, then set it as $MAIMEMO_TOKEN
  • Token expiry: Tokens from the web source are valid for 7 days. If an API call indicates the token is expired/invalid (for example auth failure), tell the user to repeat the web login/copy/paste flow and update $MAIMEMO_TOKEN.
  • Auth header: Authorization: Bearer $MAIMEMO_TOKEN
bash
curl -s -X ${METHOD} "${BASE}/${PATH}" \
  -H "Authorization: Bearer $MAIMEMO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '${BODY}'

Rate limits: 20/10s, 40/60s, 2000/5h

Key Concepts

  • voc_id resolution: Most endpoints need voc_id, not spelling. Resolve via GET /vocabulary?spelling=word or POST /vocabulary/query (batch up to 1000).
  • POST for updates: Update endpoints use POST /resource/{id}, not PUT/PATCH.
  • Status values: Resources use status enums (PUBLISHED, UNPUBLISHED, DELETED) — vary by domain.
  • Timestamps: All times are ISO 8601. Study date filters use Beijing timezone (UTC+8).

Domain Routing

TaskRead reference file
Look up voc_id / spelling → idvocabulary-api.md
CRUD custom definitionsinterpretations-api.md
CRUD mnemonics (联想/谐音/派生/词根/词源/固搭/语法/对比 etc.)notes-api.md
Manage word lists / cloud notepadsnotepads-api.md
CRUD example sentencesphrases-api.md
Study progress, records, schedulesstudy-api.md

Before calling any endpoint, read the corresponding reference file for exact params, body schema, and curl examples.

Study Usage Scenes

All study endpoints are POST and beta (需要打开自动同步).

Today's Progress

Endpoint: POST /study/get_study_progress (empty body) Returns: finished (done count), total (target count), study_time (ms)

SceneEndpointKey params
Words left todayget_study_progresscompute total - finished
Study time todayget_study_progressstudy_time (ms → min)

Today's Words

Endpoint: POST /study/get_today_items

SceneEndpointKey params
Forgotten words todayget_today_itemsis_finished: true, filter first_response = "FORGET"
New words todayget_today_itemsis_new: true
Unfinished wordsget_today_itemsis_finished: false
Specific word historyget_today_itemsspellings: ["word"] or voc_ids: ["id"]

Study Records

Endpoint: POST /study/query_study_records

SceneEndpointKey params
Words due in next N daysquery_study_recordsnext_study_date.end: "YYYY-MM-DDT00:00:00+08:00", as_count: true
Total words in planquery_study_recordsas_count: true (no filters)
Frequently forgotten (sticky)query_study_recordsiterate pages, filter tags = "STICKING"
Well-familiar wordsquery_study_recordsiterate pages, filter tags = "WELL_FAMILIAR"
Export all study dataquery_study_recordspaginate via sliding next_study_date window, limit: 1000

Adding Words

Endpoint: POST /study/add_words

SceneEndpointKey params
Add words to planadd_wordswords: [{"id": "voc_id"}], max 1000
Add and advance reviewadd_wordsadvance: true (also triggers immediate review, no level limit)

Advance Review

Endpoint: POST /study/advance_study

SceneEndpointKey params
Advance words for immediate reviewadvance_studyvoc_ids: ["voc_id1", ...], max 1000
Requires level 10+ to unlock advance review feature

Multi-domain Workflow Hints

  • Add mnemonic to word: Vocabulary (get voc_id) → Notes (create)
  • Add example sentence: Vocabulary (get voc_id) → Phrases (create)
  • Add custom definition: Vocabulary (get voc_id) → Interpretations (create)
  • Build word list from study data: Study records (query) → Notepads (create with spellings)
  • Full word info: Vocabulary (get voc_id) → Interpretations + Notes + Phrases (list all)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Memo Api AI skill do?

墨墨背单词 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.

Why use Memo Api on TypingMind?

Because you install it once and use it with any model. Memo Api is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Memo Api in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/maimemo/memo-skills/tree/main/memo-api. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Memo Api?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Memo Api?

As many as you like. As long as a model supports skills, you can use Memo Api with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Memo Api AI skill free?

Yes. It is published on GitHub by maimemo under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇