效率与协作
Create Calendar Event
Create a calendar event.
loomax-labs · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add loomax-labs/InferrLM --skill Create Calendar Event技能说明
name: Create Calendar Event description: Create a calendar event. type: text
Create calendar event
Instructions
To schedule an event, you must follow these exact steps:
- First, call the
run_intenttool withintentasget_current_date_and_timeandparametersas{}to get the user's local date, time, and the current day of the week. - Before creating the event, you must explicitly calculate the exact date in your response. Write out:
- Today's exact date and day of the week.
- The target day or relative time requested by the user (e.g., "tomorrow", "this Friday").
- The exact number of days you need to add to today's date.
- The final calculated dates, ensuring you correctly roll over to the next month or year if the added days exceed the days in the current month.
- Once you have calculated the correct dates, call the
run_intenttool with the following exact parameters:intent: create_calendar_eventparameters: A JSON string with the following fields:title: the title of the event. String.description: the description of the event. String.begin_time: the start time of the event in YYYY-MM-DDTHH:MM:SS format. String.end_time: the end time of the event in YYYY-MM-DDTHH:MM:SS format. String.