Skip to content
Skillpedia
Writing32k · #6327

recipe-generate-report-from-sheet

Helps your agent create reports. It reads data from a Google Sheet and builds a formatted Google Docs report.

What it does

This tool takes information from a Google Sheet and organizes it into a formatted Google Docs document. It's like copying data from a table and pasting it into a nice report.

When to use it

  • ✓When you need to turn raw spreadsheet data into a visually appealing report.
  • ✓To create sales summaries, task lists, or any information that needs to be presented clearly.
  • ✓When sharing important data with others who don't have direct access to the spreadsheet.

Example of what to ask your AI

“Generate a sales report from my 'Q1 Sales' spreadsheet and save it as 'Q1 Report'.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/googleworkspace/cli/blob/main/skills/recipe-generate-report-from-sheet/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/googleworkspace/cli/blob/main/skills/recipe-generate-report-from-sheet/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool first reads the data from the specified spreadsheet. Then, it creates a new document in Google Docs and inserts the read data, formatting it as a report.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add googleworkspace/cli --skill recipe-generate-report-from-sheet

Or download just the file:

curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-generate-report-from-sheet/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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"}'
FAQ

Do I need to have the data in a special format in the spreadsheet?

No, the tool can read data from any Google Sheet. Just make sure the data you want in the report is in a specific area of the sheet.

Can I choose where the data goes in the report?

Yes, you can specify which data to read from the spreadsheet and how it will be presented in the report.

What happens to the report after it's created?

The report is saved in your Google Drive and can be shared with others, like colleagues or managers.

Details

Original description by the author

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

repo: googleworkspace/cli

Popularity

GitHub stars
32k
Ranking position
#6327
License
Apache-2.0
Updated
10/6/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills