Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot official · Google

recipe-copy-sheet-for-new-month — Claude skill: duplicate a Sheets tab

This skill copies a template tab in Google Sheets and renames it for a new month of tracking. Useful when the same monthly setup keeps landing on your to-do list.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add googleworkspace/cli --skill recipe-copy-sheet-for-new-month -a claude-code
Open on GitHub

What recipe-copy-sheet-for-new-month does

The skill runs three steps through the gws CLI. It pulls spreadsheet details, copies the template sheet into the same spreadsheet, then renames the new tab — for example to "February 2025".

There is no extra scripting here. The recipe is a sequence of gws sheets calls: spreadsheets get, sheets copyTo, and batchUpdate with updateSheetProperties. It depends on the gws-sheets skill, which has to be loaded first.

Worth installing if your monthly tracking lives in Google Sheets and you already drive it with gws. For a single spreadsheet you touch twice a year, copying the tab by hand is faster.

What it helps with

  • copy a template tab for a new month
  • rename the fresh sheet after the month
  • fetch spreadsheet details before copying
  • update sheet properties through batchUpdate
  • repeat the same Sheets routine without manual clicks

Example prompts for the agent

  • Copy the template sheet in SHEET_ID and name it February 2025
  • Create a new month of tracking from the template tab
  • Duplicate sheet 0 in the same spreadsheet and rename it

How to install recipe-copy-sheet-for-new-month

1Skills CLI (Vercel)

npx skills add googleworkspace/cli --skill recipe-copy-sheet-for-new-month -a claude-code

2Manually: put the files in place

~/.claude/skills/recipe-copy-sheet-for-new-month/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/recipe-copy-sheet-for-new-month/

From the same set95

The whole set →
gws-gmail official googleworkspace This skill hands your agent Gmail: send mail, read the inbox, reply in a thread. Useful when email work already runs through the gws CLI. Claude Code CX Codex Cursor +1 81,900installs gws-gmail-send official googleworkspace A skill that teaches your agent to send Gmail from the terminal: recipients, subject, body, attachments and drafts. Claude Code CX Codex Cursor +1 74,700installs gws-drive official googleworkspace This skill hands your agent Google Drive through the gws CLI: files, folders, shared drives, comments and access requests. Useful when docs move through code. Claude Code CX Codex Cursor +1 74,500installs gws-shared official googleworkspace This skill gives agents shared rules for gws CLI authentication, flags, and output formats. Use it when working with gws commands. Claude Code CX Codex Cursor +1 66,000installs gws-calendar official googleworkspace Manage Google Calendar events, access rules, and schedules through the gws CLI tool. Claude Code CX Codex Cursor +1 61,100installs gws-sheets official googleworkspace This skill lets an agent read and edit Google Sheets through the CLI. Use it when a coding workflow needs spreadsheet data or table updates. Claude Code CX Codex Cursor +1 58,800installs gws-docs official googleworkspace This skill lets an agent read and update Google Docs through gws. Use it when document changes should happen from an agent chat. Claude Code CX Codex Cursor +1 58,300installs gws-sheets-read official googleworkspace Reads cell values and sheets from Google Spreadsheets via CLI. Useful when an agent needs spreadsheet data without risk of altering it. Claude Code CX Codex Cursor +1 50,600installs

Similar

Questions about recipe-copy-sheet-for-new-month

How do I install recipe-copy-sheet-for-new-month in Claude?

Run npx skills add googleworkspace/cli --skill recipe-copy-sheet-for-new-month -a claude-code. The skill file lands at ~/.claude/skills/recipe-copy-sheet-for-new-month/SKILL.md.

What does recipe-copy-sheet-for-new-month do?

It duplicates a template tab in Google Sheets and renames it for a new month of tracking, using three gws commands.

What do I need before running it?

The gws binary and the gws-sheets skill loaded — the recipe will not run without it.

Source text

SKILL.md · Apache-2.0
---
name: recipe-copy-sheet-for-new-month
description: "Duplicate a Google Sheets template tab for a new month of tracking."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-sheets
---

# Copy a Google Sheet for a New Month

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-sheets`

Duplicate a Google Sheets template tab for a new month of tracking.

## Steps

1. Get spreadsheet details: `gws sheets spreadsheets get --params '{"spreadsheetId": "SHEET_ID"}'`
2. Copy the template sheet: `gws sheets spreadsheets sheets copyTo --params '{"spreadsheetId": "SHEET_ID", "sheetId": 0}' --json '{"destinationSpreadsheetId": "SHEET_ID"}'`
3. Rename the new tab: `gws sheets spreadsheets batchUpdate --params '{"spreadsheetId": "SHEET_ID"}' --json '{"requests": [{"updateSheetProperties": {"properties": {"sheetId": 123, "title": "February 2025"}, "fields": "title"}}]}'`

© googleworkspace · Apache-2.0 · googleworkspace/cli

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor