hnh-gg-docs

Read, create, append, insert, replace, and search Google Docs via APIs.

3|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/huynguyenh/skills --skill hnh-gg-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hnh-gg-docs
Source: https://github.com/huynguyenh/skills/tree/main/skills/hnh-gg-docs
Command: npx skills add https://github.com/huynguyenh/skills --skill hnh-gg-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines interactions with Google Docs, allowing for efficient management of documents directly through AI commands, eliminating the need to manually navigate the Google Docs interface for common tasks.

Core Features & Use Cases

  • Read Document Content: Retrieve and display the full text of any Google Doc.
  • Create New Documents: Generate new Google Docs with specified titles and initial content, optionally placing them in specific folders.
  • Append & Insert Text: Add new information to existing documents, either at the end or at a precise location.
  • Find and Replace: Perform text modifications across documents, with case-sensitive or insensitive options.
  • Get Document Info: Fetch metadata such as title, ID, URL, and revision ID.
  • Search Documents: Locate Google Docs within Google Drive based on keywords and folder constraints.

Quick Start

Use the hnh-gg-docs skill to read the content of the Google Doc with the URL https://docs.google.com/document/d/12345abcde.

Frequently Asked Questions about hnh-gg-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve the full text content of a Google Doc using an API?

To retrieve Google Docs text, the Skill connects to the Google Docs API and executes a read operation on a specified document URL or ID, returning the full text content directly to your interface.

Can I create new Google Docs and place them in specific Drive folders via command line?

Yes, you can create new Google Docs in specific Drive folders via command line by providing a title and initial content, utilizing default folder structures and file naming conventions for organization.

What is the best way to perform find and replace text modifications across Google Docs?

The best way to perform text modifications across Google Docs is using the replace operation, which allows you to find and replace text across documents with options for case-sensitive or case-insensitive matching.

Do I need gcloud CLI to authenticate Google Docs API operations?

Yes, you need gcloud CLI installed to authenticate Google Docs API operations, as the Skill uses Application Default Credentials from the gcloud CLI to authorize access to your Drive and Docs data.

How does searching for Google Docs by keywords within Google Drive work?

Searching for Google Docs works by querying the Drive API with specific keywords and folder constraints, locating matching documents based on your search parameters and returning their metadata and identifiers.