noteClaw
БесплатноЗапускает вложенные скриптыНе проверенRead-only mirror of OneNote notebooks into local Markdown + git, for querying, diffing, and periodic summaries. Requires a one-time OAuth authorization…
от jellyjujube347 установок в других каталогахОб этом скилле
OneNote Read-Only Mirror + Query + Weekly Reports (noteClaw v1.0.0)
Mirror Microsoft OneNote notebooks read-only into local Markdown + git snapshots, then query, diff, and summarize on demand.
Below,
$SKILL= this skill's install directory (the folder holding thisSKILL.md, withscripts/inside).
⚠️ First use (agent must read): this skill needs a one-time OAuth authorization; every sync fails until that is done. Full steps are under "One-time setup" and "Workflow" below — quick view:
- No token (no
.auth/notes_token.jsonin the data directory) → runscripts/auth_code.pyto get an authorization link, have the user paste the full URL back, then exchange it with--code-url(use--code-filewhen the chat channel truncates long URLs).- After authorization, cold start: list notebooks → full pull → convert to md. When done, ask the user whether to set up scheduled sync, and confirm their timezone for query windows (
NOTECLAW_TZ).Note: send the link, then end the turn and wait for the user to paste the full URL back.
⚠️ Multi-notebook accounts: list them with
graph_sync.py --list-notebooks, ask the user which one to mirror, then pass the choice with--notebook <name>(orNOTECLAW_NOTEBOOK). See "4. Optional environment variables".
When to use
- Let the agent query / search OneNote notes by time window, keyword, or section
- Generate a periodic report of what changed in the notes, or summarize an arbitrary range on demand
- Inspect changes to notes over a period (diff)
Hard requirements
- Python ≥ 3.9 (uses
zoneinfo); standard library only, no third-party dependencies - git: snapshot history depends on git (md is still produced outside a git directory, but there is no snapshot history and
html2md.pyexits 1 to flag it) - Network: access to
graph.microsoft.comandlogin.microsoftonline.com - Install:
openclaw skills install @jellyjujube/noteclaw; manual install means placing this whole directory at<workspace>/skills/noteclaw/ - Scripts live under the skill's
scripts/and are not installed system-wide; call them aspython3 <path>/xxx.py
One-time setup
1. Client credentials (built in, no registration)
Authorization uses the publicly published rclone OneDrive application (client_id + client_secret as a pair, shared by all rclone users — see https://rclone.org/onedrive/). scripts/auth_code.py ships with these credentials, so it works out of the box and nothing needs to be registered in Azure.
Credential source priority (the script takes the first usable one, in order):
- Environment variables
CLIENT_ID+CLIENT_SECRET(both must be set to take effect) - A section in
~/.config/rclone/rclone.confthat contains bothclient_idandclient_secret(read-only; never mixed across sections) - The rclone public credentials built into the script (fallback; this package's default path)
Note: running your own Azure application requires a Developer account and hosting a
client_secretyourself. The built-in public application removes that step; the cost is that the issued scope covers the whole OneDrive (see "Security and boundaries").Targets personal Microsoft accounts (@outlook / @hotmail / personal @live). Organization/work accounts are unverified.
2. Create the data directory (do this before authorizing!)
All artifacts (manifest.json / store/ / cache/ / .auth/) land in the current working directory of the command (override with the NOTECLAW_HOME environment variable). Create the directory and configure git first, then authorize — otherwise the token is written to the wrong place:
export SKILL=<skill install path> # e.g. <workspace>/skills/noteclaw
mkdir -p ~/onenote-mirror && cd ~/onenote-mirror
git init
git config user.name "Your Name" # required! snapshot commits fail without it
git config user.email "[email protected]"
printf '.auth/\ncache/\n__pycache__/\n' >> .gitignore
3. Get the initial token (authorization code flow, run inside the data directory)
Run once to get the authorization link, then run again with the code the user pasted back:
cd ~/onenote-mirror
python3 $SKILL/scripts/auth_code.py # first run: prints the authorization link
python3 $SKILL/scripts/auth_code.py --code-url "<full URL pasted back>" # second run: exchange for a token
python3 $SKILL/scripts/auth_code.py --code-file .auth/code.txt # when the channel truncates the paste
The script prints an authorization URL (on the line after the [AUTH URL] marker). Put that line verbatim into your reply to the user, who signs in with the Microsoft account to be mirrored and consents. The browser then lands on http://localhost:53682/ showing a "this site can't be reached" error, which is expected. Hand the full URL the user pastes back to the script with --code-url; it exchanges it for
Установить noteClaw в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл noteClaw?
Read-only mirror of OneNote notebooks into local Markdown + git, for querying, diffing, and periodic summaries. Requires a one-time OAuth authorization (personal Microsoft account).
Как установить скилл noteClaw?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл noteClaw запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic