@xiaotianxt/skills 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/EXCLUDED.md +42 -0
  2. package/LICENSE +21 -0
  3. package/README.md +165 -0
  4. package/SECURITY.md +23 -0
  5. package/SOURCES.md +45 -0
  6. package/bin/skills.mjs +241 -0
  7. package/package.json +38 -0
  8. package/skills/1password/SKILL.md +94 -0
  9. package/skills/1password/agents/openai.yaml +4 -0
  10. package/skills/1password/references/item-management.md +80 -0
  11. package/skills/1password/references/op-cli.md +107 -0
  12. package/skills/apple-calendar-event/SKILL.md +81 -0
  13. package/skills/apple-calendar-event/agents/openai.yaml +4 -0
  14. package/skills/apple-calendar-event/scripts/calendar_audit.py +201 -0
  15. package/skills/apple-calendar-event/scripts/calendar_event.py +164 -0
  16. package/skills/bro-browser/SKILL.md +118 -0
  17. package/skills/bro-browser/agents/openai.yaml +4 -0
  18. package/skills/bro-browser/references/tool-map.md +102 -0
  19. package/skills/bro-browser/references/workflows.md +146 -0
  20. package/skills/bro-browser/scripts/bro-call.mjs +189 -0
  21. package/skills/calendar/SKILL.md +182 -0
  22. package/skills/calendar/agents/openai.yaml +4 -0
  23. package/skills/calendar/references/operations.md +255 -0
  24. package/skills/calendar/scripts/calendar_list_review.py +157 -0
  25. package/skills/calendar/scripts/event_dedupe_preview.py +155 -0
  26. package/skills/canvas/SKILL.md +70 -0
  27. package/skills/canvas/agents/openai.yaml +4 -0
  28. package/skills/canvas/references/canvas-api.md +76 -0
  29. package/skills/course-exam-review-planner/SKILL.md +127 -0
  30. package/skills/cx/SKILL.md +25 -0
  31. package/skills/gh-fix-ci/LICENSE.txt +201 -0
  32. package/skills/gh-fix-ci/SKILL.md +81 -0
  33. package/skills/gh-fix-ci/agents/openai.yaml +6 -0
  34. package/skills/gh-fix-ci/assets/github-small.svg +3 -0
  35. package/skills/gh-fix-ci/assets/github.png +0 -0
  36. package/skills/gh-fix-ci/scripts/inspect_pr_checks.py +509 -0
  37. package/skills/gh-review-workflow/SKILL.md +61 -0
  38. package/skills/gh-review-workflow/agents/openai.yaml +4 -0
  39. package/skills/gh-review-workflow/references/workflow.md +48 -0
  40. package/skills/gh-review-workflow/scripts/fetch_review_state.py +222 -0
  41. package/skills/gh-review-workflow/scripts/resolve_review_threads.py +83 -0
  42. package/skills/github/SKILL.md +74 -0
  43. package/skills/github/agents/openai.yaml +6 -0
  44. package/skills/github/assets/github-small.svg +3 -0
  45. package/skills/github/assets/github.png +0 -0
  46. package/skills/gws-calendar/SKILL.md +126 -0
  47. package/skills/gws-calendar-agenda/SKILL.md +52 -0
  48. package/skills/gws-calendar-insert/SKILL.md +66 -0
  49. package/skills/gws-docs/SKILL.md +48 -0
  50. package/skills/gws-docs-write/SKILL.md +49 -0
  51. package/skills/gws-drive/SKILL.md +137 -0
  52. package/skills/gws-drive-upload/SKILL.md +52 -0
  53. package/skills/gws-gmail/SKILL.md +62 -0
  54. package/skills/gws-gmail-forward/SKILL.md +55 -0
  55. package/skills/gws-gmail-reply/SKILL.md +58 -0
  56. package/skills/gws-gmail-reply-all/SKILL.md +62 -0
  57. package/skills/gws-gmail-send/SKILL.md +57 -0
  58. package/skills/gws-gmail-triage/SKILL.md +50 -0
  59. package/skills/gws-gmail-watch/SKILL.md +58 -0
  60. package/skills/gws-shared/SKILL.md +27 -0
  61. package/skills/helium-browser-mcp/SKILL.md +137 -0
  62. package/skills/helium-browser-mcp/agents/openai.yaml +4 -0
  63. package/skills/helium-browser-mcp/scripts/obmcp.mjs +92 -0
  64. package/skills/helium-browser-mcp/scripts/openbrowsermcp-stdio-proxy.mjs +170 -0
  65. package/skills/learn/SKILL.md +122 -0
  66. package/skills/learn/agents/openai.yaml +7 -0
  67. package/skills/learn/assets/AGENTS.template.md +33 -0
  68. package/skills/learn/assets/errorlog.template.typ +61 -0
  69. package/skills/learn/assets/reading-sequence.template.md +23 -0
  70. package/skills/learn/assets/source-index.template.md +17 -0
  71. package/skills/learn/assets/tasklog.template.typ +57 -0
  72. package/skills/learn/assets/workbook.template.typ +60 -0
  73. package/skills/learn/references/learning-science.md +103 -0
  74. package/skills/learn/scripts/init_learning_workspace.py +70 -0
  75. package/skills/macos-messages/SKILL.md +258 -0
  76. package/skills/memory/SKILL.md +33 -0
  77. package/skills/memory/codex.md +186 -0
  78. package/skills/memory/opencode.md +164 -0
  79. package/skills/mimestreamctl/SKILL.md +170 -0
  80. package/skills/mimestreamctl/agents/openai.yaml +4 -0
  81. package/skills/mimestreamctl/scripts/mimestreamctl +33 -0
  82. package/skills/mon/SKILL.md +51 -0
  83. package/skills/mon/scripts/mon_spend_review.py +458 -0
  84. package/skills/ocr/SKILL.md +136 -0
  85. package/skills/ocr/agents/openai.yaml +4 -0
  86. package/skills/ocr/references/local-ocr-best-practices.md +297 -0
  87. package/skills/ocr/references/mineru-api.md +159 -0
  88. package/skills/ocr/scripts/ocr-router +22 -0
  89. package/skills/ocr/scripts/ocr_router.py +741 -0
  90. package/skills/panopto-mp4-bulk-download/SKILL.md +57 -0
  91. package/skills/panopto-mp4-bulk-download/agents/openai.yaml +4 -0
  92. package/skills/panopto-mp4-bulk-download/references/url-patterns.md +26 -0
  93. package/skills/panopto-mp4-bulk-download/scripts/panopto_bulk_mp4.sh +213 -0
  94. package/skills/rust-systems-style/SKILL.md +109 -0
  95. package/skills/rust-systems-style/agents/openai.yaml +4 -0
  96. package/skills/rust-systems-style/references/rust-review-checklist.md +77 -0
  97. package/skills/rust-systems-style/references/style-sources.md +68 -0
  98. package/skills/ship-ai-native-cli/SKILL.md +76 -0
  99. package/skills/ship-ai-native-cli/agents/openai.yaml +4 -0
  100. package/skills/ship-ai-native-cli/references/case-notes.md +83 -0
  101. package/skills/ship-ai-native-cli/references/product-method.md +82 -0
  102. package/skills/ship-ai-native-cli/references/release-checklist.md +147 -0
  103. package/skills/ship-ai-native-cli/references/rust-cli-shape.md +111 -0
  104. package/skills/telegram-mtproto-session/SKILL.md +125 -0
  105. package/skills/telegram-mtproto-session/agents/openai.yaml +4 -0
  106. package/skills/telegram-mtproto-session/scripts/telegram_session.py +687 -0
  107. package/skills/tg/SKILL.md +173 -0
  108. package/skills/things3-manager/SKILL.md +116 -0
  109. package/skills/things3-manager/scripts/things +42 -0
  110. package/skills/things3-manager/scripts/things_cli.py +514 -0
  111. package/skills/web-artifacts-builder/LICENSE.txt +202 -0
  112. package/skills/web-artifacts-builder/SKILL.md +74 -0
  113. package/skills/web-artifacts-builder/scripts/bundle-artifact.sh +54 -0
  114. package/skills/web-artifacts-builder/scripts/init-artifact.sh +379 -0
  115. package/skills/web-artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  116. package/skills/yeet/LICENSE.txt +201 -0
  117. package/skills/yeet/SKILL.md +71 -0
  118. package/skills/yeet/agents/openai.yaml +6 -0
  119. package/skills/yeet/assets/yeet-small.svg +3 -0
  120. package/skills/yeet/assets/yeet.png +0 -0
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: gws-docs
3
+ version: 1.0.0
4
+ description: "Read and write Google Docs."
5
+ metadata:
6
+ openclaw:
7
+ category: "productivity"
8
+ requires:
9
+ bins: ["gws"]
10
+ cliHelp: "gws docs --help"
11
+ ---
12
+
13
+ # docs (v1)
14
+
15
+ > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
16
+
17
+ ```bash
18
+ gws docs <resource> <method> [flags]
19
+ ```
20
+
21
+ ## Helper Commands
22
+
23
+ | Command | Description |
24
+ |---------|-------------|
25
+ | [`+write`](../gws-docs-write/SKILL.md) | Append text to a document |
26
+
27
+ ## API Resources
28
+
29
+ ### documents
30
+
31
+ - `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.
32
+ - `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.
33
+ - `get` — Gets the latest version of the specified document.
34
+
35
+ ## Discovering Commands
36
+
37
+ Before calling any API method, inspect it:
38
+
39
+ ```bash
40
+ # Browse resources and methods
41
+ gws docs --help
42
+
43
+ # Inspect a method's required params, types, and defaults
44
+ gws schema docs.<resource>.<method>
45
+ ```
46
+
47
+ Use `gws schema` output to build your `--params` and `--json` flags.
48
+
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: gws-docs-write
3
+ version: 1.0.0
4
+ description: "Google Docs: Append text to a document."
5
+ metadata:
6
+ openclaw:
7
+ category: "productivity"
8
+ requires:
9
+ bins: ["gws"]
10
+ cliHelp: "gws docs +write --help"
11
+ ---
12
+
13
+ # docs +write
14
+
15
+ > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
16
+
17
+ Append text to a document
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ gws docs +write --document <ID> --text <TEXT>
23
+ ```
24
+
25
+ ## Flags
26
+
27
+ | Flag | Required | Default | Description |
28
+ |------|----------|---------|-------------|
29
+ | `--document` | ✓ | — | Document ID |
30
+ | `--text` | ✓ | — | Text to append (plain text) |
31
+
32
+ ## Examples
33
+
34
+ ```bash
35
+ gws docs +write --document DOC_ID --text 'Hello, world!'
36
+ ```
37
+
38
+ ## Tips
39
+
40
+ - Text is inserted at the end of the document body.
41
+ - For rich formatting, use the raw batchUpdate API instead.
42
+
43
+ > [!CAUTION]
44
+ > This is a **write** command — confirm with the user before executing.
45
+
46
+ ## See Also
47
+
48
+ - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
49
+ - [gws-docs](../gws-docs/SKILL.md) — All read and write google docs commands
@@ -0,0 +1,137 @@
1
+ ---
2
+ name: gws-drive
3
+ version: 1.0.0
4
+ description: "Google Drive: Manage files, folders, and shared drives."
5
+ metadata:
6
+ openclaw:
7
+ category: "productivity"
8
+ requires:
9
+ bins: ["gws"]
10
+ cliHelp: "gws drive --help"
11
+ ---
12
+
13
+ # drive (v3)
14
+
15
+ > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
16
+
17
+ ```bash
18
+ gws drive <resource> <method> [flags]
19
+ ```
20
+
21
+ ## Helper Commands
22
+
23
+ | Command | Description |
24
+ |---------|-------------|
25
+ | [`+upload`](../gws-drive-upload/SKILL.md) | Upload a file with automatic metadata |
26
+
27
+ ## API Resources
28
+
29
+ ### about
30
+
31
+ - `get` — Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).
32
+
33
+ ### accessproposals
34
+
35
+ - `get` — Retrieves an access proposal by ID. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access).
36
+ - `list` — List the access proposals on a file. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access). Note: Only approvers are able to list access proposals on a file. If the user isn't an approver, a 403 error is returned.
37
+ - `resolve` — Approves or denies an access proposal. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access).
38
+
39
+ ### approvals
40
+
41
+ - `get` — Gets an Approval by ID.
42
+ - `list` — Lists the Approvals on a file.
43
+
44
+ ### apps
45
+
46
+ - `get` — Gets a specific app. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).
47
+ - `list` — Lists a user's installed apps. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).
48
+
49
+ ### changes
50
+
51
+ - `getStartPageToken` — Gets the starting pageToken for listing future changes. For more information, see [Retrieve changes](https://developers.google.com/workspace/drive/api/guides/manage-changes).
52
+ - `list` — Lists the changes for a user or shared drive. For more information, see [Retrieve changes](https://developers.google.com/workspace/drive/api/guides/manage-changes).
53
+ - `watch` — Subscribes to changes for a user. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).
54
+
55
+ ### channels
56
+
57
+ - `stop` — Stops watching resources through this channel. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).
58
+
59
+ ### comments
60
+
61
+ - `create` — Creates a comment on a file. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).
62
+ - `delete` — Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
63
+ - `get` — Gets a comment by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).
64
+ - `list` — Lists a file's comments. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).
65
+ - `update` — Updates a comment with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).
66
+
67
+ ### drives
68
+
69
+ - `create` — Creates a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
70
+ - `get` — Gets a shared drive's metadata by ID. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
71
+ - `hide` — Hides a shared drive from the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
72
+ - `list` — Lists the user's shared drives. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for shared drives](/workspace/drive/api/guides/search-shareddrives) guide.
73
+ - `unhide` — Restores a shared drive to the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
74
+ - `update` — Updates the metadata for a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
75
+
76
+ ### files
77
+
78
+ - `copy` — Creates a copy of a file and applies any requested updates with patch semantics. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).
79
+ - `create` — Creates a file. For more information, see [Create and manage files](/workspace/drive/api/guides/create-file). This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded.
80
+ - `download` — Downloads the content of a file. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). Operations are valid for 24 hours from the time of creation.
81
+ - `export` — Exports a Google Workspace document to the requested MIME type and returns exported byte content. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). Note that the exported content is limited to 10 MB.
82
+ - `generateIds` — Generates a set of file IDs which can be provided in create or copy requests. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).
83
+ - `get` — Gets a file's metadata or content by ID. For more information, see [Search for files and folders](/workspace/drive/api/guides/search-files). If you provide the URL parameter `alt=media`, then the response includes the file contents in the response body. Downloading content with `alt=media` only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use [`files.export`](/workspace/drive/api/reference/rest/v3/files/export) instead.
84
+ - `list` — Lists the user's files. For more information, see [Search for files and folders](/workspace/drive/api/guides/search-files). This method accepts the `q` parameter, which is a search query combining one or more search terms. This method returns *all* files by default, including trashed files. If you don't want trashed files to appear in the list, use the `trashed=false` query parameter to remove trashed files from the results.
85
+ - `listLabels` — Lists the labels on a file. For more information, see [List labels on a file](https://developers.google.com/workspace/drive/api/guides/list-labels).
86
+ - `modifyLabels` — Modifies the set of labels applied to a file. For more information, see [Set a label field on a file](https://developers.google.com/workspace/drive/api/guides/set-label). Returns a list of the labels that were added or modified.
87
+ - `update` — Updates a file's metadata, content, or both. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might be changed automatically, such as `modifiedDate`. This method supports patch semantics. This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value.
88
+ - `watch` — Subscribes to changes to a file. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).
89
+
90
+ ### operations
91
+
92
+ - `get` — Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
93
+
94
+ ### permissions
95
+
96
+ - `create` — Creates a permission for a file or shared drive. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permissions operations on the same file aren't supported; only the last update is applied.
97
+ - `delete` — Deletes a permission. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permissions operations on the same file aren't supported; only the last update is applied.
98
+ - `get` — Gets a permission by ID. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).
99
+ - `list` — Lists a file's or shared drive's permissions. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).
100
+ - `update` — Updates a permission with patch semantics. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permissions operations on the same file aren't supported; only the last update is applied.
101
+
102
+ ### replies
103
+
104
+ - `create` — Creates a reply to a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
105
+ - `delete` — Deletes a reply. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
106
+ - `get` — Gets a reply by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
107
+ - `list` — Lists a comment's replies. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
108
+ - `update` — Updates a reply with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).
109
+
110
+ ### revisions
111
+
112
+ - `delete` — Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted. For more information, see [Manage file revisions](https://developers.google.com/drive/api/guides/manage-revisions).
113
+ - `get` — Gets a revision's metadata or content by ID. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).
114
+ - `list` — Lists a file's revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). **Important:** The list of revisions returned by this method might be incomplete for files with a large revision history, including frequently edited Google Docs, Sheets, and Slides. Older revisions might be omitted from the response, meaning the first revision returned may not be the oldest existing revision.
115
+ - `update` — Updates a revision with patch semantics. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).
116
+
117
+ ### teamdrives
118
+
119
+ - `create` — Deprecated: Use `drives.create` instead.
120
+ - `get` — Deprecated: Use `drives.get` instead.
121
+ - `list` — Deprecated: Use `drives.list` instead.
122
+ - `update` — Deprecated: Use `drives.update` instead.
123
+
124
+ ## Discovering Commands
125
+
126
+ Before calling any API method, inspect it:
127
+
128
+ ```bash
129
+ # Browse resources and methods
130
+ gws drive --help
131
+
132
+ # Inspect a method's required params, types, and defaults
133
+ gws schema drive.<resource>.<method>
134
+ ```
135
+
136
+ Use `gws schema` output to build your `--params` and `--json` flags.
137
+
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: gws-drive-upload
3
+ version: 1.0.0
4
+ description: "Google Drive: Upload a file with automatic metadata."
5
+ metadata:
6
+ openclaw:
7
+ category: "productivity"
8
+ requires:
9
+ bins: ["gws"]
10
+ cliHelp: "gws drive +upload --help"
11
+ ---
12
+
13
+ # drive +upload
14
+
15
+ > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
16
+
17
+ Upload a file with automatic metadata
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ gws drive +upload <file>
23
+ ```
24
+
25
+ ## Flags
26
+
27
+ | Flag | Required | Default | Description |
28
+ |------|----------|---------|-------------|
29
+ | `<file>` | ✓ | — | Path to file to upload |
30
+ | `--parent` | — | — | Parent folder ID |
31
+ | `--name` | — | — | Target filename (defaults to source filename) |
32
+
33
+ ## Examples
34
+
35
+ ```bash
36
+ gws drive +upload ./report.pdf
37
+ gws drive +upload ./report.pdf --parent FOLDER_ID
38
+ gws drive +upload ./data.csv --name 'Sales Data.csv'
39
+ ```
40
+
41
+ ## Tips
42
+
43
+ - MIME type is detected automatically.
44
+ - Filename is inferred from the local path unless --name is given.
45
+
46
+ > [!CAUTION]
47
+ > This is a **write** command — confirm with the user before executing.
48
+
49
+ ## See Also
50
+
51
+ - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
52
+ - [gws-drive](../gws-drive/SKILL.md) — All manage files, folders, and shared drives commands
@@ -0,0 +1,62 @@
1
+ ---
2
+ name: gws-gmail
3
+ version: 1.0.0
4
+ description: "Gmail: Send, read, and manage email."
5
+ metadata:
6
+ openclaw:
7
+ category: "productivity"
8
+ requires:
9
+ bins: ["gws"]
10
+ cliHelp: "gws gmail --help"
11
+ ---
12
+
13
+ # gmail (v1)
14
+
15
+ > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
16
+
17
+ Use this for Gmail API work through `gws`. If the user asks to operate the
18
+ local Mimestream app, current selection, menus, or local drafts, use
19
+ `mimestreamctl` instead.
20
+
21
+ ```bash
22
+ gws gmail <resource> <method> [flags]
23
+ ```
24
+
25
+ ## Helper Commands
26
+
27
+ | Command | Description |
28
+ |---------|-------------|
29
+ | [`+send`](../gws-gmail-send/SKILL.md) | Send an email |
30
+ | [`+triage`](../gws-gmail-triage/SKILL.md) | Show unread inbox summary (sender, subject, date) |
31
+ | [`+reply`](../gws-gmail-reply/SKILL.md) | Reply to a message (handles threading automatically) |
32
+ | [`+reply-all`](../gws-gmail-reply-all/SKILL.md) | Reply-all to a message (handles threading automatically) |
33
+ | [`+forward`](../gws-gmail-forward/SKILL.md) | Forward a message to new recipients |
34
+ | [`+watch`](../gws-gmail-watch/SKILL.md) | Watch for new emails and stream them as NDJSON |
35
+
36
+ ## API Resources
37
+
38
+ ### users
39
+
40
+ - `getProfile` — Gets the current user's Gmail profile.
41
+ - `stop` — Stop receiving push notifications for the given user mailbox.
42
+ - `watch` — Set up or update a push notification watch on the given user mailbox.
43
+ - `drafts` — Operations on the 'drafts' resource
44
+ - `history` — Operations on the 'history' resource
45
+ - `labels` — Operations on the 'labels' resource
46
+ - `messages` — Operations on the 'messages' resource
47
+ - `settings` — Operations on the 'settings' resource
48
+ - `threads` — Operations on the 'threads' resource
49
+
50
+ ## Discovering Commands
51
+
52
+ Before calling any API method, inspect it:
53
+
54
+ ```bash
55
+ # Browse resources and methods
56
+ gws gmail --help
57
+
58
+ # Inspect a method's required params, types, and defaults
59
+ gws schema gmail.<resource>.<method>
60
+ ```
61
+
62
+ Use `gws schema` output to build your `--params` and `--json` flags.
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: gws-gmail-forward
3
+ version: 1.0.0
4
+ description: "Gmail: Forward a message to new recipients."
5
+ metadata:
6
+ openclaw:
7
+ category: "productivity"
8
+ requires:
9
+ bins: ["gws"]
10
+ cliHelp: "gws gmail +forward --help"
11
+ ---
12
+
13
+ # gmail +forward
14
+
15
+ > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
16
+
17
+ Forward a message to new recipients
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ gws gmail +forward --message-id <ID> --to <EMAILS>
23
+ ```
24
+
25
+ ## Flags
26
+
27
+ | Flag | Required | Default | Description |
28
+ |------|----------|---------|-------------|
29
+ | `--message-id` | ✓ | — | Gmail message ID to forward |
30
+ | `--to` | ✓ | — | Recipient email address(es), comma-separated |
31
+ | `--from` | — | — | Sender address (for send-as/alias; omit to use account default) |
32
+ | `--cc` | — | — | CC email address(es), comma-separated |
33
+ | `--bcc` | — | — | BCC email address(es), comma-separated |
34
+ | `--body` | — | — | Optional note to include above the forwarded message (plain text, or HTML with --html) |
35
+ | `--html` | — | — | Send as HTML (formats forwarded block with Gmail styling; treat --body as HTML) |
36
+ | `--dry-run` | — | — | Show the request that would be sent without executing it |
37
+
38
+ ## Examples
39
+
40
+ ```bash
41
+ gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com
42
+ gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body 'FYI see below'
43
+ gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --cc eve@example.com
44
+ gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --bcc secret@example.com
45
+ gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body '<p>FYI</p>' --html
46
+ ```
47
+
48
+ ## Tips
49
+
50
+ - Includes the original message with sender, date, subject, and recipients.
51
+
52
+ ## See Also
53
+
54
+ - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
55
+ - [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands
@@ -0,0 +1,58 @@
1
+ ---
2
+ name: gws-gmail-reply
3
+ version: 1.0.0
4
+ description: "Gmail: Reply to a message (handles threading automatically)."
5
+ metadata:
6
+ openclaw:
7
+ category: "productivity"
8
+ requires:
9
+ bins: ["gws"]
10
+ cliHelp: "gws gmail +reply --help"
11
+ ---
12
+
13
+ # gmail +reply
14
+
15
+ > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
16
+
17
+ Reply to a message (handles threading automatically)
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ gws gmail +reply --message-id <ID> --body <TEXT>
23
+ ```
24
+
25
+ ## Flags
26
+
27
+ | Flag | Required | Default | Description |
28
+ |------|----------|---------|-------------|
29
+ | `--message-id` | ✓ | — | Gmail message ID to reply to |
30
+ | `--body` | ✓ | — | Reply body (plain text, or HTML with --html) |
31
+ | `--from` | — | — | Sender address (for send-as/alias; omit to use account default) |
32
+ | `--to` | — | — | Additional To email address(es), comma-separated |
33
+ | `--cc` | — | — | Additional CC email address(es), comma-separated |
34
+ | `--bcc` | — | — | BCC email address(es), comma-separated |
35
+ | `--html` | — | — | Send as HTML (quotes original with Gmail styling; treat --body as HTML) |
36
+ | `--dry-run` | — | — | Show the request that would be sent without executing it |
37
+
38
+ ## Examples
39
+
40
+ ```bash
41
+ gws gmail +reply --message-id 18f1a2b3c4d --body 'Thanks, got it!'
42
+ gws gmail +reply --message-id 18f1a2b3c4d --body 'Looping in Carol' --cc carol@example.com
43
+ gws gmail +reply --message-id 18f1a2b3c4d --body 'Adding Dave' --to dave@example.com
44
+ gws gmail +reply --message-id 18f1a2b3c4d --body 'Reply' --bcc secret@example.com
45
+ gws gmail +reply --message-id 18f1a2b3c4d --body '<b>Bold reply</b>' --html
46
+ ```
47
+
48
+ ## Tips
49
+
50
+ - Automatically sets In-Reply-To, References, and threadId headers.
51
+ - Quotes the original message in the reply body.
52
+ - --to adds extra recipients to the To field.
53
+ - For reply-all, use +reply-all instead.
54
+
55
+ ## See Also
56
+
57
+ - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
58
+ - [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands
@@ -0,0 +1,62 @@
1
+ ---
2
+ name: gws-gmail-reply-all
3
+ version: 1.0.0
4
+ description: "Gmail: Reply-all to a message (handles threading automatically)."
5
+ metadata:
6
+ openclaw:
7
+ category: "productivity"
8
+ requires:
9
+ bins: ["gws"]
10
+ cliHelp: "gws gmail +reply-all --help"
11
+ ---
12
+
13
+ # gmail +reply-all
14
+
15
+ > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
16
+
17
+ Reply-all to a message (handles threading automatically)
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ gws gmail +reply-all --message-id <ID> --body <TEXT>
23
+ ```
24
+
25
+ ## Flags
26
+
27
+ | Flag | Required | Default | Description |
28
+ |------|----------|---------|-------------|
29
+ | `--message-id` | ✓ | — | Gmail message ID to reply to |
30
+ | `--body` | ✓ | — | Reply body (plain text, or HTML with --html) |
31
+ | `--from` | — | — | Sender address (for send-as/alias; omit to use account default) |
32
+ | `--to` | — | — | Additional To email address(es), comma-separated |
33
+ | `--cc` | — | — | Additional CC email address(es), comma-separated |
34
+ | `--bcc` | — | — | BCC email address(es), comma-separated |
35
+ | `--remove` | — | — | Exclude recipients from the outgoing reply (comma-separated emails) |
36
+ | `--html` | — | — | Send as HTML (quotes original with Gmail styling; treat --body as HTML) |
37
+ | `--dry-run` | — | — | Show the request that would be sent without executing it |
38
+
39
+ ## Examples
40
+
41
+ ```bash
42
+ gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Sounds good to me!'
43
+ gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Updated' --remove bob@example.com
44
+ gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Adding Eve' --cc eve@example.com
45
+ gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Adding Dave' --to dave@example.com
46
+ gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Reply' --bcc secret@example.com
47
+ gws gmail +reply-all --message-id 18f1a2b3c4d --body '<i>Noted</i>' --html
48
+ ```
49
+
50
+ ## Tips
51
+
52
+ - Replies to the sender and all original To/CC recipients.
53
+ - Use --to to add extra recipients to the To field.
54
+ - Use --cc to add new CC recipients.
55
+ - Use --bcc for recipients who should not be visible to others.
56
+ - Use --remove to exclude recipients from the outgoing reply, including the sender or Reply-To target.
57
+ - The command fails if no To recipient remains after exclusions and --to additions.
58
+
59
+ ## See Also
60
+
61
+ - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
62
+ - [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: gws-gmail-send
3
+ version: 1.0.0
4
+ description: "Gmail: Send an email."
5
+ metadata:
6
+ openclaw:
7
+ category: "productivity"
8
+ requires:
9
+ bins: ["gws"]
10
+ cliHelp: "gws gmail +send --help"
11
+ ---
12
+
13
+ # gmail +send
14
+
15
+ > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
16
+
17
+ Send an email
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT>
23
+ ```
24
+
25
+ ## Flags
26
+
27
+ | Flag | Required | Default | Description |
28
+ |------|----------|---------|-------------|
29
+ | `--to` | ✓ | — | Recipient email address(es), comma-separated |
30
+ | `--subject` | ✓ | — | Email subject |
31
+ | `--body` | ✓ | — | Email body (plain text, or HTML with --html) |
32
+ | `--cc` | — | — | CC email address(es), comma-separated |
33
+ | `--bcc` | — | — | BCC email address(es), comma-separated |
34
+ | `--html` | — | — | Treat --body as HTML content (default is plain text) |
35
+ | `--dry-run` | — | — | Show the request that would be sent without executing it |
36
+
37
+ ## Examples
38
+
39
+ ```bash
40
+ gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi Alice!'
41
+ gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --cc bob@example.com
42
+ gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --bcc secret@example.com
43
+ gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> text' --html
44
+ ```
45
+
46
+ ## Tips
47
+
48
+ - Handles RFC 2822 formatting and base64 encoding automatically.
49
+ - For attachments, use the raw API instead: gws gmail users messages send --json '...'
50
+
51
+ > [!CAUTION]
52
+ > This is a **write** command — confirm with the user before executing.
53
+
54
+ ## See Also
55
+
56
+ - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
57
+ - [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands
@@ -0,0 +1,50 @@
1
+ ---
2
+ name: gws-gmail-triage
3
+ version: 1.0.0
4
+ description: "Gmail: Show unread inbox summary (sender, subject, date)."
5
+ metadata:
6
+ openclaw:
7
+ category: "productivity"
8
+ requires:
9
+ bins: ["gws"]
10
+ cliHelp: "gws gmail +triage --help"
11
+ ---
12
+
13
+ # gmail +triage
14
+
15
+ > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
16
+
17
+ Show unread inbox summary (sender, subject, date)
18
+
19
+ ## Usage
20
+
21
+ ```bash
22
+ gws gmail +triage
23
+ ```
24
+
25
+ ## Flags
26
+
27
+ | Flag | Required | Default | Description |
28
+ |------|----------|---------|-------------|
29
+ | `--max` | — | 20 | Maximum messages to show (default: 20) |
30
+ | `--query` | — | — | Gmail search query (default: is:unread) |
31
+ | `--labels` | — | — | Include label names in output |
32
+
33
+ ## Examples
34
+
35
+ ```bash
36
+ gws gmail +triage
37
+ gws gmail +triage --max 5 --query 'from:boss'
38
+ gws gmail +triage --format json | jq '.[].subject'
39
+ gws gmail +triage --labels
40
+ ```
41
+
42
+ ## Tips
43
+
44
+ - Read-only — never modifies your mailbox.
45
+ - Defaults to table output format.
46
+
47
+ ## See Also
48
+
49
+ - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
50
+ - [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands