Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

miot-calendar米奥特日历

Agent Skill

miot-calendar 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

665

周安装

28

GitHub Stars

3

下载量

233
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:miot-calendar(米奥特日历)
来源仓库:https://github.com/microboxlabs/modulariot
仓库路径:skills/miot-calendar
安装命令:
npx skills add https://github.com/microboxlabs/modulariot --skill miot-calendar
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/microboxlabs/modulariot --skill miot-calendar

简介

用于查找、检索和筛选相关信息。

  • 适合在关键词搜索、任务场景定位或来源线索核验时使用。
  • 可结合来源仓库和原始 README 继续核验具体用法。
  • 安装方式:github,通过 npx skills add 命令从 microboxlabs/modulariot 仓库添加。
  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

SKILL.md

ModularIoT Calendar Skill

Prerequisites

The miot CLI must be available. Run commands via:

  • npx @microboxlabs/miot-cli <command> (no install needed), or
  • miot <command> (if globally installed)

Configuration requires one of:

  1. --base-url and --token flags on every call
  2. MIOT_BASE_URL and MIOT_TOKEN environment variables
  3. A ~/.miotrc.json profile (selected via --profile <name>)

Always add --output json to CLI calls and parse the JSON result.

Domain Model

Organization
 └── Groups          ← organize calendars by category
      └── Calendars  ← represent a bookable resource (room, vehicle, service)
           ├── Time Windows  ← define when slots are available (hours, days, capacity)
           ├── Slots         ← generated from time windows; bookable time units
           │    └── status: OPEN | CLOSED
           ├── Bookings      ← consume a slot, linked to a resource (vehicle, room…)
           └── Slot Managers ← automate slot generation on a rolling basis

Key relationships:

  • Time windows define the rules; slots are the instances generated from those rules.
  • A slot has capacity and currentOccupancy; availableCapacity = capacity - currentOccupancy.
  • A booking ties a resource to a specific slot. It requires the slot to be OPEN with remaining capacity.
  • A calendar has parallelism (default: 1) — the number of parallel resources that can use a slot simultaneously (e.g. multiple loading docks).

Common Workflows

"What's available next week for X?"

  1. Find the calendar: miot calendar list --output json
  2. List available slots: miot calendar slots list --calendar <id> --from <monday> --to <friday> --available --output json
  3. Present results grouped by date with times and remaining capacity.

"Book a slot for resource Y"

  1. Find available slots (workflow above).
  2. Present options to the user — let them choose.
  3. Create the booking: miot calendar bookings create --calendar <id> --resource-id <rid> --date <date> --hour <h> --minutes <m> --output json

"How full is calendar X this month?"

  1. List all slots for the date range: miot calendar slots list --calendar <id> --from <start> --to <end> --output json
  2. Compute: total slots, occupied (capacity - availableCapacity), available, occupancy %.

"Generate slots for the next 2 weeks"

miot calendar slots generate --calendar <id> --from <today> --to <today+14> --output json

"What bookings does resource Z have?"

miot calendar bookings by-resource <resourceId> --output json

"Run the slot managers"

miot calendar slot-managers run --output json

Run a specific one: miot calendar slot-managers run <managerId> --output json

"Permanently delete calendar X"

⚠️ This is irreversible. All slots, bookings, time windows, and the slot manager are deleted.
  1. Confirm the user's intent before proceeding.
  2. Purge the calendar: miot calendar purge <id> --output json

"Create a calendar without a SlotManager"

Pass --no-auto-slot-manager to skip automatic SlotManager provisioning:

miot calendar create --code <code> --name <name> --no-auto-slot-manager --output json

The response will have hasSlotManager: false. A SlotManager can be added later via miot calendar slot-managers create.

"Show me the calendar setup"

  1. miot calendar get <id> --output json
  2. miot calendar time-windows list --calendar <id> --output json
  3. Summarize: calendar details + active time windows with their schedules.

Error Handling

CLI errors return {"error": {"statusCode": N, "message": "..."}}. Common codes:

CodeMeaning
400Invalid parameters (date range > 90 days, invalid hours, etc.)
404Resource not found
409Slot full / no capacity remaining

Explain the error in plain language to the user.

Business Rules

  • Slot generation is limited to 90-day ranges.
  • Time window hours: startHour < endHour, both 0–23.
  • Days of week: "1,2,3,4,5" where 1 = Monday, 7 = Sunday.
  • Slot status: OPEN or CLOSED.
  • Booking requires an OPEN slot with availableCapacity > 0.
  • Hour: 0–23, Minutes: 0–59.
  • calendar purge is irreversible — deletes the calendar and all its slots, bookings, time windows, and slot manager. Always confirm with the user before running.
  • hasSlotManager on a calendar response indicates whether a SlotManager is provisioned. Use --no-auto-slot-manager on calendar create to suppress auto-provisioning.
  • parallelism (default: 1) controls how many parallel resources can use a slot. Set via --parallelism <n> on calendar create or calendar update.

Full CLI Reference

For the complete list of commands, flags, and JSON output shapes, read references/reference.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.92%
按下载量换算88

Claude

31.07%
按下载量换算72

Cursor

16.91%
按下载量换算39

Gemini CLI

8.58%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills