gws-keep
Google Keep CLI operations via gws. Use when users need to list, view, or create Google Keep notes. Triggers: keep, google keep, notes, sticky notes.
Best use case
gws-keep is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Google Keep CLI operations via gws. Use when users need to list, view, or create Google Keep notes. Triggers: keep, google keep, notes, sticky notes.
Teams using gws-keep should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/keep/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How gws-keep Compares
| Feature / Agent | gws-keep | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Google Keep CLI operations via gws. Use when users need to list, view, or create Google Keep notes. Triggers: keep, google keep, notes, sticky notes.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Google Keep (gws keep)
`gws keep` provides CLI access to Google Keep via the Keep API with structured JSON output.
> **Disclaimer:** `gws` is not the official Google CLI. This is an independent, open-source project not endorsed by or affiliated with Google.
## Dependency Check
**Before executing any `gws` command**, verify the CLI is installed:
```bash
gws version
```
If not found, install: `go install github.com/omriariav/workspace-cli/cmd/gws@latest`
**Minimum version required:** v1.18.0 (Keep support added in this release)
## Prerequisites
- **Keep API** must be enabled in the Google Cloud project
- **Google Workspace Enterprise plan** is required (the Keep API is not available for personal Gmail or standard Workspace accounts)
## Authentication
Requires OAuth2 credentials. Run `gws auth status` to check.
If not authenticated: `gws auth login` (opens browser for OAuth consent).
For initial setup, see the `gws-auth` skill.
## Quick Command Reference
| Task | Command |
|------|---------|
| List notes | `gws keep list` |
| List more notes | `gws keep list --max 50` |
| Get a specific note | `gws keep get <note-id>` |
| Create a note | `gws keep create --title "Title" --text "Content"` |
## Detailed Usage
### list -- List notes
```bash
gws keep list [flags]
```
Lists notes from Google Keep.
**Flags:**
- `--max int` -- Maximum number of notes to return (default 20)
**Output includes:**
- `name` -- Note resource name (e.g., `notes/abc123`)
- `title` -- Note title
- `text` -- Note text content (if available)
- `create_time` -- Creation timestamp (if available)
- `update_time` -- Last update timestamp (if available)
- `trashed` -- Whether the note is trashed (only present if true)
**Examples:**
```bash
gws keep list
gws keep list --max 50
gws keep list --format json | jq '.notes[] | {name, title}'
```
### get -- Get a note
```bash
gws keep get <note-id>
```
Gets a specific note from Google Keep by its ID.
**Arguments:**
- `note-id` -- Note identifier (required, e.g., `notes/abc123` or just `abc123`)
**Output includes:**
- `name` -- Note resource name
- `title` -- Note title
- `text` -- Note text content (if available)
- `create_time` -- Creation timestamp (if available)
- `update_time` -- Last update timestamp (if available)
- `trashed` -- Whether the note is trashed (only present if true)
**Examples:**
```bash
gws keep get notes/abc123
gws keep get abc123
```
**Tip:** The `notes/` prefix is optional -- the CLI automatically prepends it if missing:
```bash
gws keep list --format json | jq -r '.notes[0].name' | xargs gws keep get
```
### create -- Create a note
```bash
gws keep create --title <title> --text <text>
```
Creates a new note in Google Keep.
**Flags:**
- `--title string` -- Note title (required)
- `--text string` -- Note text content (required)
**Output includes:**
- `name` -- New note's resource name
- `title` -- Note title
- `text` -- Note text content
- `create_time` -- Creation timestamp
- `update_time` -- Last update timestamp
**Examples:**
```bash
gws keep create --title "Shopping List" --text "Milk, eggs, bread"
gws keep create --title "Meeting Notes" --text "Discuss Q1 goals"
gws keep create --title "Reminder" --text "Call dentist at 3pm"
```
## Output Modes
```bash
gws keep list --format json # Structured JSON (default)
gws keep list --format yaml # YAML format
gws keep list --format text # Human-readable text
```
## Tips for AI Agents
- Always use `--format json` (the default) for programmatic parsing
- Use `gws keep list` to discover note IDs, then use `get` for full details
- Note IDs follow the format `notes/<alphanumeric-id>` (e.g., `notes/abc123`)
- The `get` command accepts both `notes/abc123` and `abc123` -- the `notes/` prefix is added automatically if missing
- Both `--title` and `--text` are required when creating a note
- The `list` command default is 20 notes; increase with `--max` if you need more
- Use `--quiet` on any command to suppress JSON output (useful for scripted actions)
- This command requires the Keep API enabled and a Google Workspace Enterprise plan -- it will not work with personal Gmail or standard Workspace accounts
- The Keep API is read/create only via this CLI -- note updates and deletions are not currently supportedRelated Skills
gws-tasks
Google Tasks CLI operations via gws. Use when users need to manage task lists, view/create/update/delete tasks, move tasks, or clear completed. Triggers: google tasks, task list, todo, task management.
gws-slides
Google Slides CLI operations via gws. Use when users need to create, read, or edit Google Slides presentations. Triggers: slides, presentation, google slides, deck.
gws-sheets
Google Sheets CLI operations via gws. Use when users need to read, write, or manage Google Sheets spreadsheets including cell values, rows, columns, sheets, sorting, merging, formatting, and find-replace. Triggers: sheets, spreadsheet, google sheets, cells, rows, columns, formulas, formatting.
gws-search
Google Custom Search CLI operations via gws. Use when users need to perform web searches using Google Programmable Search Engine. Triggers: google search, custom search, web search.
gws-groups
Google Groups CLI operations via gws. Use when users need to list groups or view group members. Triggers: groups, google groups, admin directory, group members.
gws-gmail
Google Gmail CLI operations via gws. Use when users need to list emails, read messages, send email, manage labels, drafts, attachments, batch operations, or trash messages. Triggers: gmail, email, inbox, send email, mail, labels, archive, trash, drafts, attachments.
gws-forms
Google Forms CLI operations via gws. Use when users need to get form metadata, retrieve form responses, create forms, or update forms. Triggers: google forms, form responses, survey, form data, create form, update form.
gws-drive
Google Drive CLI operations via gws. Use when users need to list, search, upload, download, manage files/folders, permissions, revisions, comments, shared drives, and more. Triggers: drive, files, upload, download, folders, google drive, file management, permissions, share, shared drives.
gws-docs
Google Docs CLI operations via gws. Use when users need to read, create, or edit Google Docs documents. Triggers: google docs, document, gdoc, word processing.
gws-contacts
Google Contacts CLI operations via gws. Use when users need to list, search, view, create, or delete contacts. Triggers: contacts, google contacts, people api, contact management.
gws-chat
Google Chat CLI operations via gws. Use when users need to list/create/manage chat spaces, read/send messages, manage members, track read state, handle attachments, or monitor space events. Triggers: google chat, gchat, chat spaces, chat messages.
gws-calendar
Google Calendar CLI operations via gws. Use when users need to list calendars, view events, create/update/delete events, RSVP to invitations, manage calendar CRUD, subscriptions, ACL, free/busy queries, colors, and settings. Triggers: calendar, events, meetings, schedule, rsvp, invite, share, freebusy.