upnote

TotalClaw 作者 totalclaw

通过 x-callback-url 自动化管理 UpNote 笔记和笔记本。当用户要求在 UpNote 中创建笔记、打开笔记、创建笔记本、查看标签或管理内容时使用。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~wemcdonald-upnote
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~wemcdonald-upnote/file -o wemcdonald-upnote.md
## 概述(中文)

通过 x-callback-url 自动化管理 UpNote 笔记和笔记本。当用户要求在 UpNote 中创建笔记、打开笔记、创建笔记本、查看标签或管理内容时使用。

## 原文

# UpNote

Manage UpNote notes and notebooks using x-callback-url automation.

## Overview

UpNote is installed and supports x-callback-url endpoints for automation. Use the bundled `upnote.sh` script for all UpNote operations.

## Quick Start

Create a note:
```bash
scripts/upnote.sh new --title "My Note" --text "Note content here"
```

Create a note with markdown:
```bash
scripts/upnote.sh new --title "Meeting Notes" --text "# Agenda\n- Item 1" --markdown
```

Create a note in a specific notebook:
```bash
scripts/upnote.sh new --title "Project Ideas" --text "Ideas..." --notebook "Work"
```

## Common Operations

### Create Note
```bash
scripts/upnote.sh new \
  --title "Note Title" \
  --text "Content here" \
  [--notebook "Notebook Name"] \
  [--markdown] \
  [--new-window]
```

### Create Notebook
```bash
scripts/upnote.sh notebook new "Notebook Name"
```

### Open Note (requires note ID)
```bash
scripts/upnote.sh open <noteId> [true|false]
```

To get a note ID, right-click a note in UpNote → Copy Link → extract the ID from the URL.

### Open Notebook (requires notebook ID)
```bash
scripts/upnote.sh notebook open <notebookId>
```

### View Tag
```bash
scripts/upnote.sh tag "tag-name"
```

### Search Notes
```bash
scripts/upnote.sh view all_notes --query "search term"
```

### View Modes
```bash
scripts/upnote.sh view <mode>
```

Available modes:
- `all_notes` - All notes
- `quick_access` - Quick access notes
- `templates` - All templates
- `trash` - Trash
- `notebooks` - Notebooks (use with `--notebook-id`)
- `tags` - Tags (use with `--tag-id`)
- `filters` - Filters (use with `--filter-id`)
- `all_notebooks` - All notebooks
- `all_tags` - All tags

## Notes

- All UpNote operations open the UpNote app
- Note and notebook IDs can be obtained by copying links from UpNote (right-click → Copy Link)
- The script handles URL encoding automatically
- For multi-line content, use `
` for line breaks or pass content via heredoc

## Resources

### scripts/upnote.sh

Shell script wrapper for UpNote x-callback-url operations. Handles URL encoding and provides a clean CLI interface.