Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计通过

google-workspace-integrationGoogle workspace 集成

Agent Skill

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

总安装

349

周安装

15

GitHub Stars

4

下载量

122
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/cleanexpo/ato --skill google-workspace-integration

简介

用于查找 Google Workspace 集成方案与开发指南,适合企业应用对接。

  • 适用于学习 OAuth 流程、API 调用或日历同步,需输入服务名称与权限范围。
  • 使用时需遵循安全策略,避免过度申请权限;建议最小化授权与定期审查。
  • 安装方式:github,命令:npx skills add https://github.com/cleanexpo/ato --skill google-workspace-integration。
  • 注意权限范围与维护状态,可能涉及用户数据访问,建议先在测试租户验证。

SKILL.md

Google Workspace Integration Skill

This skill enables generation of professional tax optimization reports and direct communication with accountants using Google Workspace products.

Capabilities

ProductUse Case
Google DocsProfessional tax audit reports with legislation references
Google SheetsFinancial calculations, deduction summaries, loss tracking
GmailDirect email to accountant with report attachments
Google DriveStore and organize all tax documents

Authentication

Required Google Cloud APIs

- Gmail API
- Google Docs API
- Google Sheets API
- Google Drive API

OAuth 2.0 Scopes

const GOOGLE_SCOPES = [
  'https://www.googleapis.com/auth/gmail.send',
  'https://www.googleapis.com/auth/gmail.compose',
  'https://www.googleapis.com/auth/documents',
  'https://www.googleapis.com/auth/spreadsheets',
  'https://www.googleapis.com/auth/drive.file'
];

Environment Variables

GOOGLE_CLIENT_ID=your_client_id
GOOGLE_CLIENT_SECRET=your_client_secret
GOOGLE_REDIRECT_URI=http://localhost:3000/api/auth/google/callback

Report Templates

1. Tax Optimization Summary Report (Google Docs)

# Tax Optimization Report for [Business Name]
## Prepared by ATO Tax Optimization Suite
## Date: [Current Date]

---

## Executive Summary
[Auto-generated summary of findings and total potential recovery]

---

## Section 1: R&D Tax Incentive (Division 355 ITAA 1997)

### Findings
- [List of identified R&D activities]

### Potential Benefit
- Eligible expenditure: $X
- Refundable offset (43.5%): $Y

### Legislation Reference
> Division 355 of the Income Tax Assessment Act 1997
> ATO Guidance: Guide to the R&D Tax Incentive

### Action Required
☐ Review identified activities with tax advisor
☐ Prepare registration with AusIndustry
☐ Document contemporaneous records

---

## Section 2: Bad Debt Recovery (Section 25-35 ITAA 1997)

### Findings
- [List of identified bad debts]

### Potential Benefit
- Total bad debts: $X
- Income tax deduction value: $Y
- GST recovery (Division 21): $Z

### Legislation Reference
> Section 25-35 ITAA 1997 - Bad debts
> Division 21 GST Act 1999 - Bad debt adjustments
> GSTR 2000/2 - GST and bad debts

### Action Required
☐ Document write-off decisions before June 30
☐ Process credit notes in Xero
☐ Include GST adjustment in next BAS

---

## Section 3: Loss Carry-Forward Analysis

### Findings
- Accumulated losses: $X
- Similar Business Test status: [PASS/UNCERTAIN/FAIL]

### Potential Benefit
- Loss utilization value: $X × tax rate = $Y

### Legislation Reference
> Division 36 ITAA 1997 - Tax losses
> Division 165/166 ITAA 1997 - Company loss tests
> LCR 2019/1 - Similar Business Test

### Action Required
☐ Consider private ruling if losses significant
☐ Document business evolution for SiBT
☐ Coordinate with tax return lodgment

---

## Section 4: ATO Payment Negotiation

### Current Position
- Outstanding debt: $X
- Less: Recoverable amounts: $Y
- Net position: $Z

### Recommended Approach
[Auto-generated based on net position]

### Legislation Reference
> Taxation Administration Act 1953
> ATO Payment Plan Guidelines

### Action Required
☐ Lodge all outstanding returns
☐ Compile financial hardship documentation
☐ Contact ATO or engage tax advisor

---

## Appendix A: Complete Findings List
[Detailed itemized list]

## Appendix B: Xero Transaction References
[List of relevant Xero transactions]

## Appendix C: Legislation Quick Reference
[All legislation citations in one place]

---

**IMPORTANT DISCLAIMER**
This report is generated by an AI-assisted analysis tool and is provided for
informational purposes only. All recommendations should be reviewed by a
Registered Tax Agent or qualified accountant before implementation.

---
Generated by ATO Tax Optimization Suite
[Timestamp]

2. Financial Summary Spreadsheet (Google Sheets)

Sheet 1: Executive Summary

CategoryPotential BenefitConfidencePriority
R&D Tax Incentive$XHIGH1
Bad Debt Recovery$XHIGH2
Loss Carry-Forward$XMEDIUM3
SBITO$1,000HIGH4
Other Deductions$XMEDIUM5
TOTAL$X

Sheet 2: R&D Activities

ActivityDescriptionEligible SpendOffset (43.5%)
[Activity 1][Description]$X$Y

Sheet 3: Bad Debts

CustomerInvoiceAmountGSTStatusWrite-off Date
[Customer][INV-XXX]$X$YBADYYYY-MM-DD

Sheet 4: Loss History

Financial YearLoss AmountSiBT EligibleNotes
FY2022-23$XYes
FY2023-24$XYes

Sheet 5: ATO Position

CategoryAmount
Outstanding Income Tax$X
Outstanding GST$X
Outstanding PAYG$X
Penalties$X
Interest$X
Total Owing$X
Less: Recoverable($X)
Net Position$X

3. Email Template (Gmail)

Subject: Tax Optimization Analysis - [Business Name] - Action Required

Dear [Accountant Name],

I have conducted a comprehensive tax optimization analysis using the ATO Tax
Optimization Suite and identified several opportunities that require your
professional review.

SUMMARY OF FINDINGS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

TOTAL POTENTIAL RECOVERY: $[AMOUNT]

Key Opportunities Identified:

1. R&D Tax Incentive (Division 355 ITAA 1997)
   Potential benefit: $[X]
   ⚠️ Registration deadline: [DATE]

2. Bad Debt Deductions (Section 25-35 ITAA 1997)
   Potential benefit: $[X]
   ⚠️ Write-off deadline: June 30

3. Loss Carry-Forward (Division 36 ITAA 1997)
   Potential benefit: $[X]
   ⚠️ Similar Business Test requires review

4. ATO Payment Negotiation
   Current debt: $[X]
   Net after offsets: $[Y]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ATTACHMENTS:
- Tax_Optimization_Report.pdf (Full report with legislation references)
- Financial_Summary.xlsx (Detailed calculations)

ACTION REQUIRED:
Please review the attached documents and advise on:
1. Eligibility for the identified benefits
2. Any additional information required
3. Next steps for implementation
4. ATO engagement strategy (if applicable)

I would appreciate the opportunity to discuss these findings at your earliest
convenience.

Best regards,
[Name]
[Business Name]
[Contact Details]

---
This analysis was prepared using the ATO Tax Optimization Suite.
All recommendations require professional review before implementation.

API Implementation

Google Docs Report Generation

import { google } from 'googleapis';

async function generateTaxReport(auth: any, reportData: TaxReportData) {
  const docs = google.docs({ version: 'v1', auth });

  // Create new document
  const createResponse = await docs.documents.create({
    requestBody: {
      title: `Tax Optimization Report - ${reportData.businessName} - ${reportData.date}`
    }
  });

  const documentId = createResponse.data.documentId;

  // Insert content using batchUpdate
  await docs.documents.batchUpdate({
    documentId,
    requestBody: {
      requests: generateReportRequests(reportData)
    }
  });

  return documentId;
}

Google Sheets Financial Summary

async function generateFinancialSpreadsheet(auth: any, data: FinancialData) {
  const sheets = google.sheets({ version: 'v4', auth });

  // Create new spreadsheet
  const createResponse = await sheets.spreadsheets.create({
    requestBody: {
      properties: {
        title: `Tax Analysis - ${data.businessName} - ${data.date}`
      },
      sheets: [
        { properties: { title: 'Executive Summary' } },
        { properties: { title: 'R&D Activities' } },
        { properties: { title: 'Bad Debts' } },
        { properties: { title: 'Loss History' } },
        { properties: { title: 'ATO Position' } }
      ]
    }
  });

  const spreadsheetId = createResponse.data.spreadsheetId;

  // Populate data
  await sheets.spreadsheets.values.batchUpdate({
    spreadsheetId,
    requestBody: {
      valueInputOption: 'USER_ENTERED',
      data: generateSheetData(data)
    }
  });

  return spreadsheetId;
}

Gmail Send with Attachments

async function sendToAccountant(auth: any, emailData: EmailData) {
  const gmail = google.gmail({ version: 'v1', auth });

  const message = createMimeMessage({
    to: emailData.accountantEmail,
    subject: `Tax Optimization Analysis - ${emailData.businessName}`,
    body: generateEmailBody(emailData),
    attachments: emailData.attachments
  });

  await gmail.users.messages.send({
    userId: 'me',
    requestBody: {
      raw: Buffer.from(message).toString('base64url')
    }
  });
}

Integration with Agent Fleet

Workflow Integration

The Google Workspace skill integrates with all agents:

<report_generation>
  <sources>
    <agent>rnd_tax_specialist</agent>
    <agent>bad_debt_recovery_agent</agent>
    <agent>business_transition_agent</agent>
    <agent>loss_recovery_agent</agent>
  </sources>
  <outputs>
    <google_doc>Full report with legislation</google_doc>
    <google_sheet>Financial calculations</google_sheet>
    <gmail>Direct to accountant</gmail>
  </outputs>
</report_generation>

Usage

Generate and Send Report

/send-to-accountant

This command will:

  1. Compile all findings from recent analyses
  2. Generate Google Doc report with legislation references
  3. Generate Google Sheet with financial calculations
  4. Send via Gmail to configured accountant email

Configuration

<accountant_config>
  <name>Your Accountant Name</name>
  <email>accountant@example.com</email>
  <firm>Accounting Firm Name</firm>
  <cc_emails>
    <email>your@email.com</email>
  </cc_emails>
</accountant_config>

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

24.12%
按下载量换算29

windsurf

23.25%
按下载量换算28

OpenCode

18.55%
按下载量换算23

Cursor

12.57%
按下载量换算15

Codex

6.68%
按下载量换算8

Antigravity

3.64%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills