← Back to Skills Marketplace
jackie2010

Getnote 1.5.7

by jackie2010 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
98
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install getnote-1-5-7
Description
Get笔记 - 保存、搜索、管理个人笔记和知识库。 **当以下情况时使用此 Skill**: (1) 用户要保存内容到笔记:发链接、发图片、说「记一下」「存到笔记」「保存」「收藏」 (2) 用户要搜索或查看笔记:「搜一下」「找找笔记」「最近存了什么」「看看原文」 (3) 用户要管理知识库或标签:「加到知识库」「建...
README (SKILL.md)

Get笔记 Skill

⚠️ Agent 必读约束

🌐 Base URL

https://openapi.biji.com

所有 API 请求必须使用此 Base URL,不要使用 biji.com 或其他地址。

🔑 认证

请求头:

  • Authorization: $GETNOTE_API_KEY(格式:gk_live_xxx
  • X-Client-ID: $GETNOTE_CLIENT_ID(格式:cli_xxx

每次调用 API 前先检查 $GETNOTE_API_KEY 是否存在。若不存在,提示用户运行 /note config 完成配置,配置完成后再继续执行用户原本的请求。

Scope 权限:note.content.read(读取)、note.content.write(写入)、note.recall.read(搜索)。完整列表见 references/api-details.md

🔢 笔记 ID 处理规则(重要!)

笔记 ID 是 64 位整数(int64),超出 JavaScript Number.MAX_SAFE_INTEGER,直接 JSON.parse静默丢失精度

正确做法:始终把 ID 当字符串处理,在 JSON.parse 之前替换:

const safe = text.replace(/"(id|note_id|next_cursor|parent_id|follow_id|live_id)"\s*:\s*(\d+)/g, '"$1":"$2"');
const data = JSON.parse(safe);

Python / Go 等语言原生支持大整数,无此问题。

🔒 安全规则

  • 笔记数据属于用户隐私,不在群聊中主动展示笔记内容
  • 若配置了 GETNOTE_OWNER_ID,检查 sender_id 是否匹配;不匹配时回复「抱歉,笔记是私密的,我无法操作」
  • API 返回 error.reason: "not_member" 或错误码 10201 时,引导开通会员:https://www.biji.com/checkout?product_alias=6AydVpYeKl
  • 创建笔记建议间隔 1 分钟以上,避免触发限流

指令路由表

匹配指令后,用 read 工具读取对应的 references/xxx.md 获取完整 API 文档。

指令 角色 说明 详细文档
/note save 或「记一下」 📝 速记员 保存文本/链接/图片笔记(含异步轮询流程) references/save.md
/note search 或「搜一下」 🔍 搜索官 全局语义搜索 + 知识库语义搜索 references/search.md
/note list 或「最近的笔记」 📋 整理师 浏览列表、查看详情、更新、删除 references/list.md
/note kb 或「知识库」 📚 图书管理员 知识库 CRUD + 博主订阅 + 直播订阅 references/knowledge.md
/note tag 或「加标签」 🏷️ 标签员 添加/删除标签 references/tags.md
/note config 或「配置笔记」 ⚙️ 配置 配置 API Key 和 Client ID references/oauth.md

自然语言路由

包含 URL                    → /note save(link 模式)
包含图片                    → /note save(image 模式)
「记/存/保存/收藏」          → /note save(text 模式)
「搜/找找/有没有 XX」        → /note search
「最近/列表/看看/查笔记」    → /note list
「改/更新/编辑笔记」         → /note list(更新笔记)
「知识库」相关              → /note kb
「标签」相关                → /note tag
「配置/授权/连接笔记」       → /note config

决策原则:优先匹配最具体的意图。有 URL 就是 /save link,有图片就是 /save image,不确定时询问用户。


通用错误处理

{
  "success": false,
  "error": {
    "code": 10001,
    "message": "unauthorized",
    "reason": "not_member"
  },
  "request_id": "xxx"
}
错误码 说明 处理方式
10000 参数错误 检查请求参数
10001 鉴权失败 检查 API Key 和 Client ID,或重新授权
10100 数据不存在 确认笔记/知识库 ID 正确
10201 非会员 引导开通:https://www.biji.com/checkout?product_alias=6AydVpYeKl
10202 QPS 限流 降低频率,查看 rate_limit 字段
30000 服务调用失败 稍后重试
50000 系统错误 稍后重试

详细错误码和限流结构见 references/api-details.md

Usage Guidance
This skill appears to do what it claims: it will contact https://openapi.biji.com, can start an OAuth Device Flow and poll for up to 10 minutes in the background, and will write the obtained API key/client id into your ~/.openclaw/openclaw.json so future calls are authorized. The provided upload script will upload images to an OSS host returned by the API (expected behavior for image upload). Before installing: (1) confirm you trust the Get笔记 service and its domain (openapi.biji.com); (2) do not paste API keys into chat—use the OAuth flow or set GETNOTE_API_KEY/GETNOTE_CLIENT_ID in your OpenClaw config manually if you prefer; (3) be aware the agent will persist credentials to your OpenClaw config and may poll the token endpoint in the background during authorization; (4) avoid uploading sensitive images unless you accept those files being sent to the service/OSS host. If you want stricter control, manually obtain an API key on the provider site and add it to ~/.openclaw/openclaw.json rather than using the automatic flow.
Capability Analysis
Type: OpenClaw Skill Name: getnote-1-5-7 Version: 1.0.0 The skill bundle provides a legitimate integration for the 'Get笔记' (GetNote) service, allowing users to save, search, and manage notes. It includes functional Python scripts for OAuth polling (scripts/oauth_poll.py) and image uploading (scripts/upload_image.py) that communicate exclusively with the official domain (openapi.biji.com). The SKILL.md instructions include privacy-conscious rules, such as verifying the owner ID before accessing data, and the bundle lacks any signs of data exfiltration, malicious prompt injection, or obfuscated code.
Capability Tags
requires-oauth-token
Capability Assessment
Purpose & Capability
Name/description (save/search/manage notes) align with required files and instructions: API calls target openapi.biji.com, scripts implement OAuth device polling and image upload, and optional environment variables are exactly the service credentials one would expect.
Instruction Scope
SKILL.md instructs automatic OAuth device flow if GETNOTE_API_KEY is missing and to write credentials into ~/.openclaw/openclaw.json; this is within the expected scope for a service that needs user credentials, but it grants the skill the ability to initiate background polling for up to 10 minutes and to persist keys in the local skill config—users should be aware and consent to that behavior.
Install Mechanism
No install spec; skill is instruction-first and ships two small helper scripts. No network downloads or archive extraction at install time. Risk from install mechanism is low.
Credentials
Declared optional environment variables (GETNOTE_API_KEY, GETNOTE_CLIENT_ID, GETNOTE_OWNER_ID) map directly to the API and owner-check logic described. The skill does not request unrelated credentials or system secrets.
Persistence & Privilege
Skill is not 'always: true'. It does instruct writing API credentials to ~/.openclaw/openclaw.json (its own agent config) and runs background polling during OAuth; these are expected for automatic setup but are persistent actions the user should understand before enabling the skill.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install getnote-1-5-7
  3. After installation, invoke the skill by name or use /getnote-1-5-7
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Get笔记 Skill v1.0.0 - 初始版本上线 - 支持保存、搜索、管理个人笔记和知识库 - 提供详细的 API 使用规范、认证方式、安全和权限校验说明 - 集成笔记、知识库、标签等指令路由和自然语言触发规则 - 加入大整数(ID)处理方法及常见错误码处理指引 - 明确使用场景和操作流程,便于用户上手
Metadata
Slug getnote-1-5-7
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Getnote 1.5.7?

Get笔记 - 保存、搜索、管理个人笔记和知识库。 **当以下情况时使用此 Skill**: (1) 用户要保存内容到笔记:发链接、发图片、说「记一下」「存到笔记」「保存」「收藏」 (2) 用户要搜索或查看笔记:「搜一下」「找找笔记」「最近存了什么」「看看原文」 (3) 用户要管理知识库或标签:「加到知识库」「建... It is an AI Agent Skill for Claude Code / OpenClaw, with 98 downloads so far.

How do I install Getnote 1.5.7?

Run "/install getnote-1-5-7" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Getnote 1.5.7 free?

Yes, Getnote 1.5.7 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Getnote 1.5.7 support?

Getnote 1.5.7 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Getnote 1.5.7?

It is built and maintained by jackie2010 (@jackie2010); the current version is v1.0.0.

💬 Comments