Agent Skills
› QuixiAI/Hexis
› gmail-actions
gmail-actions
GitHub处理 Gmail 邮件发送、回复、标签管理、垃圾邮件分类及删除等通信操作,强调需用户明确授权与安全原则。
Trigger Scenarios
发送电子邮件
回复邮件线程
对邮件应用或移除标签
标记垃圾邮件或非垃圾邮件
删除特定邮件
Install
npx skills add QuixiAI/Hexis --skill gmail-actions -g -y
SKILL.md
Frontmatter
{
"name": "gmail-actions",
"aliases": [
"email",
"emails",
"mail",
"inbox",
"message",
"reply",
"send",
"unread",
"archive",
"spam"
],
"category": "communication",
"contexts": [
"chat",
"heartbeat"
],
"requires": {
"tools": [
"gmail_send",
"gmail_reply",
"gmail_label",
"gmail_spam_triage",
"gmail_delete",
"connector_action_policy_status"
]
},
"bound_tools": [
"gmail_send",
"gmail_reply",
"gmail_label",
"gmail_spam_triage",
"gmail_delete",
"connector_action_policy_status"
],
"description": "Send Gmail messages, reply to threads, apply labels, triage spam, and delete messages with explicit action authorization"
}
Gmail Actions
Use this only after Gmail is connected and the user asks for an outward Gmail action: send, reply, label, mark spam/not-spam, archive, or delete.
Principles
- A connected Gmail account is not permission to act. Check or establish connector action policy for ongoing/autonomous behavior.
- One-off chat actions still need a clear user request in the current conversation.
- Heartbeat actions require a matching DB-owned connector action policy; if none exists, do not improvise.
- Keep messages short, literal, and aligned with the user's stated intent. Do not escalate a narrow request into broader correspondence.
- Deletion is Trash-only by default and never autonomous. Call
gmail_deleteonly when the user names a specific message in the current conversation; setpermanentonly after the user explicitly asks for irreversible deletion of that message. Never delete during heartbeats.
Flow
- If the user asks for ongoing behavior, use
connector-action-authorizationfirst. - For a one-off send, call
gmail_sendwithto,subject, andbody. - For a reply, call
gmail_replywiththread_id, recipient, subject, and body. - For labels, call
gmail_labelwith explicitadd_label_idsand/orremove_label_ids. - For spam triage, call
gmail_spam_triagewithmark_spam,mark_not_spam, orarchive. - For deletion the user explicitly requested, call
gmail_deletewith themessage_id; leavepermanentunset (Trash) unless the user asked for irreversible deletion in so many words.
Version History
-
97f625f
Current 2026-08-29 01:31
修复审批网关漏洞,防止心跳和 API 聊天路径未经批准执行敏感工具;优化技能可达性,增加别名支持以改善自然语言匹配。
- 990da5f 2026-08-20 13:53


