Skip to content
Agentmart
Submit a tool

google-docs

Manage Google Docs — create, read, append, prepend, find-and-replace, and list documents.

Skill by bos-hieu

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bos-hieu-google-docs

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Manage Google Docs — create, read, append, prepend, find-and-replace, and list documents. Supports Google Docs REST API with persistent config for credentials.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/google-docs

Tools it pre-approves 6

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash(go
  • run
  • *),
  • Bash(cat
  • Bash(ls
  • *)

What's inside

Skill name
google-docs
Description
Manage Google Docs — create, read, append, prepend, find-and-replace, and list documents. Supports Google Docs REST API with persistent config for credentials.
License
MIT
Allowed tools
Bash(go, run, *),, Bash(cat, *),, Bash(ls, *)
Instructions
45 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (2)

  • SKILL.md
  • google_docs.go

SKILL.md (first lines)

When the user asks to manage Google Docs, use `${CLAUDE_SKILL_DIR}` to reference the Go file.
**Never print raw tokens. Never save credentials to memory files or auto-memory.**

## Configuration

Credentials discovered from (highest priority first):
1. Project config: `.claude/google-config.yaml`
2. Global config: `~/.claude/google-config.yaml`
3. Environment variables: `GOOGLE_ACCESS_TOKEN`, `GOOGLE_SERVICE_ACCOUNT_FILE`

Auth methods: **Access Token** (OAuth2, e.g. `gcloud auth print-access-token`) or **Service Account** (JSON key file, JWT handled internally).

```yaml
# .claude/google-config.yaml
auth_method: "access_token"  # or "service_account"
access_token: "ya29.xxx"
service_account_file: "/path/to/sa.json"
```

```bash
# Setup
go run ${CLAUDE_SKILL_DIR}/google_docs.go --setup --access-token "ya29.xxx"
go run ${CLAUDE_SKILL_DIR}/google_docs.go --setup --service-account-file "/path/to/sa.json"
# Use --global for ~/.claude/. Use --show-config to verify.
```

## Operations

| Flag | Description |
|------|-------------|
| `--create` | Create document (with `--title`) |
| `--get <doc-id>` | Get document content as plain text |
| `--append <doc-id>` | Append text (with `--body` or `--body-file`) |
| `--prepend <doc-id>` | Prepend text (with `--body` or `--body-file`) |
| `--replace <doc-id>` | Find and replace (with `--find`, `--replace-with`) |
| `--list` | List recent documents |
| `--format <text\|json>` | Output format (default: text) |
| `--rows <n>` | Max results for list (default 25) |

## Security

- Tokens always shown as `***`. Config files created with `0600` permissions.
- Config shared with google-drive and google-sheets skills. Gitignore `.claude/google-config.yaml`.

From bos-hieu/agent-skills, MIT.

More from bos-hieu/agent-skills

Signals

Stars
0
Forks
1
Open issues
0
Last commit (this folder)
Mar 31, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from bos-hieu

Cite this page

google-docs skill. Agent Mart. https://agentmart.dev/skills/bos-hieu-google-docs (last updated 2026-10-24)