Skip to content
Skillpedia
Writing32k · #6312

recipe-create-doc-from-template

Makes your agent copy a Google Docs template, fill it with information, and share it. Useful for quickly creating standardized documents.

What it does

This tool copies a Google Docs template, fills it with your information, and shares it with others. It's useful for creating standardized documents quickly.

When to use it

  • ✓Creating a new document from an existing template.
  • ✓Sharing a document with a team for collaboration.
  • ✓Automating the creation of repetitive documents.

Example of what to ask your AI

“Create a project brief document from the 'Project Brief' template and share it with the marketing team.”

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-create-doc-from-template/SKILL.md

Ready-to-paste message

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

The tool first makes a copy of your template document. Then, it adds the text you specify, and finally, grants editing permissions to whomever you choose.

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-create-doc-from-template

Or download just the file:

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

Original text by the author, straight from GitHub.

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

FAQ

What is a 'template document'?

A template document is a document you use as a base to create other documents. It already has the formatting and basic content you want.

Do I need to have Google Docs installed?

No, you just need a Google account and access to your documents.

Can I share with anyone?

Yes, you can share with anyone who has an email address, as long as you have the necessary permissions.

Details

Original description by the author

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

repo: googleworkspace/cli

Popularity

GitHub stars
32k
Ranking position
#6312
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