Maimen Calendar logo

Maimen Calendar

Community
Whisky53
maimen-calendar

查询麦当劳活动日历,结合天气安排早餐、午餐、晚餐、夜宵和加餐提醒,导出 ICS 或本地订阅。用于“这周有什么活动”“哪天值得去”“安排吃饭提醒”“把活动放进日历”;单餐核价与口味记忆交给 maimen-meal。

Overview

PublisherWhisky53
Repositorymaimen-calendar
Skill namemaimen-calendar
Stars
78
Forks
0
Bundled files
11
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.

  • 11 bundled files

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

  • Open source

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

Installation

Install the Maimen Calendar 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/Whisky53/maimen-calendar/tree/master/skills/maimen-calendar
  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/Whisky53/maimen-calendar.git /tmp/maimen-calendar
mkdir -p .claude/skills
cp -r /tmp/maimen-calendar/skills/maimen-calendar .claude/skills/maimen-calendar
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Maimen Calendar 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 Maimen Calendar 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 Maimen Calendar 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.

麦门日历

核心是日历:把活动、各餐次提醒与用餐安排放在同一条时间线上。打工人可以有预算结界,也该有按时吃饭的空档。

工作流程

  1. 读取城市、时间范围、餐次及预算。脚本默认上海、7 天、午餐、35 元;支持 breakfast / lunch / dinner / late-night / snack,不把默认值描述成用户已确认。
  2. 调用 campaign-calendar 读取实际返回的日期与活动。返回范围之外标记未取得数据,不编造整月活动;往期内容只作回顾,不推荐成未来机会。
  3. 活动力度是本地启发式评分,不是官方省钱金额。低分可能仍有内容活动;当前门店券不证明未来日期可用。
  4. 有天气来源才加入天气信息,缺失保持未知。中国天气网是独立来源,不属于麦当劳 MCP。
  5. 用户要具体吃什么、核价或记录偏好时,调用配套 maimen-meal。calendar 的 cli.mjs 当前候选按菜单标价筛选,未走逐套服务端核价、未写入 meal 的历史;不要把这条路径称为实付最优推荐。
  6. 按餐次与已保存的提醒设置生成日程。未来提醒不意味着未来餐品、供应、价格已确认;先安排时间,到时重新查询。
  7. 用户需要时导出 ICS 或启动本地订阅,并说明交付状态。

提醒交付

  • ICS:只能确认文件已生成。用户需导入并允许日历通知;不能承诺已添加或一定弹窗。
  • 本地订阅:服务进程和地址须持续可达;127.0.0.1 地址不能直接给手机或云日历使用。客户端刷新时间由客户端决定。
  • 宿主调度:只有实际调用成功后才说已创建;网页关闭后运行必须依赖真实后台能力。
  • 星期一至五不是法定工作日,不自动推断节假日调休。
  • 稳定 UID 避免重复事件;更新是否覆盖取决于客户端的导入/订阅行为。不能保证反复手动导入一定去重。

可选内容

只有用户询问热量或训练时才读取营养与训练模块。缺失热量保持 unknown,模糊匹配需说明;单餐数据不足以推断全天收支,不作医疗或过敏安全结论。星座与老黄历作为趣味文案,不替代事实来源。

不自动下单、付款、扣积分、领券。Token 通过 MCD_MCP_TOKEN 注入,不能写入源码或日志。

运行入口

Node.js 22+,从本 Skill 目录执行:

sh
node scripts/cli.mjs --city 上海 --days 7 --budget 35 --slots breakfast,lunch,dinner --ics ./maimen.ics
node scripts/cli.mjs --setup-reminders --slots breakfast,lunch --remind-lunch 11:45
node scripts/cli.mjs --slot-config dinner --disable
node scripts/cli.mjs --view-reminders
node scripts/serve.mjs --port 8899 --city 上海
node scripts/cli.mjs --help

无 Token 时说明活动/菜单等不可用。明确要求演示时可使用 --demo;示例与实时数据分开标注。网页原型、CLI 提醒文件和宿主调度是独立状态,不宣称自动同步。

按需阅读与验证

  • 日历规则:评分、UID、热量与训练细节。
  • 数据源:接口字段与来源。
  • ../maimen-meal/SKILL.md:单餐实时核价、选择和吃过记录。

运行 node scripts/test.mjs 验证离线规则;涉及真实接口时另做只读联调,报告实际成功的接口,不把计划当作已完成。

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 Maimen Calendar AI skill do?

查询麦当劳活动日历,结合天气安排早餐、午餐、晚餐、夜宵和加餐提醒,导出 ICS 或本地订阅。用于“这周有什么活动”“哪天值得去”“安排吃饭提醒”“把活动放进日历”;单餐核价与口味记忆交给 maimen-meal。

Why use Maimen Calendar on TypingMind?

Because you install it once and use it with any model. Maimen Calendar 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 Maimen Calendar in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Whisky53/maimen-calendar/tree/master/skills/maimen-calendar. 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 Maimen Calendar?

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 Maimen Calendar?

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

Is the Maimen Calendar AI skill free?

It is published on GitHub by Whisky53. Check the repository for licensing terms. 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 👇