local-tools
Skill này làm gì
Skill này cho phép agent quản lý các sự kiện lịch trên máy tính của bạn thông qua ứng dụng Lịch cục bộ hoặc Outlook. Skill dành cho người muốn trợ lý AI lo lịch trình của mình.
Khi nào nên dùng
- ✓Khi bạn muốn xem lịch trình của mình trong một ngày.
- ✓Khi bạn muốn tạo, thay đổi hoặc xóa một sự kiện lịch.
- ✓Khi bạn muốn tìm trong lịch các sự kiện có một từ nhất định.
Liên kết skill
https://github.com/netease-youdao/LobsterAI/blob/main/SKILLs/local-tools/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Cho tôi xem lịch của tôi ngày mai, rồi thêm một cuộc họp lúc 3 giờ chiều tên là đánh giá dự án.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chạy một script cục bộ, dùng ứng dụng Calendar trên Mac hoặc Outlook trên Windows. Skill đọc hoặc thay đổi các sự kiện trên thiết bị và trả kết quả dưới dạng có cấu trúc.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Local Tools Skill
When to Use This Skill
Use the local-tools skill when you need to:
- Calendar Management - View, create, update, or delete calendar events
Examples of when to use:
- User: "Show me my schedule for tomorrow"
- User: "Create a meeting at 3 PM"
- User: "Search for calendar events containing 'project'"
- User: "Delete tomorrow's meeting"
How It Works
┌──────────┐ Bash/PowerShell ┌─────────────────────────────────────────────────────────────┐
│ Claude │──────────────────────▶│ calendar.sh / calendar.ps1 │
│ │ │ ├─ macOS: osascript -l JavaScript (JXA) ──▶ Calendar.app │
│ │ │ └─ Windows: PowerShell ──▶ Outlook COM API │
└──────────┘ └─────────────────────────────────────────────────────────────┘
Architecture:
CLI Scripts - Platform-specific scripts, no HTTP server needed
calendar.sh- Bash script for macOScalendar.ps1- PowerShell script for Windows
Local Calendar Access - Direct access to system calendar
- macOS: Uses JXA (JavaScript for Automation) to control Calendar.app
- Windows: Uses PowerShell COM API to control Microsoft Outlook
JSON Output - Structured data format for easy parsing
Platform Support
| Platform | Implementation | Calendar App | Status |
|---|---|---|---|
| macOS 10.10+ | JXA + Calendar.app | Calendar.app | ✅ Fully Supported |
| Windows 7+ | PowerShell + COM | Microsoft Outlook | ✅ Fully Supported |
| Linux | - | - | ❌ Not Supported |
Permissions
macOS
- Requires "Calendar" access permission
- User will be prompted on first use
- Can be managed in: System Settings > Privacy & Security > Calendar
Windows
- Requires Microsoft Outlook to be installed
- May require administrative privileges for COM access
Calendar Operations
IMPORTANT: How to Locate the Script
When you read this SKILL.md file using the Read tool, you receive its absolute path (e.g., /Users/username/.../SKILLs/local-tools/SKILL.md).
To construct the script path:
- Take the directory of this SKILL.md file
- Append
/scripts/calendar.sh(macOS) or/scripts/calendar.ps1(Windows)
Example:
# If SKILL.md is at: /Users/username/path/to/SKILLs/local-tools/SKILL.md
# Then the script is: /Users/username/path/to/SKILLs/local-tools/scripts/calendar.sh
bash "/Users/username/path/to/SKILLs/local-tools/scripts/calendar.sh" <operation> [options]
In all examples below, <skill-dir>/scripts/calendar.sh is a placeholder. Replace it with the actual absolute path.
Best Practices for AI Assistant
DO:
- ✅ Execute commands directly without showing trial-and-error process
- ✅ If command fails, inform user about permission issues without showing technical errors
- ✅ Use
searchcommand for searching birthdays/anniversaries - ✅ If no calendar name specified, script will automatically use first available calendar
DON'T:
- ❌ Don't repeatedly try different command combinations
- ❌ Don't show error stacks or technical details to users
- ❌ Don't read script source code to analyze issues
- ❌ Don't ask users for calendar name, use default behavior
Example - Searching for birthdays:
# Correct approach: Search directly, don't trial-and-error
bash "<skill-dir>/scripts/calendar.sh" search --query "birthday"
# If permission error returned, directly tell user:
# "Calendar access permission is required. Please open System Settings > Privacy & Security > Calendar, and authorize Terminal or LobsterAI"
List Events
# List events for next 7 days (default)
bash "<skill-dir>/scripts/calendar.sh" list
# List events for specific date range
bash "<skill-dir>/scripts/calendar.sh" list \
--start "2026-02-12T00:00:00" \
--end "2026-02-19T23:59:59"
# List events from specific calendar (macOS)
bash "<skill-dir>/scripts/calendar.sh" list \
--calendar "Work"
Create Event
# Create a simple event
bash "<skill-dir>/scripts/calendar.sh" create \
--title "Team Meeting" \
--start "2026-02-13T14:00:00" \
--end "2026-02-13T15:00:00"
# Create event with location and notes
bash "<skill-dir>/scripts/calendar.sh" create \
--title "Client Call" \
--start "2026-02-14T10:00:00" \
--end "2026-02-14T11:00:00" \
--calendar "Work" \
--location "Conference Room A" \
--notes "Discu
Câu hỏi thường gặp
Những máy tính nào được hỗ trợ?
Mô tả nêu rõ macOS dùng ứng dụng Calendar còn Windows dùng Outlook.
Skill có cần máy chủ không?
Không. Skill dùng các script cục bộ và không cần máy chủ riêng.
Skill có xóa được sự kiện không?
Có. Skill có thể xóa sự kiện lịch khi bạn yêu cầu.
Chi tiết
Mô tả gốc của tác giả
Access local system resources including Calendar on macOS and Windows. Use this skill when you need to manage user's schedule directly on their device.
repo: netease-youdao/LobsterAI
Độ phổ biến
- Sao GitHub
- 6.2k
- Vị trí xếp hạng
- #14414
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
article-writer
6.2kGiúp agent của bạn viết một bài báo theo một trong năm phong cách, từ thu thập tư liệu và dàn ý đến bản nháp cuối đã định dạng.
content-planner
6.2kGiúp agent của bạn lên lịch nội dung gồm các chủ đề bài viết, bằng cách xem các bài viết thịnh hành gần đây và từ khóa tìm kiếm liên quan.
daily-trending
6.2kGiúp agent của bạn thu thập các chủ đề thịnh hành hôm nay từ nhiều nền tảng Trung Quốc và chọn ra những chủ đề quan trọng nhất.
imap-smtp-email
6.2kGiúp agent của bạn kiểm tra hộp thư, đọc thư mới, tìm kiếm thư, đánh dấu thư và gửi email có tệp đính kèm.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.