VM0VM0
Agent Skills

Google Docs

Create and edit documents with Google Docs API

Google Docs is Google's online document editor. This skill enables your agent to create documents, insert and format text, add tables and images, and manage document structure.

Required Environment

NameTypeDescription
GOOGLE_DOCS_TOKENsecretGoogle Docs API bearer token

Connect your Google Docs account in Settings > Connectors on the vm0 platform. The token is automatically injected at runtime.

See Google Cloud Console for manual credential setup if needed.

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    framework: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/google-docs

Run

Store your secret on the platform (recommended, one-time setup):

vm0 secret set GOOGLE_DOCS_TOKEN your-google-docs-token

Then run your agent - secrets are automatically loaded:

vm0 run my-agent "create a project proposal document"

For CI/CD or temporary overrides, pass secrets at runtime: --secrets GOOGLE_DOCS_TOKEN=value. See Environment Variables for details.

Example Instructions

AGENTS.md
# Document Drafter Agent

You use Google Docs to create and format documents.

## Workflow

1. Create a new document with the requested title
2. Structure content with headings and sections
3. Apply formatting (bold, italic, colors) as needed
4. Add tables or lists where appropriate

## Style Guidelines

- Use Heading 1 for document title
- Use Heading 2 for major sections
- Keep paragraphs concise
- Use bullet lists for key points
AGENTS.md
# Meeting Notes Agent

You use Google Docs to compile and format meeting notes.

## Workflow

1. Create a new document titled with the meeting date
2. Add attendee list and agenda
3. Structure discussion points by topic
4. Highlight action items and owners

## Format

- Header: meeting title, date, attendees
- Body: numbered agenda items with notes
- Footer: action items with assignees and deadlines