编程

SYSU Anything Apple

试用

Use when the user wants the macOS 12+ Apple-enhanced SYSU workflow layer, especially natural-language requests such as 把课表同步到日历、把雨课堂 ddl 加到提醒事项、把宣讲会或招聘会写进日历、...

它能做什么

Use when the user wants the macOS 12+ Apple-enhanced SYSU workflow layer, especially natural-language requests such as 把课表同步到日历、把雨课堂 ddl 加到提醒事项、把宣讲会或招聘会写进日历、...

技能文档

SYSU anything Apple

Use the published macOS Apple entrypoint instead of re-deriving EventKit flows. Prefer the installed sysu-anything-apple binary. If it is missing, install the compiled package with npm i -g sysu-anything. If the user is actively developing the local repo, the checked-out workspace build is also acceptable.

This skill is for macOS 12+ (Monterey+) only. The published Apple native bridge supports both Apple Silicon and Intel. On non-macOS or macOS 11 and below, keep using sysu-anything-cli; only the Apple Calendar / Apple Reminders layer is unavailable.

sysu-anything-apple

First step

  1. Confirm the runtime path:
    • preferred: sysu-anything-apple
    • install if missing: npm i -g sysu-anything
    • local-dev fallback inside the repo: npm run build
    • supported host: macOS 12+ only
    • unsupported host fallback: use sysu-anything without Apple sync
    • if the user previously installed an older npm runtime, ask them to upgrade sysu-anything before retrying Apple sync
  2. Prefer targeted help before composing a command:
    • sysu-anything-apple --help
    • sysu-anything-apple --help
    • sysu-anything-apple --help
  3. Always verify the Mac-side bridge first:
    • sysu-anything-apple apple doctor
  4. Check the SYSU-side login state before the real action:
    • qg: no login check needed
    • ykt homework list/detail --reminders: sysu-anything ykt status
    • today / jwxt timetable / jwxt leave apply: sysu-anything jwxt status
    • career teachin detail/jobfair detail --calendar --reminders: no SYSU login check needed
    • career teachin signup/jobfair signup --confirm --calendar --reminders: if the command still needs to seed career-session.json, run sysu-anything auth workwechat first
    • gym book: sysu-anything gym profile
    • libic reserve: sysu-anything libic whoami
    • usc classroom submit --confirm --calendar --reminders: sysu-anything usc whoami --json
    • explore seminar reserve: sysu-anything explore whoami
    • xgxt workstudy apply --calendar: sysu-anything xgxt current-user
  5. If the check fails, restore login first, rerun the check, then run the Apple sync command.

The Apple entrypoint reuses the same state directory:

~/.sysu-anything/

Routing

  • If you need the command map or examples, read references/overview.md.
  • For Apple-specific career teachin/jobfair import and signup-sync behavior, read references/career.md.
  • For Apple-specific libic reservation sync behavior, read references/libic.md.
  • Prefer --json when another agent or script needs structured output.

Closed Loops

  • today --calendar
  • jwxt timetable --calendar [--calendar-scope week|term]
  • qg link --calendar --reminders
  • career teachin detail --calendar --reminders
  • career teachin signup --confirm --calendar --reminders
  • career jobfair detail --calendar --reminders
  • career jobfair signup --confirm --calendar --reminders
  • ykt homework list --reminders
  • ykt homework detail --reminders
  • gym book --confirm --calendar --reminders
  • libic reserve --confirm --calendar --reminders
  • usc classroom submit --confirm --calendar --reminders
  • usc classroom sync --calendar --reminders
  • explore seminar reserve --confirm --calendar --reminders
  • jwxt leave apply --confirm --calendar-block --reminders
  • xgxt workstudy apply --confirm --calendar [--calendar-start-date ] [--calendar-weeks ]

Safety

  • qg link --calendar --reminders creates a planned trip in Apple apps; it does not mean the ticket is confirmed.
  • career teachin/jobfair detail --calendar --reminders is local import only; it does not touch the remote signup state.
  • career teachin/jobfair signup without --confirm stays in preview mode and skips Apple sync; use the corresponding detail command if the user only wants local Calendar / Reminders import.
  • gym book, libic reserve, usc classroom submit, explore seminar reserve, jwxt leave apply, and xgxt workstudy apply only perform real writes with --confirm.
  • usc classroom submit --calendar --reminders writes Apple items only after BPM /site/app/start returns OK. The initial app_id=197 application usually has no concrete classroom yet; Apple notes should say the room is pending later allocation.
  • usc classroom sync --calendar --reminders only backfills local Apple items from an already-existing BPM session. It does not call /site/app/start.
  • ykt homework list/detail --reminders defaults to future deadlines only; add --include-past when the user explicitly wants overdue items imported too.
  • xgxt workstudy apply --calendar writes the submitted work-study time template into Apple Calendar; because xgxt payloads only contain weekday + time, the Apple layer defaults to expanding 1 week unless --calendar-weeks is provided.
  • Run apple doctor before the first sync on a new Mac or after macOS permission changes.

相关技能

Use when the user wants SYSU campus help through the SYSU Anything CLI, including natural-language requests such as 查课表、今天有什么课、教务系统、请假、雨课堂作业、ddl、签到、预约健身房、预约体...

19 次安装

把一句自然语言(机票/高铁/开庭/会议/截止日期/聚会/看病等)或一张票据截图,自动变成苹果「日历」事件 + 一串按事件类型智能提前的「提醒事项」。在 macOS 上运行、经 iCloud 同步到 iPhone/iPad。当用户说「帮我加个日程/提醒」「机票 MU5137 8:30 起飞提醒我」「下周三下午开庭提前提醒」「G1234 高铁」「上诉期 15 号截止」「提前 2 小时提醒我」「把这个行程加到日历」等任何要把时间安排写进苹果日历或提醒事项的场景,都必须用本 skill。仅 macOS。

Manage Apple Calendar events from the command line on macOS — create, update, delete, search, export, and check availability with full JSON output for agent use.

21 次安装

Turn a school or work timetable (xlsx / csv) into a shareable HTTPS ICS subscription. Split class blocks into sessions, add one travel alarm per day (first class only), host a WeChat/iOS/Android landing page. Use when the user says 课表订阅, 日历订阅, timetable to ICS, calendar subscription, 同步到日历, webcal, 开学课表, share calendar with classmates. NOT FOR one-off local Calendar.app AppleScript dumps, Google Calendar API event-by-event writes, or todo/reminder apps.

1 次安装

当用户需要通过本地 szu-cli 查询或操作深圳大学校园事务时使用,包括登录检查、公文通、我的课表、全校课表、成绩、绩点排名、培养方案、学业完成、思政学分、创新讲座、宿舍电费、体育场馆预约、图书馆馆藏、知网和万方检索。指导 agent 使用 JSON 输出、安全处理隐私,并对预约和取消执行 dry-run/co...

1 次安装

This skill should be used when the user asks about Apple app data via the native Swift MCP — Calendar, Reminders, Contacts, Maps, Mail, Messages, Notes, or Photos on macOS. Triggers on phrases like "check my calendar", "find contact", "send iMessage", "search my notes", "recent emails", "find photos of", or any macOS-native app automation. Requires macOS 14+ on Apple Silicon; faster than the AppleScript-backed Node variant.

12 次安装