Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

googleGoogle 搜索

Agent Skill

google 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

247

周安装

10

GitHub Stars

5

下载量

78
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:google(Google 搜索)
来源仓库:https://github.com/ckorhonen/claude-skills
仓库路径:skills/google
安装命令:
npx skills add https://github.com/ckorhonen/claude-skills --skill google
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ckorhonen/claude-skills --skill google

简介

用于管理 Google Workspace 服务,支持日历、文档、邮件等高效操作。

  • 集成 gog CLI 实现搜索、过滤和查询功能,适用于助理类工作流。
  • 通过命令行安装,建议核验权限范围与维护状态,注意可能触发的外部服务调用。
  • 适用于日程管理、文档整理等日常办公场景,需确保 API 密钥安全。
  • google 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Google Personal Assistant

A comprehensive skill for managing Google Workspace services via the gog CLI. Designed for Personal Assistant and Chief of Staff workflows with emphasis on efficient searching, filtering, and querying.

When to Use This Skill

  • Triaging and processing email inbox
  • Scheduling meetings and managing calendar events
  • Finding availability across multiple calendars
  • Searching and organizing Google Drive documents
  • Managing task lists and to-dos
  • Looking up and managing contacts
  • Reading/writing data in Google Sheets
  • Exporting Docs, Slides, or Sheets
  • Setting focus time or out-of-office status

Prerequisites

Ensure gog is installed and authenticated:

# Check installation
gog version

# Check authentication status
gog auth status

# Verify account access
gog people me

# Add a new account if needed
gog auth add your@email.com --services=all

Quick Start

Gmail

# Search unread emails
gog gmail search "is:unread" --max=20

# Search from specific sender
gog gmail search "from:boss@company.com newer_than:7d"

# Send an email
gog gmail send --to="recipient@example.com" --subject="Subject" --body="Message body"

# Reply to a thread
gog gmail send --reply-to-message-id=MESSAGE_ID --body="Reply text"

# Get message details
gog gmail get MESSAGE_ID

Calendar

# View today's events
gog calendar events --today

# View this week
gog calendar events --week

# Create an event with Google Meet
gog calendar create primary \
  --summary="Team Sync" \
  --from="2026-01-15T14:00:00-08:00" \
  --to="2026-01-15T15:00:00-08:00" \
  --attendees="person1@example.com,person2@example.com" \
  --with-meet

# Check availability
gog calendar freebusy "person1@example.com,person2@example.com" \
  --from="2026-01-15T09:00:00Z" --to="2026-01-15T17:00:00Z"

# Find scheduling conflicts
gog calendar conflicts --week

Drive

# List files in root
gog drive ls

# Search for documents
gog drive search "quarterly report"

# Download a file
gog drive download FILE_ID

# Upload a file
gog drive upload /path/to/file.pdf --parent=FOLDER_ID

# Get shareable URL
gog drive url FILE_ID

Tasks

# List task lists
gog tasks lists list

# View tasks in default list
gog tasks list @default

# Add a task
gog tasks add @default --title="Review report" --due="2026-01-15"

# Mark task complete
gog tasks done @default TASK_ID

Sheets

# Read a range
gog sheets get SPREADSHEET_ID "Sheet1!A1:D10"

# Update values
gog sheets update SPREADSHEET_ID "Sheet1!A1" "Value1" "Value2"

# Append a row
gog sheets append SPREADSHEET_ID "Sheet1!A:D" "Col1" "Col2" "Col3" "Col4"

Gmail Search Syntax

Gmail search is powerful. Here are the essential operators:

Sender & Recipient

OperatorExampleDescription
from:from:boss@company.comEmails from sender
to:to:team@company.comEmails sent to recipient
cc:cc:manager@company.comCC'd recipient
bcc:bcc:archive@company.comBCC'd recipient

Status & Labels

OperatorExampleDescription
is:unreadis:unreadUnread messages
is:readis:readRead messages
is:starredis:starredStarred messages
is:importantis:importantMarked important
is:snoozedis:snoozedSnoozed messages
label:label:workHas specific label
in:inboxin:inboxIn inbox
in:sentin:sentIn sent folder
in:draftsin:draftsIn drafts
in:trashin:trashIn trash
in:spamin:spamIn spam
in:anywherein:anywhereAll mail including spam/trash

Content & Subject

OperatorExampleDescription
subject:subject:urgentSubject contains word
"exact phrase""quarterly report"Exact phrase match
has:attachmenthas:attachmentHas any attachment
filename:filename:pdfAttachment filename/type
filename:filename:report.xlsxSpecific filename

Date & Time

OperatorExampleDescription
newer_than:newer_than:7dWithin last N days
older_than:older_than:1yOlder than N years
after:after:2026/01/01After specific date
before:before:2026/12/31Before specific date

Units for newer_than/older_than: d (day), m (month), y (year)

Size

OperatorExampleDescription
larger:larger:5MLarger than size
smaller:smaller:100KSmaller than size

Units: K (KB), M (MB)

Categories

OperatorExampleDescription
category:primarycategory:primaryPrimary inbox
category:socialcategory:socialSocial category
category:promotionscategory:promotionsPromotions
category:updatescategory:updatesUpdates
category:forumscategory:forumsForums

Boolean Operators

OperatorExampleDescription
AND (or space)from:alice subject:reportBoth conditions
ORfrom:alice OR from:bobEither condition
- (NOT)-category:promotionsExclude condition
()(from:alice OR from:bob) is:unreadGrouping
{}{from:alice from:bob}OR shorthand

Example Queries

# Unread from VIPs this week
gog gmail search "is:unread from:(boss@company.com OR ceo@company.com) newer_than:7d"

# Large attachments
gog gmail search "has:attachment larger:10M"

# Urgent subjects excluding promotions
gog gmail search "subject:(urgent OR asap OR EOD) -category:promotions is:unread"

# Contracts from legal team
gog gmail search "from:legal@company.com subject:contract has:attachment filename:pdf"

# All messages in a thread (use thread ID from search results)
gog gmail thread get THREAD_ID

See references/gmail-search-syntax.md for complete operator reference.

Drive Search Syntax

Drive search uses a query language for precise file finding:

Basic Operators

OperatorExampleDescription
name containsname contains 'report'Filename contains
fullText containsfullText contains 'budget'Content search
mimeType =mimeType = 'application/pdf'File type

Date Filters

OperatorExampleDescription
modifiedTime >modifiedTime > '2026-01-01'Modified after
modifiedTime <modifiedTime < '2026-01-01'Modified before
createdTime >createdTime > '2026-01-01'Created after
viewedByMeTime >viewedByMeTime > '2026-01-01'Viewed after

Ownership & Sharing

OperatorExampleDescription
'email' in owners'me' in ownersOwned by user
'email' in writers'user@example.com' in writersUser can edit
'email' in readers'user@example.com' in readersUser can view
sharedWithMesharedWithMeShared with you

Properties

OperatorExampleDescription
starredstarredStarred files
trashed = falsetrashed = falseNot in trash
'folderId' in parents'FOLDER_ID' in parentsIn specific folder

Common MIME Types

TypeMIME Type
Google Docapplication/vnd.google-apps.document
Google Sheetapplication/vnd.google-apps.spreadsheet
Google Slidesapplication/vnd.google-apps.presentation
Google Formapplication/vnd.google-apps.form
Folderapplication/vnd.google-apps.folder
PDFapplication/pdf
Wordapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
Excelapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Boolean Operators

  • and - Both conditions must match
  • or - Either condition matches
  • not - Negate condition

Example Queries

# Recent docs mentioning Q4
gog drive search "fullText contains 'Q4' and modifiedTime > '2026-01-01'"

# All spreadsheets shared with me
gog drive search "sharedWithMe and mimeType = 'application/vnd.google-apps.spreadsheet'"

# PDFs I own
gog drive search "'me' in owners and mimeType = 'application/pdf'"

# Files modified this week
gog drive search "modifiedTime > '2026-01-03'"

# Documents in specific folder
gog drive ls --parent=FOLDER_ID

# Starred presentations
gog drive search "starred and mimeType = 'application/vnd.google-apps.presentation'"

See references/drive-search-syntax.md for complete query reference.

PA/CoS Workflows

Morning Inbox Triage

# 1. Check unread counts by label
gog gmail labels list --json | jq '.[] | select(.messagesUnread > 0) | {name, unread: .messagesUnread}'

# 2. Review unread from priority senders
gog gmail search "is:unread from:(boss@company.com OR vip@client.com)" --max=20

# 3. Check for urgent subjects
gog gmail search "is:unread subject:(urgent OR asap OR EOD OR \"action required\")" --max=10

# 4. Review threads needing response (excludes noise)
gog gmail search "is:unread in:inbox -category:updates -category:promotions -category:social" --max=30

# 5. Check for emails with attachments requiring action
gog gmail search "is:unread has:attachment newer_than:2d" --max=15

Schedule a Meeting

# 1. Find availability for attendees
gog calendar freebusy "person1@company.com,person2@company.com" \
  --from="2026-01-15T09:00:00-08:00" \
  --to="2026-01-15T17:00:00-08:00"

# 2. Check your own conflicts
gog calendar conflicts --days=7

# 3. Create the meeting
gog calendar create primary \
  --summary="Project Kickoff" \
  --from="2026-01-15T14:00:00-08:00" \
  --to="2026-01-15T15:00:00-08:00" \
  --attendees="person1@company.com,person2@company.com" \
  --description="Agenda:\n1. Project overview\n2. Timeline review\n3. Action items" \
  --location="Conference Room A" \
  --with-meet \
  --reminder="popup:15m"

# 4. Send follow-up email with details
gog gmail send \
  --to="person1@company.com,person2@company.com" \
  --subject="Meeting Scheduled: Project Kickoff - Jan 15 at 2pm" \
  --body="Hi team,

I've scheduled our project kickoff meeting for Wednesday, January 15th at 2:00 PM.

Location: Conference Room A (Google Meet link in calendar invite)

Agenda:
1. Project overview
2. Timeline review
3. Action items

Please let me know if you have any conflicts.

Best regards"

Weekly Calendar Prep

# 1. View the week ahead
gog calendar events --week

# 2. Check all calendars for the week
gog calendar events --week --all

# 3. Find and resolve conflicts
gog calendar conflicts --week

# 4. Check team availability (for group)
gog calendar team engineering@company.com --week

# 5. Block focus time
gog calendar focus-time \
  --from="2026-01-16T09:00:00-08:00" \
  --to="2026-01-16T12:00:00-08:00"

# 6. Set out of office (if needed)
gog calendar out-of-office \
  --from="2026-01-20" \
  --to="2026-01-21" \
  --summary="Out of office - personal day"

# 7. Set working location
gog calendar working-location \
  --from="2026-01-17" \
  --to="2026-01-17" \
  --type="home"

Document Search & Organization

# Find all docs from a project
gog drive search "fullText contains 'Project Alpha'"

# List recent docs you created
gog drive search "'me' in owners and modifiedTime > '2026-01-01'" --max=50

# Find docs shared by specific person
gog drive search "'colleague@company.com' in writers"

# Find presentation decks
gog drive search "mimeType = 'application/vnd.google-apps.presentation' and modifiedTime > '2025-10-01'"

# Download a doc as PDF
gog docs export DOC_ID --format=pdf --output="./report.pdf"

# Read doc contents (plain text for quick review)
gog docs cat DOC_ID

# Export spreadsheet as Excel
gog sheets export SPREADSHEET_ID --format=xlsx --output="./data.xlsx"

# Get shareable link
gog drive url FILE_ID
gog drive share FILE_ID --role=reader --type=anyone

Daily Task Management

# 1. List all task lists
gog tasks lists list

# 2. View all tasks in default list
gog tasks list @default

# 3. View tasks due today
gog tasks list @default --due-max="$(date -u +%Y-%m-%dT23:59:59Z)"

# 4. Add a new task with due date
gog tasks add @default \
  --title="Review Q4 financials" \
  --due="2026-01-15" \
  --notes="Check revenue projections and expense reports"

# 5. Complete a task
gog tasks done @default TASK_ID

# 6. Reopen a completed task
gog tasks undo @default TASK_ID

# 7. Delete a task
gog tasks delete @default TASK_ID

# 8. Clear all completed tasks
gog tasks clear @default

Contact Lookup

# Search for a contact
gog contacts search "John Smith"

# List all contacts
gog contacts list --max=100

# Get contact details
gog contacts get RESOURCE_NAME

# Create a new contact
gog contacts create \
  --given="Jane" \
  --family="Doe" \
  --email="jane.doe@example.com" \
  --phone="+1-555-123-4567"

# Search directory (Workspace)
gog contacts directory search "engineering"

See references/common-workflows.md for more workflow recipes.

Command Reference

Gmail Commands

CommandDescriptionKey Flags
gmail search <query>Search threads--max, --oldest, --page
gmail get <messageId>Get message content`--format=full\metadata\raw`
gmail sendSend email--to, --cc, --bcc, --subject, --body, --attach
gmail thread get <id>Get full thread-
gmail thread modify <id>Modify thread labels--add-labels, --remove-labels
gmail labels listList all labels-
gmail labels get <name>Get label details-
gmail labels modify <ids>Bulk modify labels--add, --remove
gmail attachment <msgId> <attId>Download attachment-
gmail url <threadId>Get Gmail web URL-
gmail batch delete <ids>Bulk delete-
gmail drafts listList drafts-
gmail drafts createCreate draftSame flags as send

Calendar Commands

CommandDescriptionKey Flags
calendar calendarsList calendars-
calendar events [calId]List events--from, --to, --today, --week, --all
calendar event <calId> <eventId>Get event details-
calendar create <calId>Create event--summary, --from, --to, --attendees, --with-meet
calendar update <calId> <eventId>Update eventSame as create
calendar delete <calId> <eventId>Delete event-
calendar freebusy <calendars>Check availability--from, --to
calendar conflictsFind conflicts--week, --days
calendar search <query>Search events-
calendar respond <calId> <eventId>RSVP`--status=accepted\declined\tentative`
calendar focus-timeCreate focus block--from, --to
calendar out-of-officeSet OOO--from, --to
calendar working-locationSet work location--from, --to, --type
calendar team <groupEmail>View team calendars-

Drive Commands

CommandDescriptionKey Flags
drive lsList files--parent
drive search <query>Full-text search--max
drive get <fileId>Get file metadata-
drive download <fileId>Download file--output
drive upload <path>Upload file--name, --parent
drive mkdir <name>Create folder--parent
drive delete <fileId>Delete (trash)-
drive move <fileId>Move file--parent
drive rename <fileId> <name>Rename file-
drive share <fileId>Share file--role, --type, --email
drive unshare <fileId> <permId>Remove permission-
drive permissions <fileId>List permissions-
drive url <fileId>Get web URL-
drive copy <fileId> <name>Copy file-

Sheets Commands

CommandDescriptionKey Flags
sheets get <id> <range>Read values-
sheets update <id> <range> [vals]Update values`--input=RAW\USER_ENTERED`
sheets append <id> <range> [vals]Append row--input
sheets clear <id> <range>Clear values-
sheets metadata <id>Get spreadsheet info-
sheets create <title>Create spreadsheet-
sheets copy <id> <title>Copy spreadsheet-
sheets export <id>Export`--format=pdf\xlsx\csv`

Docs Commands

CommandDescriptionKey Flags
docs cat <docId>Print as plain text-
docs export <docId>Export document`--format=pdf\docx\txt`
docs info <docId>Get metadata-
docs create <title>Create document-
docs copy <docId> <title>Copy document-

Slides Commands

CommandDescriptionKey Flags
slides export <id>Export presentation`--format=pdf\pptx`
slides info <id>Get metadata-
slides create <title>Create presentation-
slides copy <id> <title>Copy presentation-

Tasks Commands

CommandDescriptionKey Flags
tasks lists listList task lists-
tasks list <listId>List tasks--due-min, --due-max, --show-completed
tasks add <listId>Add task--title, --due, --notes
tasks update <listId> <taskId>Update taskSame as add
tasks done <listId> <taskId>Mark complete-
tasks undo <listId> <taskId>Mark incomplete-
tasks delete <listId> <taskId>Delete task-
tasks clear <listId>Clear completed-

Contacts Commands

CommandDescriptionKey Flags
contacts search <query>Search contacts-
contacts listList all contacts--max
contacts get <resourceName>Get contact-
contacts createCreate contact--given, --family, --email, --phone
contacts update <resourceName>Update contactSame as create
contacts delete <resourceName>Delete contact-
contacts directory searchSearch directory-

Groups Commands

CommandDescriptionKey Flags
groups listList your groups-
groups members <groupEmail>List group members-

People Commands

CommandDescriptionKey Flags
people meShow your profile-

Global Flags

All gog commands support these flags:

FlagDescription
--jsonOutput JSON (best for scripting/piping to jq)
--plainTSV output, no colors (for scripts/parsing)
--account=EMAILUse specific account (multi-account support)
--forceSkip confirmation prompts
--no-inputNever prompt, fail instead (CI/automation)
--verboseDetailed logging for debugging
`--color=<auto\always\never>`Control color output

Multi-Account Usage

# Use specific account for a command
gog gmail search "is:unread" --account=work@company.com

# List available accounts
gog auth list

JSON Output for Scripting

# Get unread count for inbox
gog gmail labels get INBOX --json | jq '.messagesUnread'

# Extract event IDs from today
gog calendar events --today --json | jq '.[].id'

# List file IDs from search
gog drive search "budget" --json | jq '.[].id'

# Process email subjects
gog gmail search "is:unread" --json | jq '.[].snippet'

Best Practices

Efficient Searching

  1. Start narrow, then broaden - Begin with specific queries, add filters if too many results
  2. Use date filters - newer_than: reduces noise dramatically
  3. Combine operators - is:unread from:boss newer_than:7d is better than browsing
  4. Use --max - Limit results when exploring: --max=10

Calendar Management

  1. Always check freebusy before scheduling meetings with others
  2. Use --with-meet for remote meetings to auto-create video link
  3. Set reminders - --reminder="popup:15m" for important meetings
  4. Block focus time proactively to protect deep work

Drive Organization

  1. Use folder IDs - Store frequently-used folder IDs for quick access
  2. Search by content - fullText contains finds docs even if filename is unclear
  3. Filter by MIME type - Narrow to specific doc types
  4. Export early - Download important docs as PDF for offline access

Automation Tips

  1. Use --json for scripting - Parse with jq
  2. Use --plain for simple scripts - Tab-separated, no colors
  3. Use --no-input in CI - Prevents hangs on prompts
  4. Store IDs - Calendar, folder, and task list IDs for reuse

Reference Files

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.92%
按下载量换算28

Claude

31.25%
按下载量换算24

Cursor

17.61%
按下载量换算14

Gemini CLI

8.89%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills