local-tools
できること
ローカルのカレンダーアプリまたはOutlookを通じて、パソコンのカレンダーの予定を管理できるようにします。AIアシスタントに予定を扱ってほしい人向けです。
使う場面
- ✓ある日の予定を見たいとき。
- ✓カレンダーの予定を作成、変更、削除したいとき。
- ✓特定の言葉を含む予定をカレンダーで検索したいとき。
スキルのリンク
https://github.com/netease-youdao/LobsterAI/blob/main/SKILLs/local-tools/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“明日の予定を見せてください。そのあと、午後3時に「プロジェクトレビュー」という会議を追加してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、ローカルのスクリプトを実行します。このスクリプトは、MacではCalendarアプリ、WindowsではOutlookを使います。デバイス上の予定を読んだり変えたりして、結果を構造化された形式で返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
どのパソコンに対応していますか?
macOSはCalendarアプリ、WindowsはOutlookを使うと説明されています。
別のサーバーが必要ですか?
いいえ。スキルはローカルのスクリプトを使い、別のサーバーは必要ありません。
予定を削除できますか?
はい。頼まれれば、カレンダーの予定を削除できます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 6.2k
- ランキング
- #14414
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
article-writer
6.2k5つのスタイルのいずれかで記事を書くのを支援します。材料集めと構成から、最終的に整形された原稿までを扱います。
content-planner
6.2k最近の話題の記事と関連する検索を確認して、記事のトピックのコンテンツカレンダーを計画するのを支援します。
daily-trending
6.2k複数の中国のプラットフォームから、今日の話題を集め、最も重要なものを選ぶのを支援します。
imap-smtp-email
6.2kメールの受信トレイを確認し、新しいメッセージを読み、メールを検索し、マークを付け、添付ファイル付きのメールを送るのを支援します。