一键导入
find-email-by-subject
Look up email IDs by subject — helper for the next email_draft / read step.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Look up email IDs by subject — helper for the next email_draft / read step.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a new contact (person or business) with ALL its channels and address in one call.
Fetch the full body and metadata of a single email by message_id.
Record a new bill / recurring expense
Create a new calendar event in Yorik's local calendar
Attach a postal address (home, work, billing, shipping) to an existing contact.
Attach a channel (email, phone, whatsapp, signal, sms, website, social) to a contact.
| name | find_email_by_subject |
| description | Look up email IDs by subject — helper for the next email_draft / read step. |
| when_to_use | When the user names a SPECIFIC email by subject or sender phrase ("reply to the mail.de support thread", "what did the bank say", "open the smoke test email") and you need the `message_id` for email_draft / read_email / similar follow-ups. Yorik has no email-scoped search skill that returns rows to the LLM — `email_briefing` summarises and `universal_search` is semantic-everything (often misses keyword subject matches). This is the targeted resolver. Default `include_sent=true` so "the smoke test email I sent" finds outbound too. After this returns: - 0 hits → tell the user, ask them to clarify the subject. - 1 hit → use message_id directly in the follow-up call. - 2+ hits → ask the user which one (quote subject + from + date). |
| inputs | {"query":{"type":"string","required":true,"description":"Substring or word fragment from the subject (or from-address). Case-insensitive. Multi-word queries match if every token appears."},"include_sent":{"type":"boolean","required":false,"default":true,"description":"Include emails the user sent themselves. Default true."},"days_back":{"type":"integer","required":false,"default":90,"description":"How far back to search."},"limit":{"type":"integer","required":false,"default":10}} |
| outputs | {"matches":{"type":"array","description":"Each row has id, from_email, subject, date_received, is_sent. Quote only for disambiguation."},"count":{"type":"integer"}} |
| side_effects | None. |
| cost | One indexed SQLite LIKE query. |
| permissions | ["*"] |
| tags | ["email","resolver","internal"] |
Subject/sender resolver for the email_messages table. LLM-internal — no cards. Use BEFORE email_draft when the user names an email by subject phrase rather than passing a message_id.