scrask-bot
由 devsandip 提供
Coding Agents & IDEs简介
When the user sends a screenshot via Telegram, parse it using Gemini (fast, default) with automatic Claude fallback.
描述
该技能的功能
Activates when you send a screenshot to Telegram. Uses Gemini (with optional Claude fallback) to extract events, reminders, and tasks from the image, then saves them to Google Calendar or Google Tasks based on content type. High-confidence items save silently; low-confidence items prompt for confirmation.
Combining dual-model vision parsing with confidence-gated confirmation removes the manual copy-paste step between screenshots and calendar or task apps.
何时使用
- Saving a party invite screenshot directly to calendar
- Adding a deadline from a WhatsApp message screenshot to tasks
- Capturing a meeting screenshot with Zoom link to calendar
- Storing a bill due date screenshot as a Google Task reminder
- Processing a multi-item screenshot of a weekly schedule
示例工作流
User sends a screenshot of a Telegram event invite to the bot
- 1
Acknowledges immediately with '📸 Got it — analyzing your screenshot...'
- 2
Runs scrask_bot.py with Gemini in auto mode against the image
- 3
Gemini returns confidence 0.82 for an event with date, time, and Zoom link
- 4
Script saves the event silently to Google Calendar with a 30-minute reminder
- 5
Returns pre-formatted telegram_reply confirming the save
📅 Added to Calendar: Team Design Review — 2026-03-15 at 14:00 (Zoom link included)
前置要求
- GEMINI_API_KEY environment variable
- ANTHROPIC_API_KEY environment variable (optional, enables Claude fallback)
- GOOGLE_CREDENTIALS environment variable (path to Google OAuth credentials JSON)
- Google Cloud project with Calendar and Tasks APIs enabled
- Telegram bot token configured in OpenClaw
安装
clawhub install devsandip/scrask-bot运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。