Agent SkillsQuixiAI/Hexis › email-digest

email-digest

GitHub

自动摘要并提取邮件中的关键线程与行动项,存入记忆。支持心跳检查、用户查询及每日简报场景,需验证授权与连接状态,尊重隐私与存储策略。

skills/installed/email-digest/SKILL.md QuixiAI/Hexis

Trigger Scenarios

用户询问收件箱内容或重要邮件 目标依赖可能通过邮件到达的信息 准备包含邮件亮点的每日简报 自主心跳中检查新邮件(需授权)

Install

npx skills add QuixiAI/Hexis --skill email-digest -g -y
More Options

Non-standard path

npx skills add https://github.com/QuixiAI/Hexis/tree/main/skills/installed/email-digest -g -y

Use without installing

npx skills use QuixiAI/Hexis@email-digest

指定 Agent (Claude Code)

npx skills add QuixiAI/Hexis --skill email-digest -a claude-code -g -y

安装 repo 全部 skill

npx skills add QuixiAI/Hexis --all -g -y

预览 repo 内 skill

npx skills add QuixiAI/Hexis --list

SKILL.md

Frontmatter
{
    "name": "email-digest",
    "aliases": [
        "email",
        "emails",
        "mail",
        "inbox",
        "unread",
        "important",
        "triage"
    ],
    "category": "communication",
    "contexts": [
        "heartbeat",
        "chat"
    ],
    "requires": {
        "tools": [
            "email_list",
            "email_read",
            "remember",
            "recall",
            "gmail_setup_status",
            "queue_user_message"
        ]
    },
    "bound_tools": [
        "email_list",
        "email_read",
        "email_search",
        "ingest_emails",
        "gmail_setup_status",
        "recall",
        "remember",
        "queue_user_message",
        "email_send",
        "email_send_sendgrid"
    ],
    "description": "Digest and ingest emails into memory, surfacing important threads and action items"
}

Email Digest Workflow

Process incoming emails into structured memories, extract action items, and surface threads that need attention.

When to Use

  • During autonomous heartbeats to check for new mail since the last digest, but only when Gmail is connected and integrations.gmail.heartbeat_digest_enabled is true or the active heartbeat task/goal carries explicit user authorization for this check
  • When the user asks "what's in my inbox" or "any important emails"
  • When a goal depends on information that may have arrived via email
  • When preparing a daily briefing that includes email highlights

Step-by-Step Methodology

  1. Check authorization: In heartbeat, only proceed if the runtime exposed this skill because the user granted autonomous Gmail digest access. If setup/status indicates the grant is missing, stop and queue a short request for the user to enable background email checks.
  2. Check recency: Use recall to find when the last email digest ran. Avoid re-processing messages already ingested.
  3. Check setup: Call gmail_setup_status. If Gmail is not connected, record the missing setup clearly and stop; do not loop.
  4. List new emails: Call email_list with a date filter to fetch unread or recent messages. Start with the inbox; expand to other labels only if the user has configured them.
  5. Triage by sender and subject: Scan the list for high-signal indicators -- known contacts, reply chains the user is on, calendar invites, and keywords matching active goals.
  6. Read priority threads: Use email_read on the top 5-10 most relevant messages. Do not read every email; batch processing wastes energy and context.
  7. Extract action items: For each important email, identify: (a) what is being asked, (b) who is asking, (c) any deadline mentioned, (d) whether a reply is expected.
  8. Store findings: Respect integrations.gmail.memory_policy. If it is forget, do not use remember or ingest_emails for email-derived content. If it is ask, queue a user-facing choice before storing. If it is remember, persist action items as episodic memories with high importance, tagged with the sender, thread ID, and any relevant goal.
  9. Surface urgency: If an email requires a time-sensitive response, flag it in the heartbeat result so it can be raised to the user at next opportunity.

Quality Guidelines

  • Never store raw email bodies as memories. Summarize and extract the salient points.
  • Respect privacy: do not log email content to external services. All storage stays in the local Postgres brain.
  • Google OAuth authorization is not the same as Hexis autonomy authorization. A connected Gmail account does not imply permission for background heartbeat reading.
  • When multiple emails belong to the same thread, consolidate into a single memory rather than creating duplicates.
  • If credentials are missing or expired, fail gracefully. If gmail_setup_status says Google sign-in is ready, queue a short user-facing request that they connect Gmail from chat or CLI; do not start or complete sign-in during heartbeat.
  • Prefer recalling existing contact memories to enrich email context (who is this person, what is the relationship).

Version History

  • 97f625f Current 2026-08-29 01:31

    修复审批门禁漏洞,防止未授权工具在心跳中执行;优化技能发现机制,使 email-digest 等技能可通过别名从聊天界面触发,而非仅限心跳。

  • 990da5f 2026-08-20 13:53

Same Skill Collection

plugins/installed/fathom/skills/fathom/SKILL.md
skills/installed/calendar/SKILL.md
skills/installed/code-execution/SKILL.md
skills/installed/connector-action-authorization/SKILL.md
skills/installed/core-memory/SKILL.md
skills/installed/cost-report/SKILL.md
skills/installed/council/SKILL.md
skills/installed/crm-lookup/SKILL.md
skills/installed/daily-briefing/SKILL.md
skills/installed/delegation/SKILL.md
skills/installed/expense-capture/SKILL.md
skills/installed/github-issues/SKILL.md
skills/installed/gmail-actions/SKILL.md
skills/installed/gmail-connector-setup/SKILL.md
skills/installed/humanizer/SKILL.md
skills/installed/image-gen/SKILL.md
skills/installed/inbox-triage/SKILL.md
skills/installed/integration-connector-setup/SKILL.md
skills/installed/knowledge-ingest/SKILL.md
skills/installed/meeting-follow-up/SKILL.md
skills/installed/meeting-prep/SKILL.md
skills/installed/memory-exchange/SKILL.md
skills/installed/operations/SKILL.md
skills/installed/outreach/SKILL.md
skills/installed/personal-notes/SKILL.md
skills/installed/self-inspection/SKILL.md
skills/installed/self-reflection/SKILL.md
skills/installed/skill-authoring/SKILL.md
skills/installed/travel-prep/SKILL.md
skills/installed/twitter-x-actions/SKILL.md
skills/installed/twitter-x-connector-setup/SKILL.md
skills/installed/weekly-review/SKILL.md
plugins/installed/asana/skills/asana/SKILL.md
plugins/installed/hubspot/skills/hubspot/SKILL.md
plugins/installed/todoist/skills/todoist/SKILL.md
plugins/installed/youtube/skills/youtube/SKILL.md
skills/installed/research/SKILL.md
plugins/installed/twitter/skills/twitter/SKILL.md
plugins/installed/video_gen/skills/video_gen/SKILL.md

Metadata

Files
0
Version
97f625f
Hash
b134f1bc
Indexed
2026-08-20 13:53

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 01:04
浙ICP备14020137号-1 $Гость$