[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CAC5NHTZK8WQ1RANBPRE1F":3,"skill-same:01M6CAC5NHTZK8WQ1RANBPRE1F":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M6CAC5NHTZK8WQ1RANBPRE1F","todoist-due-drafts",null,"Check Todoist for tasks due today (and overdue) that involve pinging, emailing, or following up with someone. Auto-draft the emails using meeting context and notify via WhatsApp. Use when running the daily due-drafts cron, or when user asks to process email tasks from Todoist.","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX","01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fhermes-imports\u002Ftodoist-due-drafts\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000005","邮件与沟通","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"drafts","todoist","todoist due drafts","running","whatsapp","when","for","meeting","with","via","emails","draft","notify","daily","up","auto","use","process","user","context","check","cron","email","tasks","2026-11-10 10:12:30",false,"---\nname: todoist-due-drafts\ndescription: Check Todoist for tasks due today (and overdue) that involve pinging, emailing, or following up with someone. Auto-draft the emails using meeting context and notify via WhatsApp. Use when running the daily due-drafts cron, or when user asks to process email tasks from Todoist.\n---\n# Todoist Due-Today Email Drafts\n\n## Config — read before starting\nRead `~\u002Fexecutive-assistant-skills\u002Fconfig\u002Fuser.json`.\nExtract and use throughout:\n- `primary_email`, `work_email` — Gmail accounts\n- `whatsapp` — for notification delivery\n- `workspace` — absolute path to Hermes workspace\n- `signature` — email signature\n\n## Debug Logging (MANDATORY)\nRead `~\u002Fexecutive-assistant-skills\u002Fskills-executive-assistant-config\u002Fconfig\u002FDEBUG_LOGGING.md` for the full convention. Use `python3 {user.workspace}\u002Fscripts\u002Fskill_log.py todoist-due-drafts \u003Clevel> \"\u003Cmessage>\" ['\u003Cdetails>']` at every key step. Log BEFORE and AFTER every external call (todoist-cli, gog, mcporter). On any error, log the full command and stderr before continuing.\n\n## Steps\n\n### 1. Get today's due tasks from Todoist\n```bash\nsource {user.workspace}\u002F.env\ntodoist-cli today --json\n```\n\nAlso check overdue tasks:\n```bash\ntodoist-cli list --filter \"overdue\" --json\n```\n\n### 2. Identify email\u002Fping tasks\nFilter for tasks whose content matches outreach intent:\n- Keywords: `ping`, `email`, `follow up`, `follow-up`, `send`, `reach out`, `text`, `message`, `intro`, `connect`, `check in`, `nudge`, `reply`, `respond`, `draft`\n- Pattern: any task that implies sending a communication to a specific person\n\nSkip tasks that are clearly NOT outreach (e.g. \"review doc\", \"read report\", \"build proposal\").\n\n### 3. For each outreach task, draft the email\nRead and follow `~\u002Fexecutive-assistant-skills\u002Fskills\u002Femail-drafting\u002FSKILL.md` for all drafting rules.\n\nFor each task:\n1. **Identify the recipient**: Extract person\u002Fcompany name from task content + description\n2. **Pull meeting context (if available)**: If the task description references a meeting name, date, or was created by the action-items cron (check for Granola citation links or meeting metadata in description), retrieve the transcript via Granola\u002FGrain. If no meeting reference exists in the task, skip directly to step 3 — draft from email history and task content alone.\n   ```bash\n   # Find the meeting in Granola\n   mcporter call granola list_meetings --args '{\"time_range\": \"custom\", \"custom_start\": \"\u003Cmeeting-date>\", \"custom_end\": \"\u003Cmeeting-date+1>\"}'\n   # Query for what was discussed with this person\n   mcporter call granola query_granola_meetings --args '{\"query\": \"What did {user.name} discuss with \u003Crecipient> and what did he promise or commit to do?\", \"document_ids\": [\"\u003Cmeeting_id>\"]}'\n   ```\n   Then cross-check with Grain for the full transcript:\n   ```bash\n   mcporter call grain.list_attended_meetings --args '{}'\n   # Note: Grain's schema does not support `start_date`\u002F`end_date` filters. Call with empty args and filter the results manually by `start_datetime` to match the meeting date range.\n   mcporter call grain.fetch_meeting_transcript --args '{\"meeting_id\": \"\u003Cgrain_meeting_id>\"}'\n   ```\n   When meeting context is available, the email draft must reflect what was actually said — not just the task title. Look for: specific commitments, timelines discussed, names\u002Fprojects mentioned, tone of the conversation, and any docs\u002Flinks promised.\n3. **Search email history**: Find the latest thread with this person across both Gmail accounts to get context, their email address, and the right account to reply from. If no prior thread exists with this recipient, default to `{user.work_email}` for professional\u002Fbusiness contacts or `{user.primary_email}` for personal contacts. When ambiguous, use `{user.work_email}`.\n4. **Determine email type**: follow-up, ping\u002Fcheck-in, intro, send-doc, etc.\n5. **Draft the email**: Create a Gmail draft on the correct account (the one with the existing thread). If it's a reply, use `--thread-id` to keep it in the same thread.\n6. **Use all context together**: Combine the meeting transcript (what was actually discussed), task description, and email history to write a specific, contextual draft. Never write generic follow-ups — reference concrete topics from the conversation.\n\n#### Draft rules\n- Mirror the language of the existing thread (English or Spanish)\n- Keep it short — these are follow-ups and pings, not essays\n- Sign with `{user.signature}`\n- If the task says \"ping\" or \"check in\" — write a brief, friendly nudge\n- If the task says \"send [thing]\" — draft the email with the attachment reference (or attach if path is known)\n- If the task says \"intro\" — follow intro format from email-drafting skill\n- If recipient email can't be found — report it, don't skip silently\n\n### 4. Notify via WhatsApp\nSend a single WhatsApp message to {user.whatsapp} with:\n\n```\n? *Due-today drafts*\n\n\u003CN> email drafts created from today's Todoist tasks:\n\n1. **\u003Crecipient>** — \u003Cone-line intent> (draft in \u003Caccount>)\n2. ...\n\nReview and send when ready.\n```\n\nIf tasks exist but none are outreach-type, report:\n```\n? *Due-today tasks (no drafts needed)*\n\n\u003Clist of today's tasks — quick reference>\n```\n\nIf no tasks due today → NO_REPLY (skip notification entirely).\n\n### 5. Infrastructure\n```bash\npython3 {user.workspace}\u002Fscripts\u002Fcron_canary.py ping todoist-due-drafts\n```\n\n## Error handling\n- If `todoist-cli` fails: notify via WhatsApp \"⚠️ Todoist due-drafts failed: \u003Cerror>\", ping canary, exit.\n- If Granola\u002FGrain lookup fails for a task: continue without meeting context — draft from email history + task content only.\n- If Gmail draft creation fails for one task: continue with remaining tasks, report failures in the notification.\n- If no `.env` file or token expired: report \"⚠️ Todoist token unavailable — check agent-secrets lease\" and exit.\n\n## Rules\n- Don't complete the tasks — just draft and notify. User decides when to send.\n- Before drafting, check if user already replied: `gog --account \u003Caccount> --no-input gmail search \"to:\u003Crecipient> in:sent newer_than:14d\" --json`. If recent sent mail exists in the same thread, skip drafting and note \"already replied\" in the notification.\n- Check for existing drafts before creating: `gog --account \u003Caccount> --no-input gmail drafts --json`. If a draft already exists for the same thread (matching thread ID or recipient + subject), skip and note \"draft already exists.\"\n- Overdue outreach tasks get a ⚠️ prefix in the notification.\n","# Todoist Due-Today Email Drafts\n\n## Config — read before starting\nRead `~\u002Fexecutive-assistant-skills\u002Fconfig\u002Fuser.json`.\nExtract and use throughout:\n- `primary_email`, `work_email` — Gmail accounts\n- `whatsapp` — for notification delivery\n- `workspace` — absolute path to Hermes workspace\n- `signature` — email signature\n\n## Debug Logging (MANDATORY)\nRead `~\u002Fexecutive-assistant-skills\u002Fskills-executive-assistant-config\u002Fconfig\u002FDEBUG_LOGGING.md` for the full convention. Use `python3 {user.workspace}\u002Fscripts\u002Fskill_log.py todoist-due-drafts \u003Clevel> \"\u003Cmessage>\" ['\u003Cdetails>']` at every key step. Log BEFORE and AFTER every external call (todoist-cli, gog, mcporter). On any error, log the full command and stderr before continuing.\n\n## Steps\n\n### 1. Get today's due tasks from Todoist\n```bash\nsource {user.workspace}\u002F.env\ntodoist-cli today --json\n```\n\nAlso check overdue tasks:\n```bash\ntodoist-cli list --filter \"overdue\" --json\n```\n\n### 2. Identify email\u002Fping tasks\nFilter for tasks whose content matches outreach intent:\n- Keywords: `ping`, `email`, `follow up`, `follow-up`, `send`, `reach out`, `text`, `message`, `intro`, `connect`, `check in`, `nudge`, `reply`, `respond`, `draft`\n- Pattern: any task that implies sending a communication to a specific person\n\nSkip tasks that are clearly NOT outreach (e.g. \"review doc\", \"read report\", \"build proposal\").\n\n### 3. For each outreach task, draft the email\nRead and follow `~\u002Fexecutive-assistant-skills\u002Fskills\u002Femail-drafting\u002FSKILL.md` for all drafting rules.\n\nFor each task:\n1. **Identify the recipient**: Extract person\u002Fcompany name from task content + description\n2. **Pull meeting context (if available)**: If the task description references a meeting name, date, or was created by the action-items cron (check for Granola citation links or meeting metadata in description), retrieve the transcript via Granola\u002FGrain. If no meeting reference exists in the task, skip directly to step 3 — draft from email history and task content alone.\n   ```bash\n   # Find the meeting in Granola\n   mcporter call granola list_meetings --args '{\"time_range\": \"custom\", \"custom_start\": \"\u003Cmeeting-date>\", \"custom_end\": \"\u003Cmeeting-date+1>\"}'\n   # Query for what was discussed with this person\n   mcporter call granola query_granola_meetings --args '{\"query\": \"What did {user.name} discuss with \u003Crecipient> and what did he promise or commit to do?\", \"document_ids\": [\"\u003Cmeeting_id>\"]}'\n   ```\n   Then cross-check with Grain for the full transcript:\n   ```bash\n   mcporter call grain.list_attended_meetings --args '{}'\n   # Note: Grain's schema does not support `start_date`\u002F`end_date` filters. Call with empty args and filter the results manually by `start_datetime` to match the meeting date range.\n   mcporter call grain.fetch_meeting_transcript --args '{\"meeting_id\": \"\u003Cgrain_meeting_id>\"}'\n   ```\n   When meeting context is available, the email draft must reflect what was actually said — not just the task title. Look for: specific commitments, timelines discussed, names\u002Fprojects mentioned, tone of the conversation, and any docs\u002Flinks promised.\n3. **Search email history**: Find the latest thread with this person across both Gmail accounts to get context, their email address, and the right account to reply from. If no prior thread exists with this recipient, default to `{user.work_email}` for professional\u002Fbusiness contacts or `{user.primary_email}` for personal contacts. When ambiguous, use `{user.work_email}`.\n4. **Determine email type**: follow-up, ping\u002Fcheck-in, intro, send-doc, etc.\n5. **Draft the email**: Create a Gmail draft on the correct account (the one with the existing thread). If it's a reply, use `--thread-id` to keep it in the same thread.\n6. **Use all context together**: Combine the meeting transcript (what was actually discussed), task description, and email history to write a specific, contextual draft. Never write generic follow-ups — reference concrete topics from the conversation.\n\n#### Draft rules\n- Mirror the language of the existing thread (English or Spanish)\n- Keep it short — these are follow-ups and pings, not essays\n- Sign with `{user.signature}`\n- If the task says \"ping\" or \"check in\" — write a brief, friendly nudge\n- If the task says \"send [thing]\" — draft the email with the attachment reference (or attach if path is known)\n- If the task says \"intro\" — follow intro format from email-drafting skill\n- If recipient email can't be found — report it, don't skip silently\n\n### 4. Notify via WhatsApp\nSend a single WhatsApp message to {user.whatsapp} with:\n\n```\n? *Due-today drafts*\n\n\u003CN> email drafts created from today's Todoist tasks:\n\n1. **\u003Crecipient>** — \u003Cone-line intent> (draft in \u003Caccount>)\n2. ...\n\nReview and send when ready.\n```\n\nIf tasks exist but none are outreach-type, report:\n```\n? *Due-today tasks (no drafts needed)*\n\n\u003Clist of today's tasks — quick reference>\n```\n\nIf no tasks due today → NO_REPLY (skip notification entirely).\n\n### 5. Infrastructure\n```bash\npython3 {user.workspace}\u002Fscripts\u002Fcron_canary.py ping todoist-due-drafts\n```\n\n## Error handling\n- If `todoist-cli` fails: notify via WhatsApp \"⚠️ Todoist due-drafts failed: \u003Cerror>\", ping canary, exit.\n- If Granola\u002FGrain lookup fails for a task: continue without meeting context — draft from email history + task content only.\n- If Gmail draft creation fails for one task: continue with remaining tasks, report failures in the notification.\n- If no `.env` file or token expired: report \"⚠️ Todoist token unavailable — check agent-secrets lease\" and exit.\n\n## Rules\n- Don't complete the tasks — just draft and notify. User decides when to send.\n- Before drafting, check if user already replied: `gog --account \u003Caccount> --no-input gmail search \"to:\u003Crecipient> in:sent newer_than:14d\" --json`. If recent sent mail exists in the same thread, skip drafting and note \"already replied\" in the notification.\n- Check for existing drafts before creating: `gog --account \u003Caccount> --no-input gmail drafts --json`. If a draft already exists for the same thread (matching thread ID or recipient + subject), skip and note \"draft already exists.\"\n- Overdue outreach tasks get a ⚠️ prefix in the notification.\n",{"name":5,"description":7},"main","05df7380981a2c4af868ce0fa57962ae0eea62a9","hermes\u002Fskills\u002Fhermes-imports\u002Ftodoist-due-drafts",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 14:55:35",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill todoist-due-drafts",{"tool":65,"command":66},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill todoist-due-drafts",{"tool":68,"command":69},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill todoist-due-drafts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fhermes-imports\u002Ftodoist-due-drafts\u002FSKILL.md",true,[],[74,82,89,97,105,114],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"01M7DRVZXXMGY4G81K5GVF4V20","disk-reclaim-playbook","Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reclaim-playbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":81},"01M7B63PNTT2TY78RFKHD8SP3X","claudea-bench","Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fclaudea-bench\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":96},"01M7622KQJ32AV4K5BXEMVSSEB","pr","Alias for the canonical pr-lifecycle PR workflow skill (\u002Fpr-workflow, \u002Fprw).","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":104},"01M7432W92AKC4D1TKJ00VCMMT","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwhisper\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":109,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":104},"01M7432T6BN1A9SHB8RBQR5EMP","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":104},"01M7432NDC7S6C6MX7M6RW8CTT","pr-report","This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, \u002Fpr-report, or wants per-PR summary with delta files\u002Flines. Generates a structured report for one or more open PRs covering purpose, files changed, +\u002F− line counts, \u002Fcode-standards + \u002Fthermo review findings, \u002Fponytail simplification opportunities, file-overlap combination candidates, and \u002Fgreen status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fpr-report\u002FSKILL.md",[],[]]