360 Secure SkillHub
360 安全技能中心

Gmail Search Emails

该 Skill 是一个原子化 Gmail 搜索节点:根据查询调用 gog 的 gmail search 命令,以 --json 输出匹配邮件的 id、threadId 和 snippet;搜索失败时报告错误。不包含正文读取、发送、回复或附件下载。

分类:搜索
zvirb
zvirb
热度 29.87
最近更新 2026-05-11 17:45:58

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add zvirb/gmail-search-emails
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
Gmail Search Emails
description
Atomic node skill to search for emails in Gmail using the gog CLI.
os
all
requires
{"bins":["gog"]}

Lean Philosophy (Principles)

  • Kaizen (改善): This skill is an atomic node, broken down into its simplest, smallest component to eliminate waste and ensure perfection.
  • Standardized Work (Hyojun Sagyo): This node represents the most efficient, standardized path for this specific task before automation.
  • Jidoka (自働化): This node includes autonomous defect detection. It relies on the CLI's self-healing loop and will report errors if the search fails.

Gmail Search Emails

This skill allows the agent to search for emails in Gmail using specific queries with the native CLI.

Cognitive Directives

WHEN [Requested to search for an email or find specific communications] THEN [Invoke the gog tool with the argument gmail search "query" --json]

Schema Example

{
  "args": "gmail search \"from:example@gmail.com subject:invoice\" --json"
}

Expected Output

A JSON array containing email headers (id, threadId, snippet) or a "no results found" message.