batchUpdate — Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.
create — Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.
get — Gets the latest version of the specified document.
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws docs --help
# Inspect a method's required params, types, and defaults
gws schema docs.<resource>.<method>
Use gws schema output to build your --params and --json flags.
1---2name: gws-docs3description: docs (v1)4---5# docs (v1)67> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, stop and repair the declarative skill deployment.89```bash10gws docs <resource> <method> [flags]11```1213## Helper Commands1415| Command | Description |16|---------|-------------|17| [`+write`](../gws-docs-write/SKILL.md) | Append text to a document |1819## API Resources2021### documents2223 - `batchUpdate` — Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.24 - `create` — Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.25 - `get` — Gets the latest version of the specified document.2627## Discovering Commands2829Before calling any API method, inspect it:3031```bash32# Browse resources and methods33gws docs --help3435# Inspect a method's required params, types, and defaults36gws schema docs.<resource>.<method>37```3839Use `gws schema` output to build your `--params` and `--json` flags.
Run npx skillmds@latest add wimpysworld/gws-docs in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
docs (v1) It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
wimpysworld (@wimpysworld) published this skill. Their other Agent Skills are listed on their SkillMD profile.