⚙️ 自動化
📖 公式
通知アラートシステム
システムイベント、ファイル変更、定期リマインダーの自動通知を設定します
★☆☆ 初級 15 min 2025年1月13日
📋
シナリオ
常に監視することなく重要なイベントを把握することは不可欠です。Cowork は、特定の条件が満たされたときにアラートを送信する通知システムの設定を支援できます。
💬
プロンプト
I want to set up automated notifications on my Mac. Please create: 1. File monitoring: - Alert when any file is added to ~/Downloads - Alert when ~/Documents/Important changes 2. System alerts: - Notify if disk usage exceeds 80% - Alert when a specific process stops 3. Scheduled reminders: - Daily standup reminder at 9:45 AM - Weekly backup reminder on Sundays Create the scripts and launchd configurations. Save to ~/Scripts/notifications/
✨
期待される結果
Claude は以下を作成します: - ファイル監視スクリプト(fswatch を使用) - システムチェックスクリプト(ディスク容量など) - スケジュールリマインダースクリプト(ネイティブダイアログを使用) - launchd 設定ファイル(スケジュールタスク用)
💡
ヒント
- • スクリプトファイルに実行権限があることを確認する(chmod +x)
- • リモートアラート用に Slack/Discord との統合を検討する
- • 重複通知を避けるため重複排除ロジックを追加する