返回顶部
g

google-keep

Read, create, edit, search, and manage Google Keep notes and lists via CLI.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
648
下载量
0
收藏
概述
安装方式
版本历史

google-keep

# Google Keep CLI Skill Manage Google Keep notes and lists from the command line using the unofficial gkeepapi. ## Setup After installing, the CLI lives in the skill directory. Set up a convenience alias or wrapper: ```bash SKILL_DIR="<path-to-this-skill>" # e.g. skills/google-keep alias gkeep="$SKILL_DIR/.venv/bin/python3 $SKILL_DIR/gkeep.py" ``` Or create a global wrapper: ```bash cat > ~/.local/bin/gkeep << 'EOF' #!/bin/bash SKILL_DIR="$(dirname "$(readlink -f "$0")")/../.openclaw/workspace/skills/google-keep" exec "$SKILL_DIR/.venv/bin/python3" "$SKILL_DIR/gkeep.py" "$@" EOF chmod +x ~/.local/bin/gkeep ``` ## Authentication ### First-time setup (OAuth token exchange): 1. Go to https://accounts.google.com/EmbeddedSetup in your browser 2. Log in with your Google account 3. Click "I agree" on the consent screen (page may spin forever — ignore it) 4. Open DevTools: F12 → Application tab → Cookies → accounts.google.com 5. Copy the value of the `oauth_token` cookie 6. Run: ```bash gkeep auth <email> <oauth_token> ``` ### With pre-obtained master token: ```bash gkeep auth-master <email> <master_token> ``` Credentials are stored in `<skill-dir>/.config/` (chmod 600). The master token has full account access — treat it like a password. It does **not expire** (unlike standard OAuth refresh tokens). ## Commands ### List notes ```bash gkeep list # Active notes gkeep list --archived # Include archived gkeep list --pinned # Pinned only gkeep list --label "Shopping" # Filter by label gkeep list --json # JSON output gkeep list -v # Show IDs ``` ### Search ```bash gkeep search "grocery" gkeep search "todo" --json ``` ### Get a specific note ```bash gkeep get <note-id> gkeep get "Shopping List" # By title (case-insensitive) gkeep get <id> --json ``` ### Create notes ```bash gkeep create --title "Ideas" --text "Some thoughts" gkeep create --title "Groceries" --list --items "Milk" "Eggs" "Bread" gkeep create --title "Important" --pin --color Red --label "Work" ``` ### Edit notes ```bash gkeep edit <id-or-title> --title "New Title" gkeep edit <id-or-title> --text "Updated text" gkeep edit <id-or-title> --pin true gkeep edit <id-or-title> --archive true gkeep edit <id-or-title> --color Blue ``` ### List operations ```bash gkeep check "Groceries" "milk" # Check off an item gkeep check "Groceries" "milk" --uncheck # Uncheck gkeep check "Groceries" "m" --all # Check all matching gkeep add-item "Groceries" "Butter" "Cheese" # Add items ``` ### Delete (trash) ```bash gkeep delete <id-or-title> ``` ### Labels ```bash gkeep labels # List all labels gkeep labels --json ``` ### Export / backup ```bash gkeep dump # All notes as JSON gkeep dump > backup.json ``` ## Colors Valid colors: White, Red, Orange, Yellow, Green, Teal, Blue, DarkBlue, Purple, Pink, Brown, Gray ## How it works - Uses [gkeepapi](https://github.com/kiwiz/gkeepapi) (1,600+ stars, actively maintained) — an unofficial reverse-engineered Google Keep client - Auth via [gpsoauth](https://github.com/simon-weber/gpsoauth) — Google Play Services OAuth flow to obtain a master token - State is cached locally (`.config/state.json`) for fast startup after the initial sync - Master tokens don't expire, so no re-auth dance - **Unofficial API** — Google could break compatibility at any time (but gkeepapi has been stable for years) ## Security notes - The master token grants **full access** to the associated Google account - Credentials are stored with 600 permissions in `.config/` - Never commit `.config/` to version control - `delete` moves notes to trash (recoverable) — it does not permanently delete

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 google-keep-1776420049 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 google-keep-1776420049 技能

通过命令行安装

skillhub install google-keep-1776420049

下载 Zip 包

⬇ 下载 google-keep v1.0.0

文件大小: 6.53 KB | 发布时间: 2026-4-17 19:06

v1.0.0 最新 2026-4-17 19:06
Initial release: Manage Google Keep notes and lists via the command line.

- Read, create, search, edit, and delete Google Keep notes and checklists using CLI commands.
- Authenticate with Google using oauth_token or master token; credentials stored securely.
- Supports filtering, archiving, pinning, labeling, color, and exporting notes to JSON.
- Bulk list and item management, including check/uncheck and label operations.
- Uses unofficial gkeepapi and gpsoauth for backend functionality.
- Credentials and state cached locally for convenience and performance.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部