How to install getnote-auth
npx skills add https://github.com/iswalle/getnote-cli --skill getnote-authClaude Code
Cursor
Windsurf
Cline
Full instructions (SKILL.md)
Source of truth, from iswalle/getnote-cli.
name: getnote-auth version: 0.4.0 description: Manage authentication for Get笔记 CLI
getnote-auth Skill
Log in, log out, and check authentication status.
Commands
Log in
getnote auth login [--api-key <key>]
| Mode | Command | Description |
|---|---|---|
| OAuth (recommended) | getnote auth login | Opens browser to authorize; saves credentials automatically |
| API Key | getnote auth login --api-key <key> | Saves key directly, no browser needed |
# OAuth flow (opens browser)
getnote auth login
# API key directly
getnote auth login --api-key gk_live_xxx
Get your API key at: https://www.biji.com/settings/developer (keys start with gk_live_)
Check status
getnote auth status
Shows whether authenticated and which API key is active.
getnote auth status
Log out
getnote auth logout
Removes saved credentials from ~/.getnote/config.json.
getnote auth logout
Agent Usage Notes
- Always run
getnote auth statusfirst to verify authentication before other commands. - If not authenticated, prompt the user to run
getnote auth login. --api-keyon any command is a temporary per-invocation override and does not save credentials.- Credentials saved at
~/.getnote/config.json; env varsGETNOTE_API_KEY/GETNOTE_CLIENT_IDtake higher priority.
Related skills
More from iswalle/getnote-cli and the wider catalog.
GE
getnote-note
iswalle/getnote-cli
Manage notes in Get笔记 via the getnote CLI
840 installs
GE
getnote-search
iswalle/getnote-cli
Semantic search across notes in Get笔记 via the getnote CLI
784 installsAudited
GE
getnote-kb
iswalle/getnote-cli
Manage knowledge bases in Get笔记 via the getnote CLI
769 installs
GE
getnote-tag
iswalle/getnote-cli
Manage note tags in Get笔记 via the getnote CLI
758 installsAudited