notes-workspace-api SKILL.md skillA

notes-workspace-api from zhaoolee/notes is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add zhaoolee/notes/notes-workspace-api@git:20260801.295e6f2

Pins git:20260801.295e6f2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
zhaoolee/notes
Path
skills/notes-workspace-api/SKILL.md
Versions recorded
1
Latest version
git:20260801.295e6f2, committed Aug 1, 2026
Size
2,904 bytes
Repository stars
310
License
Apache-2.0

连接明确配置的锤子便签服务,查询和维护当前账号的云端工作区。支持便签列表、全文查询、新增、更新、软删除、恢复、显式永久删除、文件夹分类、星标和置顶;用户提到用 Hermes 或 AI 管理锤子便签、查找便签、写入 Markdown、整理分类、收藏、置顶或处理回收站时使用。优先使用 NOTES_API_TOKEN;仅在 Token 缺失时用用户名和密码自动申请 Token 并安全更新 .env。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 锤子便签工作区 API

通过服务端 API 管理登录账号自己的云端便签,不在本地维护另一份工作区。

## 配置认证

要求调用方明确提供 `NOTES_API_BASE_URL`。优先从 Skill 目录 `.env` 读取:

```dotenv
NOTES_API_BASE_URL=https://notes.example.com
NOTES_API_TOKEN=notes_sk_v1.xxx
```

如果没有 Token,可在首次运行前临时配置:

```dotenv
NOTES_API_BASE_URL=https://notes.example.com
NOTES_API_USERNAME=your-account
NOTES_API_PASSWORD=your-password
```

脚本会向同源 `/api/auth/skill-token` 申请 Token,原子更新 `.env`,并移除用户名和
密码。Token 已存在时不得回退到账号密码;Token 失效时先告知用户删除或更换旧
Token,不要静默重新授权。不要输出、记录或提交任何凭据。

## 执行命令

从 Skill 目录运行脚本。Hermes 中使用 `${HERMES_SKILL_DIR}`:

```bash
node ${HERMES_SKILL_DIR}/scripts/notes_api.mjs list
node ${HERMES_SKILL_DIR}/scripts/notes_api.mjs list --query 关键词
node ${HERMES_SKILL_DIR}/scripts/notes_api.mjs get --note-id NOTE_ID
node ${HERMES_SKILL_DIR}/scripts/notes_api.mjs add --markdown-file /abs/note.md
node ${HERMES_SKILL_DIR}/scripts/notes_api.mjs update --note-id NOTE_ID --markdown-file /abs/note.md
node ${HERMES_SKILL_DIR}/scripts/notes_api.mjs delete --note-id NOTE_ID
node ${HERMES_SKILL_DIR}/scripts/notes_api.mjs restore --note-id NOTE_ID
node ${HERMES_SKILL_DIR}/scripts/notes_api.mjs folders
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zhaoolee/notes/notes-workspace-api@sha256:58395c78fcdc04f9

The line at the top of this page pins the label git:20260801.295e6f2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2q35xagl6gtpdmbs.svg)](https://markdownregistry.com/a/art_2q35xagl6gtpdmbs)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 1, 2026.

versioncommittedcommitsizeaudit
git:20260801.295e6f2 latest2026-08-01 295e6f2 2,904 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2904 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

zhaoolee/notes · 310 stars · license Apache-2.0 · pushed 2026-10-11 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2q35xagl6gtpdmbs
GET https://markdownregistry.com/api/v1/resolve?ref=zhaoolee/notes/notes-workspace-api
GET https://markdownregistry.com/api/v1/blob/58395c78fcdc04f9855db183cfdaa27cb2ee0a72c91cd385c19e13cfa0fd5a0b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from zhaoolee/notes

AGENTS.md AGENTS.md file
zhaoolee/notes · AGENTS.md
git:20260805.eac4264 · audit A · 310 stars
notes-export-api SKILL.md skill
zhaoolee/notes · skills/notes-export-api/SKILL.md · 通过 Token 或首次使用的用户名与密码连接调用方明确配置的锤子便签服务,管理当前账号的云端工作区并导出内容。支持便签列表与全文查询、新增、更新…
git:20260801.295e6f2 · audit B · 310 stars

Every file in zhaoolee/notes

Browse by kind, by grade A, or by owner.