← 返回 Skills 市场
rifatdevelopment

Mensa

作者 RifatDevelopment · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
41
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mensa
功能描述
Returns today's lunch menu of a German university canteen via the public OpenMensa API (no API key). One-time non-interactive setup picks a city; afterwards...
使用说明 (SKILL.md)

Mensa-Today

Returns the daily menu of a German university canteen, sourced from the public OpenMensa API (https://openmensa.org). No API key needed.

When to use

Trigger this skill when the user asks for today's (or another day's) canteen / "Mensa" menu, e.g. "What's for lunch at the Mensa today?" or "Mensaplan heute".

Agent flow

  1. No config yet? Ask the user for a city. Optionally ask if they have a favourite canteen in that city — used as the default for queries without a specific canteen.
  2. Run setup (non-interactive):
    python3 {baseDir}/mensa_today.py --setup "\x3Ccity>"
    # or, with a preferred default:
    python3 {baseDir}/mensa_today.py --setup "\x3Ccity>" --default "\x3Cfavourite canteen substring>"
    
    All canteens in that city are saved as aliases; one of them is marked as default.
  3. Menu queries:
    python3 {baseDir}/mensa_today.py                       # default canteen, today
    python3 {baseDir}/mensa_today.py "UniCampus"           # any canteen in the city, by name substring
    python3 {baseDir}/mensa_today.py "Otto Hahn" --date 2026-06-02
    
    Substring matching is normalised — special characters (-, ,, .) are ignored, so a query like "Otto Hahn" matches a canteen named "Mensa Otto-Hahn-Straße".
  4. "No canteen matched"? The query did not resolve to any saved alias. Show the user the available aliases (the script prints them) and offer to re-run --setup for a different city.

Example output

2026-05-26 - Menu (student price)
- Spaghetti Bolognese - 2.80 EUR
- Couscous - 2.60 EUR (vegetarian)
- Soup - 1.80 EUR (vegan)

Network egress

Outbound HTTPS to openmensa.org only. No credentials, no telemetry, no user data sent. The user's city and canteen choice stay in a local config.json next to the script.

Files

  • mensa_today.py — entry point (no third-party deps, stdlib only)
  • config.json — created on first --setup, holds chosen canteen ids (gitignored, never uploaded)
  • README.md, LICENSE.md
安全使用建议
Install if you are comfortable with your agent running this Python script and sending canteen/date lookups to openmensa.org. It does not need an API key or credentials, and it stores only your city/canteen configuration locally.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is to fetch German university canteen menus, and the code matches that purpose with HTTPS GET requests to the public OpenMensa API and formatting of returned meal data.
Instruction Scope
The skill instructions are narrow: ask for a city during setup, run the bundled Python script, and query a configured canteen by substring/date. No hidden role changes, prompt manipulation, unrelated commands, or broad data access were found.
Install Mechanism
Installation requires only python3 and uses no third-party packages or credential setup. README examples reference the normal OpenClaw skill install path.
Credentials
Network access and local file use are proportionate to the feature: it calls openmensa.org for canteen/menu data and reads/writes a config.json containing city, default canteen, and aliases.
Persistence & Privilege
The skill persists a local config.json next to the script and attempts chmod 600. This is disclosed and limited, but users should know their chosen city/canteen is stored locally.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mensa
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mensa 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
No changes detected since the previous version. name changed to mensa 0.2.0 -> 1.0.0 - Version number and documentation remain unchanged. - No new features, fixes, or modifications introduced.
元数据
Slug mensa
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Mensa 是什么?

Returns today's lunch menu of a German university canteen via the public OpenMensa API (no API key). One-time non-interactive setup picks a city; afterwards... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。

如何安装 Mensa?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install mensa」即可一键安装,无需额外配置。

Mensa 是免费的吗?

是的,Mensa 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Mensa 支持哪些平台?

Mensa 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Mensa?

由 RifatDevelopment(@rifatdevelopment)开发并维护,当前版本 v1.0.0。

💬 留言讨论