googleworkspace avatar

Recipe Create Doc From Template

The recipe-create-doc-from-template skill enables users to programmatically copy Google Docs templates, populate them with custom content, and share the resulting documents with collaborators using command-line commands. It solves the workflow problem of manually creating new documents from templates and managing permissions by automating these repetitive tasks for teams using Google Workspace. The skill is designed for productivity workflows that require templated document creation and team collaboration.

skills.sh installs
31.4K
GitHub stars
32.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add googleworkspace/cli --skill recipe-create-doc-from-template --agent claude-code

Installs into .claude/skills of the current project.

Files

Create a Google Doc from a Template

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

Copy a Google Docs template, fill in content, and share with collaborators.

Steps

  1. Copy the template: gws drive files copy --params '{"fileId": "TEMPLATE_DOC_ID"}' --json '{"name": "Project Brief - Q2 Launch"}'
  2. Get the new doc ID from the response
  3. Add content: `gws docs +write --document-id NEW_DOC_ID --text '## Project: Q2 Launch

Objective

Launch the new feature by end of Q2.'4. Share with team:gws drive permissions create --params '{"fileId": "NEW_DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "team@company.com"}'`

Sponsors

Details

Repository
github.com/googleworkspace/cli
Categories
Documentation, CLI & Terminal

More from googleworkspace/cli

All 113
1googleworkspace avatarrecipe-share-doc-and-notifygoogleworkspace/cliShare a Google Docs document with edit access and email collaborators the link.30.9Kskills.sh installs
2lombiq avatartailwind-4-docslombiq/tailwind-agent-skillsComprehensive Tailwind CSS v4 documentation snapshot and workflow guidance. Use when answering Tailwind v4 questions, selecting utilities/variants, configuring 18.6Kskills.sh installs
3hashicorp avatarterraform-style-guidehashicorp/agent-skillsGenerate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurat13.2Kskills.sh installs
4okx avatarokx-guideokx/onchainos-skillsOnchain OS onboarding & guide hub — the single entry for first-time, 'what is this / how do I use it', OKX.AI, and customer-support intents; classifies the inte12.7Kskills.sh installs
5nomadamas avatarkorean-slang-writingnomadamas/k-skillUse curated Korean trending-slang candidates plus best-effort Namu Wiki lookups to write witty Korean text with up-to-date slang, with conservative safety and f10.1Kskills.sh installs
6github avatarreadme-blueprint-generatorgithub/awesome-copilotIntelligent README.md generation prompt that analyzes project documentation structure and creates comprehensive repository documentation. Scans .github/copilot 9.7Kskills.sh installs