Agent skill · software engineering · iswalle

getnote-auth

安装和连接得到大脑,完成浏览器授权、环境诊断、配额检查、CLI 升级与领域 Skill 同步。用户说“安装/连接/登录/更新得到大脑”“检查为什么不能用”“查看额度”时使用。

Why this skill is useful

Provides specific commands and workflows for managing authentication with Get笔记 CLI that the AI wouldn't reliably generate on its own.

What it needs

Requires getnote account access. About 2k tokens when loaded. Last updated 2026-07-27. 168 stars on the source repository.

What this skill does

得到大脑连接、诊断与升级 负责把“用户想用得到大脑”推进到真正可执行的状态。不要只说“已安装”:CLI 可执行、账号已授权、API 可读三项都通过才算连接成功。 首次安装闭环 按顺序执行,已经满足的步骤直接跳过: 1. 用 command -v getnote 检查 CLI;不要因为 Skill 已安装就假设 CLI 存在。独立的 ClawHub/OpenClaw Skill 由平台管理 CLI 依赖,不查找或运行 scripts/install.sh。 2. CLI 缺失时检查 node --version 和 npm --version,再自动执行 npm install -g @getnote/cli@latest。这是 Agent 的工作,不要求用户手工复制命令;只有系统弹出安装授权时才请用户确认。 3. 执行 getnote version,必须能够正常启动。 4. 执行 getnote auth status。未登录时运行 getnote auth login,让用户只在浏览器中确认,不索要 API Key、Cookie 或 Authorization。 5. 执行 getnote doctor -o json。只有 diagnosticscompleted=true、ready=true 且 status=ready,才能宣布完整连接;ready=true,status=degraded 表示核心能力可用但仍应处理警告。success 和旧 checks 字段仅用于兼容。若未就绪,先处理 issues[].blocking=true,再按 nextactions[] 修复。需要确认的动作不得静默执行。 6. 在 Codex、Claude Code 或 Cursor 等本地 Agent 中,执行 getnote setup 同步 5 个领域 Skill;如果当前平台已经由独立 Skill 包携带这些领域 Skill,或 CLI 明确提示未检测到受支持平台,不把这一步失败误报成账号连接失败。 7. 先用 getnote notes --limit 1 -o json 做无写入验收。只有用户同意创建测试内容时,才保存测试笔记。 日常路由 意图 命令 --- --- 登录 getnote auth login 查看登录状态 getnote auth status 退出登录 getnote auth logout 诊断连接 getnote doctor -o json 查看 CLI 能力契约 getnote capabilities -o json 为本机 AI 同步领域 Skill getnote setup 查看 AI 对话额度 getnote quota -o json 查看版本 getnote version 检查升级 getnote update --check 执行升级 getnote update 参数不确定时读取对应命令的 --help,不要凭旧文档猜参数。 每条命令的结果与下一步 命令 成功后读取/确认 成功后怎么做 --- --- --- getnote auth login 浏览器已确认,凭证已写入本机 再运行 doctor -o json;不在聊天中展示凭证。 getnote auth status Authenticated / Not authenticated 或环境变量登录状态 未登录才启动 auth login;状态里只能出现掩码。 getnote auth logout Logged out successfully. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills iswalle/getnote-auth

View the source on GitHub

Browse the @skills marketplace