Mcsmart Butler logo

Mcsmart Butler

Community
Hanmoy
mcsmart-butler

麦麦智能管家(开发仓库版):拼单仲裁、双预算精算与 McDNA 战报的业务内核与 Skill 打包源码。本文件面向开发者;面向智能体/用户的正式 Skill 见 skill-template/SKILL.md(由打包脚本生成到发布包)。

Overview

PublisherHanmoy
Repositorymcsmart-butler
Skill namemcsmart-butler
Stars
138
Forks
1
Bundled files
265
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.

  • 265 bundled files

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

  • Open source

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

Installation

Install the Mcsmart Butler 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/Hanmoy/mcsmart-butler/tree/main
  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/Hanmoy/mcsmart-butler.git \
  .claude/skills/mcsmart-butler
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mcsmart Butler 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 Mcsmart Butler 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 Mcsmart Butler 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.

麦麦智能管家(开发仓库)

本仓库是 mcsmart-butler Skill 的源码仓库:网页演示页与 Skill CLI 共用同一业务内核。 正式的 Skill 定义在 skill-template/SKILL.md(打包时注入版本号)。

模块地图(Skill 化改造后)

域模块说明
配置src/config.ts可调参数单例(默认值 ← 用户 config.json ← 请求参数),零依赖校验器
路径src/paths.ts安装布局解析(dev/package 就近优先);种子只读 + 用户数据目录可写
服务src/service.ts唯一业务编排层:stores / solveSingle / solveGroup / mcdna / doctor;网页(server.ts)与 CLI(cli.ts)共用
单人配餐src/optimizer.ts双约束 MILP 内核(HiGHS WASM),套餐/槽位/购买单元建模
多人配餐src/groupKernel.ts + src/group.ts三轨统一内核(散点/套壳/券包)+ 心愿解析原语
渠道src/unionCps.ts + src/unionClient.ts + src/vouchers.ts美团 CPS 客户端(凭据来源:env → config → bundled;查询失败再退到本地团单库/预置参考资料)+ 券轨
营养src/nutrition.ts + src/officialNutrition.tsMCP 营养表解析 + 官网营养库(规格级行)
分账group/groupKernel 内(members[].shareCents/payableCents)参考原价→食品单位数→人数分摊;个人券只冲减本人,尾差守恒
展示src/present.ts「先怎么买,再怎么看详情」文本卡(CLI --format text)
CLIsrc/cli.tsdoctor/stores/solve-single/solve-group/parse-group/mcdna/config/version;稳定错误码
网页src/server.tsHTTP 薄壳(业务全部委托 service.ts,响应结构与 CLI 同源)

开发与验证

bash
npm run build        # tsc 编译(src → dist)
npm test             # 全量回归(内核契约/解析/目标/券轨/CLI 契约)
npm run watch        # 监听编译
npm run cli -- ui    # 直接打开操作面板(无 Token 时进入首次配置引导)

改单个模块后:npm run build && node scripts/test-<对应域>.mjs(如改 groupKernel → test-group-kernel.mjs);全量验证跑 npm test。

打包与安装(发布包一律从源码生成)

bash
npm run package                       # = node scripts/package-skill.mjs build(编译→组装→隐私断言→烟测)
node scripts/package-skill.mjs build --zip   # 额外生成 mcsmart-butler-vX.Y.Z.zip
node scripts/package-skill.mjs install --from dist-package/mcsmart-butler --to <目标skill目录>   # 安装/升级(自动备份)
node scripts/package-skill.mjs rollback --to <目标skill目录>                                     # 回退上一版本
node scripts/acceptance-test.mjs      # 干净环境验收(中文+空格路径/无Token/失效Token/断网/缺依赖/升级回退/真实端到端)

发布包结构、配置字段表、验收矩阵详见:

历史文档

Bundled files

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

and 140 more files.

Frequently asked questions

What does the Mcsmart Butler AI skill do?

麦麦智能管家(开发仓库版):拼单仲裁、双预算精算与 McDNA 战报的业务内核与 Skill 打包源码。本文件面向开发者;面向智能体/用户的正式 Skill 见 skill-template/SKILL.md(由打包脚本生成到发布包)。

Why use Mcsmart Butler on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Hanmoy/mcsmart-butler/tree/main. 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 Mcsmart Butler?

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 Mcsmart Butler?

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

Is the Mcsmart Butler AI skill free?

Yes. It is published on GitHub by Hanmoy 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 👇