Index of every page on this site: llms.txt
All skills
googleworkspace avatar

/recipe-generate-report-from-sheet

@cd3697e
by Google Workspacegoogleworkspace/cli32k stars
1,997
Run it yourself

Read data from a Google Sheet and create a formatted Google Docs report.

  • 1 file
  • 1.1 KB
  • Updated 8 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/googleworkspace/cli/recipe-generate-report-from-sheet

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈27 tokens for metadata: the name and description. ≈202 when used: this file.

Description uses 1.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈108 characters, or 1.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Generate a Google Docs Report from Sheet Data

PREREQUISITE: Load the following skills to execute this recipe: gws-sheets, gws-docs, gws-drive

Read data from a Google Sheet and create a formatted Google Docs report.

Steps

  1. Read the data: gws sheets +read --spreadsheet SHEET_ID --range "Sales!A1:D"
  2. Create the report doc: gws docs documents create --json '{"title": "Sales Report - January 2025"}'
  3. Write the report: `gws docs +write --document-id DOC_ID --text '## Sales Report - January 2025

Summary

Total deals: 45 Revenue: $125,000

Top Deals

  1. Acme Corp - $25,000
  2. Widget Inc - $18,000'`
  3. Share with stakeholders: gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "cfo@company.com"}'

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at cd3697e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 8 months ago
Other metadata
metadata
{
  "version": "0.22.5",
  "openclaw": {
    "category": "recipe",
    "domain": "productivity",
    "requires": {
      "bins": [
        "gws"
      ],
      "skills": [
        "gws-sheets",
        "gws-docs",
        "gws-drive"
      ]
    }
  }
}
  • google-workspace
  • google-sheets
  • google-docs
  • reporting
  • recipe
  • gws-cli
  • data-extraction
  • document-generation

README badge

README badge for googleworkspace/cli/recipe-generate-report-from-sheet

Reads data from a Google Sheet and writes it as a formatted report document in Google Docs, then shares the report with specified stakeholders. Combines gws-sheets, gws-docs, and gws-drive skills to automate report generation from spreadsheet data.

Generated from the current SKILL.md.

What Google Workspace APIs does this recipe use?
It uses the Sheets API to read data, the Docs API to create and write formatted documents, and the Drive API to set sharing permissions.
Do I need to install prerequisite skills first?
Yes. You must load gws-sheets, gws-docs, and gws-drive before running this recipe.
Can I automate report generation on a schedule?
The skill itself does not handle scheduling. You would need to wrap the gws commands in an external scheduler or workflow tool.
What formatting options are available for the report?
The gws docs +write command supports markdown-style formatting including headers, lists, and plain text. Consult the gws-docs skill documentation for the full range of supported formatting.

Generated from the current SKILL.md. These answers refresh after source changes.