Skip to content

Create Google Doc from Template

Copies a Google Docs template, fills it with content, and shares it with teammates via the gws CLI.

Stars
32,059
Licence
Apache-2.0
Files
1 file

What it does

When installed, the agent can make a new Google Doc from an existing template, add text to it, and give a collaborator edit access. It does this by running the gws command-line tool with a sequence of steps written in the skill file, so you don't have to remember the exact commands. The skill is a short recipe that depends on two other skills, gws-drive and gws-docs, which supply the detailed know-how for Drive and Docs.

Great for

  • Teams that create repeated documents such as project briefs or meeting notes from a standard template
  • People already using the gws Google Workspace CLI who want the agent to chain these steps
  • Project managers who want a new document set up and shared in one request

Skip it if

  • Users without a Google Workspace account or the gws tool installed, since the steps will fail without them
  • Sharing sensitive documents by guessing the recipient: the step grants writer access to a hard-coded address, so check the email before running, because a wrong address gives someone edit rights
  • Anyone wanting offline document editing, since every step calls Google's online services

Try asking

  • “Create a new Project Brief from our Q2 template and share it with the product team”
  • “Copy the meeting notes template, add today's agenda, and give Sam edit access”
  • “Make a new doc from the onboarding template and fill in the objective section”
Step-by-step guide: how to use Create Google Doc from TemplateInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    recipe-create-doc-from-template.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip recipe-create-doc-from-template.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip recipe-create-doc-from-template.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Replace TEMPLATE_DOC_ID, NEW_DOC_ID and the team email with real values, and confirm the recipient before the agent runs the sharing step
  • Ask the agent to show each command before running it, especially the permissions step, since it changes who can access the document
  • Install the gws-drive and gws-docs skills alongside this one, as the recipe depends on them

What's inside

  • SKILL.md

Redistributed unmodified from googleworkspace/cli under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.