← 返回 Skills 市场
byungkyu

google-docs

作者 byungkyu · GitHub ↗ · v1.2.5 · MIT-0
cross-platform ✓ 安全检测通过
9802
总下载
8
收藏
0
当前安装
16
版本数
在 OpenClaw 中安装
/install google-docs
功能描述
Google Docs API integration with managed OAuth. Create documents, insert text, apply formatting, and manage content. Use this skill when users want to interact with Google Docs. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login, or over raw HTTP with a Maton API key where the CLI cannot be installed. Every call is authenticated as the user's connection and reaches only what that connection's authorization allows, which the provider enforces on every request; the endpoints documented here are the ones this skill uses, and any other endpoint of this app needs the user to ask for it by name. Default to read and list calls, and confirm every write or new connection with the user. This file also documents the three constructs that turn a Google Docs connection into automation, in the order they are used: the connection (the first step), a hosted function that runs a Google Docs action through the Maton SDK, and a trigger that calls that function on a schedule or on an event. Those sections are the platform's own reference text, shared with the api-gateway skill, with Google Docs examples; they add no Google Docs capability - Google Docs is not an event source, a trigger cannot read Google Docs data, and the files under `references/<source>/triggers.md` are the platform's event catalogues for the sources Maton offers (time, Calendly, GitHub, Gmail, HubSpot, Linear, Notion, Slack, Stripe).
安全使用建议
Before installing, be comfortable granting Maton/Google Docs access to the specific Google account and documents needed. Use read-only scopes where possible, confirm every write or connection, and be especially careful with hosted functions, triggers, destinations, or raw API keys because those can create ongoing access or forwarding if approved.
能力评估
✓ Credentials
Bash, Read, Grep, and Glob are proportionate for installing/using the CLI and reading documentation; credential handling is explicitly constrained to OAuth/OS credential storage or a limited API-key fallback.
✓ Install Mechanism
Installation is disclosed as pinned Maton CLI packages via npm or Homebrew; the artifact contains markdown documentation only and no executable installer scripts.
ℹ Instruction Scope
The skill includes broad Maton function and trigger reference material, including other event-source catalog files, but it repeatedly states these do not widen Google Docs access and require the user to request and approve hosted automation or event forwarding.
ℹ Persistence & Privilege
OAuth credentials, hosted functions, triggers, destinations, and event watches can persist or run unattended, but the skill clearly warns about these risks and requires explicit user approval, least-privilege scoping, and cleanup.
✓ Purpose & Capability
The stated purpose is Google Docs API access, and the documented capabilities fit that purpose: view/create/update documents through Maton, with optional SDK/raw HTTP fallback and automation references disclosed as Maton platform features.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install google-docs
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /google-docs 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.5
Simplify the login instructions to the code flow (maton login prints a link; finish with maton login --code <CODE>), drop the API Key subsection, and pin the Maton CLI install to 0.4.0.
v1.2.4
Switch the login instructions to the device flow (maton login prints a link and a user code; the --oauth flag is gone) and pin the Maton CLI install to 0.3.5.
v1.2.3
Pin the Maton CLI install to 0.3.4, the current release.
v1.2.2
Add this skill's own trigger policy to the shared Triggers section: the only destination it sets up is its own hosted function inside the platform, it does not forward events to third-party hosts, and it does not use event watch --exec; each trigger reference now also says this skill configures no trigger from that source on its own.
v1.2.1
Bring the skill to the current api-gateway baseline and tell the connection-to-function-to-trigger story: the shared Functions and Triggers sections open with an example for this app (a hosted function that performs one action for it through the Maton SDK, and the trigger that runs it - its own event source where it has one, otherwise a time schedule), the description says these constructs turn the connection into automation and add no capability of their own, the passthrough is described by its enforced boundary, CLI and SDK installs are pinned to 0.3.1, absolute API URLs are placeholders, and multipart uploads use mktemp.
v1.2.0
CLI-first rewrite with the Maton SDK examples; clarify that the CLI and SDKs keep separate credential stores, and reword webhook egress warnings
v1.1.0
CLI-first rewrite: the maton CLI with OAuth login is the documented path, every example is a maton command, SDK examples added, and the raw HTTP fallback feeds the key on stdin instead of reading it from the environment
v1.0.8
- Removed the skill-card.md file. - No changes were made to implementation or functionality. - Documentation and usage instructions remain unchanged.
v1.0.7
- Added CLI command examples throughout the documentation for managing Google Docs and connections. - Documented CLI installation methods (npm and Homebrew). - Enhanced authentication instructions with dedicated CLI and manual setup sections. - Provided equivalent CLI, Python, and API examples for all connection management actions. - Included common CLI workflows for viewing, creating, and updating Google Docs. - General documentation improvements for clarity and ease of use.
v1.0.6
- Updated all endpoint URLs from gateway.maton.ai and ctrl.maton.ai to api.maton.ai. - Clarified connection management steps and emphasized use of the `Maton-Connection` header when multiple connections exist. - Added section on security and permissions, requiring explicit user confirmation before write operations. - Removed the LICENSE.txt file from the repository.
v1.0.5
- Added a new `clawdbot` metadata field with an emoji and required environment variable `MATON_API_KEY`. - No other functionality or documentation changes.
v1.0.4
- Added a troubleshooting section for "Invalid App Name" errors, clarifying required URL structure. - Updated the troubleshooting section for API key issues (previously titled "Invalid API Key") for clarity and accuracy. - No code or functional changes; documentation improvements only.
v1.0.3
- All curl-based Bash examples are now replaced with Python one-liner scripts using urllib. - Added a new "Troubleshooting: Invalid API Key" section with step-by-step instructions to diagnose invalid API key issues. - Modernized code snippets for connection management (list, create, get, delete) to use Python, matching the updated approach. - Core API usage and authentication details remain unchanged.
v1.0.2
- Added clarification in the description that for third-party apps other than Google Docs, users should use the api-gateway skill instead. - Updated all sample curl commands to use environment variable syntax ($MATON_API_KEY) for API keys. - Added important usage notes about using curl with brackets (recommending curl -g) and handling environment variables when piping output to jq or other commands to prevent API key expansion issues.
v1.0.1
- Updated documentation to clarify that the base URL uses /google-docs/{native-api-path} and requires substitution of the API endpoint path. - Added detailed sample response to the Get Connection section, including new fields (creation_time, last_updated_time, metadata). - Included instructions for specifying the Google Docs connection using the Maton-Connection header, supporting multiple connections. - Minor improvements to authentication instructions, now mentioning account creation. - General clarifications and formatting improvements throughout the documentation.
v1.0.0
Initial release of Google Docs integration with managed OAuth: - Create, retrieve, and update Google Docs via API. - Supports document creation, text insertion, formatting, and content management. - OAuth authentication and connection management handled through Maton platform. - Includes sample code for JavaScript and Python. - Comprehensive API reference and error handling information.
元数据
Slug google-docs
版本 1.2.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 16
常见问题

google-docs 是什么?

Google Docs API integration with managed OAuth. Create documents, insert text, apply formatting, and manage content. Use this skill when users want to interact with Google Docs. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login, or over raw HTTP with a Maton API key where the CLI cannot be installed. Every call is authenticated as the user's connection and reaches only what that connection's authorization allows, which the provider enforces on every request; the endpoints documented here are the ones this skill uses, and any other endpoint of this app needs the user to ask for it by name. Default to read and list calls, and confirm every write or new connection with the user. This file also documents the three constructs that turn a Google Docs connection into automation, in the order they are used: the connection (the first step), a hosted function that runs a Google Docs action through the Maton SDK, and a trigger that calls that function on a schedule or on an event. Those sections are the platform's own reference text, shared with the api-gateway skill, with Google Docs examples; they add no Google Docs capability - Google Docs is not an event source, a trigger cannot read Google Docs data, and the files under `references/<source>/triggers.md` are the platform's event catalogues for the sources Maton offers (time, Calendly, GitHub, Gmail, HubSpot, Linear, Notion, Slack, Stripe). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 9802 次。

如何安装 google-docs?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install google-docs」即可一键安装,无需额外配置。

google-docs 是免费的吗?

是的,google-docs 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

google-docs 支持哪些平台?

google-docs 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 google-docs?

由 byungkyu(@byungkyu)开发并维护,当前版本 v1.2.5。

💬 留言讨论