- name
- sysu-anything-apple
- description
- Use when the user wants the macOS 12+ Apple-enhanced SYSU workflow layer, especially natural-language requests such as 把课表同步到日历、把雨课堂 ddl 加到提醒事项、把宣讲会或招聘会写进日历、把岐关行程加提醒、预约健身房并同步日历、预约图书馆研讨室并提醒我、USC课室预约提交后写入日历和提醒事项、请假后写入日历、勤工助学时间同步到日历, or any fuzzy request about Apple Calendar or Apple Reminders integration for SYSU campus tasks.
- metadata
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-appleFirst step
- 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
- Prefer targeted help before composing a command:
- sysu-anything-apple --help - sysu-anything-apple <command> --help - sysu-anything-apple <command> <subcommand> --help
- Always verify the Mac-side bridge first:
- sysu-anything-apple apple doctor
- 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
- 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
--jsonwhen another agent or script needs structured output.
Closed Loops
today --calendarjwxt timetable --calendar [--calendar-scope week|term]qg link --calendar --reminderscareer teachin detail --calendar --reminderscareer teachin signup --confirm --calendar --reminderscareer jobfair detail --calendar --reminderscareer jobfair signup --confirm --calendar --remindersykt homework list --remindersykt homework detail --remindersgym book --confirm --calendar --reminderslibic reserve --confirm --calendar --remindersusc classroom submit --confirm --calendar --remindersusc classroom sync --calendar --remindersexplore seminar reserve --confirm --calendar --remindersjwxt leave apply --confirm --calendar-block --remindersxgxt workstudy apply --confirm --calendar [--calendar-start-date <YYYY-MM-DD>] [--calendar-weeks <n>]
Safety
qg link --calendar --reminderscreates a planned trip in Apple apps; it does not mean the ticket is confirmed.career teachin/jobfair detail --calendar --remindersis local import only; it does not touch the remote signup state.career teachin/jobfair signupwithout--confirmstays in preview mode and skips Apple sync; use the correspondingdetailcommand if the user only wants local Calendar / Reminders import.gym book,libic reserve,usc classroom submit,explore seminar reserve,jwxt leave apply, andxgxt workstudy applyonly perform real writes with--confirm.usc classroom submit --calendar --reminderswrites Apple items only after BPM/site/app/startreturns 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 --remindersonly backfills local Apple items from an already-existing BPM session. It does not call/site/app/start.ykt homework list/detail --remindersdefaults to future deadlines only; add--include-pastwhen the user explicitly wants overdue items imported too.xgxt workstudy apply --calendarwrites 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-weeksis provided.- Run
apple doctorbefore the first sync on a new Mac or after macOS permission changes.