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

google-workspaceGoogle Workspace 办公协作

Agent Skill

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

总安装

1,958

周安装

80

GitHub Stars

11

下载量

627
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/akillness/oh-my-skills --skill google-workspace

简介

用于路由 Google Workspace 相关任务,避免直接编写 API 片段。

  • 适合创建 Docs/Sheets 文件、自动化表单或处理目录数据等办公场景。
  • 使用时需判断应由 Apps Script、REST API 还是 Admin SDK 负责,选择合适入口。
  • 涉及域级治理时应优先使用 Admin SDK,确保权限控制符合企业策略。
  • google-workspace 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Google Workspace

Use this skill to route Google Workspace work before writing code or pasting API snippets. The key decision is usually which Workspace surface should own the job:

  • Apps Script for Workspace-native automation close to Sheets / Docs / Forms / triggers / menus
  • Direct REST API + client libraries for backend services, multi-system integrations, stronger deployment control, or language flexibility
  • Admin SDK / admin-only APIs for users, groups, org units, directory data, or domain-wide governance tasks

When to use this skill

  • Create or update Docs, Sheets, Slides, Drive files/folders, Gmail messages, Calendar events, Forms, or Chat messages
  • Design a Workspace automation flow such as Form → Sheet → Gmail / Calendar / Drive
  • Decide between Apps Script and direct REST APIs
  • Choose the right auth model: OAuth user flow, service account, or domain-wide delegation
  • Review scopes, sharing model, quota/execution risk, or safety boundaries before implementation
  • Handle Workspace admin tasks that ordinary Docs/Sheets/Gmail code should not absorb

Instructions

Step 1: Classify the request

Capture five things before touching any API:

  1. Primary product surface — Docs, Sheets, Slides, Drive, Gmail, Calendar, Forms, Chat, or Admin SDK
  2. Operation — create, read, update, search, share, send, schedule, export, batch update, administer
  3. Actor / identity — end user, service account, delegated admin, or Apps Script owner
  4. Execution home — inside Workspace UI/runtime, backend service, cron/batch worker, or mixed workflow
  5. Trigger / cadence — manual, form submit, scheduled, web request, bulk migration, admin event

If the user describes multiple Workspace apps, treat it as a workflow problem first, not a single-API problem.

Step 2: Choose the execution surface

Use Apps Script when

  • the workflow is centered around Sheets / Docs / Forms / Gmail and should live inside Workspace
  • you need triggers, custom menus, sidebars, or other Workspace-native scripting behavior
  • a bound script is simpler than provisioning a separate backend
  • JavaScript-in-Workspace ergonomics matter more than backend deployment control

Use direct REST APIs when

  • the workflow lives in a backend, integration service, CLI, or batch job
  • you need stronger control over deployment, testing, retries, or non-JS stacks
  • the task spans Workspace plus external systems and should not depend on a bound script runtime
  • Apps Script quotas or runtime limits are likely to be the bottleneck

Use Admin SDK / admin APIs when

  • the job is about users, groups, org units, roles, or domain administration
  • domain-wide delegated access is part of the task
  • the request is clearly beyond ordinary content operations like Docs/Sheets editing

Use an external automation layer only as a route-out

  • If the user really needs a no-code / cross-app orchestrator, mention tools like Zapier / Make / n8n as substitutes.
  • Do not turn this skill into a generic no-code platform tutorial.

Step 3: Pick the auth model

Auth modelUse whenTypical surfacesNotes
OAuth user flowActing on a real user’s mailbox, calendar, Drive, docs, or personal contentGmail, Calendar, Drive, Docs, Sheets, Slides, Forms, ChatBest default for user-owned data
Service accountBackend automation owns the data or operates on shared resourcesDrive, backend-generated docs/sheets, service workflowsMay need shared-drive/file access design
Service account + domain-wide delegationAdmin or org-wide actions must impersonate users safelyAdmin SDK, org-wide Gmail/Calendar/Drive workflowsHigher security burden; keep scope narrow
Apps Script-bound authThe workflow is intentionally inside Workspace and tied to the script owner / install modelSheets, Docs, Forms, Gmail, Calendar, DriveFast to start, but runtime/quotas still matter

Rules:

  • Choose the narrowest scopes that satisfy the task.
  • Keep credentials and tokens out of the repo.
  • If the task touches a user’s mailbox/calendar/files, say whose identity is acting.
  • If admin powers are required, separate that packet from ordinary content-editing logic.

Step 4: Route to the right Workspace product

ProductGood forCommon operationsRoute out when
Docsformatted text documentscreate docs, replace placeholders, insert text/tables/images, exportthe deliverable is really a slide deck or spreadsheet
Sheetstabular workflows and lightweight ops databasesappend/update rows, formatting, formulas, filters, approvals, dashboardsthe user needs durable database design or BI modeling
Slidesgenerated presentations and updateable deckscreate slides, replace placeholders, thumbnails, batch updatesthe real job is deck strategy/content design rather than API execution
Drivestorage, sharing, folder hierarchy, export/importupload files, create folders, search files, permissions, shared drivesthe main problem is information architecture rather than Drive API calls
Gmailmailbox automation and outbound messagesdrafts, send, labels, search, thread actionsthe main job is email writing strategy rather than mailbox ops
Calendarscheduling and event automationcreate events, invite attendees, sync timing, Meet linksthe core issue is meeting policy or roadmap planning
Formsintake, surveys, quizzes, response pipelinescreate/update forms, response collection, Form → Sheet workflowsthe job is survey design methodology rather than implementation
Chatworkspace messaging automationspost messages, bot flows, notificationsthe user needs broader chatops platform design
Admin SDKdirectory and domain administrationusers, groups, org units, licenses, settingsordinary content workflows are being over-administered

Step 5: Use workflow packets for common cross-service jobs

Form intake packet

  • Forms captures submissions
  • Sheets stores / reviews responses
  • Gmail or Chat sends follow-up notifications
  • Calendar schedules interviews, meetings, or reminders when needed

Approval / operations packet

  • Sheet stores queue/state
  • Apps Script or backend worker evaluates rows / statuses
  • Gmail or Chat sends approval prompts / updates
  • Drive stores generated artifacts or attachments

Reporting packet

  • Sheets holds metrics or extracts
  • Docs / Slides publish the narrative output
  • Drive manages shared access and exports
  • Calendar / Gmail handles scheduled distribution

For multi-step flows, define:

  • system of record
  • trigger source
  • actor identity
  • idempotency / duplicate-submission rule
  • failure notification path

Step 6: Check quota and runtime risk

Before finalizing the plan, ask whether the workflow is:

  • high-volume or bulk-edit heavy
  • schedule-driven with frequent triggers
  • likely to hit Apps Script execution/runtime limits
  • dependent on large Drive traversals, Gmail sends, or spreadsheet write bursts

If yes:

  • prefer batch operations where supported
  • avoid row-by-row chatty loops when one batch call exists
  • consider moving from Apps Script to a backend worker if runtime ceilings become the real constraint

Step 7: Produce a concrete execution packet

Return a compact plan with:

  • chosen Workspace surface
  • chosen auth model
  • required scopes / admin boundaries
  • primary object identifiers needed (docId, spreadsheetId, folderId, user email, calendarId, formId)
  • implementation sequence
  • verification step
  • route-outs / risks

Examples

Example 1: Form → Sheet → email workflow

Prompt: “Create an employee feedback form, collect responses in Sheets, and send a confirmation email.”

Use this skill to:

  • classify it as a multi-service workflow
  • choose Apps Script or a lightweight backend depending on where the automation should live
  • identify Forms + Sheets + Gmail as the service bundle
  • specify auth/scopes and trigger behavior before implementation

Example 2: Shared Drive onboarding packet

Prompt: “Create a shared Drive folder structure for a new client, share it with three users, and generate a kickoff doc.”

Use this skill to:

  • route Drive as the primary surface and Docs as the secondary artifact layer
  • choose OAuth or service-account access based on ownership model
  • list folder IDs, user emails, and sharing rules before coding

Example 3: Workspace admin request

Prompt: “Suspend a departing user, move them to a different org unit, and audit their group membership.”

Use this skill to:

  • route immediately to Admin SDK
  • require admin/delegated identity clarification in the execution packet
  • keep admin actions separate from ordinary Docs/Drive editing logic

Example 4: Sheet-heavy approvals automation

Prompt: “Turn this spreadsheet into an approvals queue with reminder emails and status updates.”

Use this skill to:

  • decide whether bound Apps Script is enough
  • define status columns, reminder cadence, and Gmail integration
  • check quota/runtime risk before promising a trigger-heavy solution

Best practices

  1. Start with surface choice, not code snippets.
  2. Separate content operations from admin operations.
  3. Use Apps Script for Workspace-native ergonomics; use direct APIs when backend control or scale matters more.
  4. Keep scopes narrow and state exactly whose identity is acting.
  5. For multi-app workflows, define the source of truth and trigger source first.
  6. Prefer batch updates over chatty per-row / per-cell loops when the API supports batching.
  7. If the problem is actually writing emails, documents, surveys, dashboards, or presentations, route to the corresponding content skill after the Workspace execution packet is clear.

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.76%
按下载量换算218

Claude

30%
按下载量换算188

Cursor

18%
按下载量换算113

Gemini CLI

9.61%
按下载量换算60

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills