RemNote via remnote-cli
Use this skill when a user wants to read or manage RemNote content from the command line with remnote-cli.
If the user needs navigation across the whole knowledge base (for example: "where does this topic live in my notes?",
"start from top-level note tree", "map main note groups"), prefer remnote-kb-navigation when it is available and
customized for the current user, then return to this skill for general command policy and write gating. If
remnote-kb-navigation is not available (or still template/unconfigured), continue with this skill alone and ask for
skill customization when needed.
Example Conversation Triggers
- "Check if RemNote bridge is connected."
- "Search my RemNote for sprint notes."
- "Find notes tagged weekly-review in RemNote."
- "Read this RemNote by ID:
<rem-id>."
- "Map the top-level structure of my whole RemNote knowledge base."
- "Create a RemNote note titled X with this content." (requires
confirm write)
- "Append this to my journal in RemNote." (requires
confirm write)
Preconditions (required)
- RemNote Automation Bridge plugin is installed in RemNote.
- Plugin install path is one of:
- Marketplace install guide:
https://github.com/robert7/remnote-mcp-bridge/blob/main/docs/guides/install-plugin-via-marketplace-beginner.md
- Local dev plugin guide:
https://github.com/robert7/remnote-mcp-bridge/blob/main/docs/guides/development-run-plugin-locally.md
remnote-cli is installed on the same machine where OpenClaw runs.
- Preferred install:
npm install -g remnote-cli
- RemNote is open in browser/app (
https://www.remnote.com/).
remnote-cli daemon is running (remnote-cli daemon start).
- The plugin panel is open in RemNote right sidebar and shows connected status.
If any precondition is missing, stop and fix setup first.
Read-First Safety Policy
- Default to read-only flows:
status, search, search-tag, read, daemon status.
- Do not run mutating commands by default.
- For writes (
create, update, journal), require the exact phrase confirm write from the user in the same turn.
- If
confirm write is not present, ask for confirmation and do not execute writes.
Command Invocation Rule (critical)
- Run exactly one
remnote-cli command per execution.
- Invoke
remnote-cli directly; do not chain shell commands.
- Do not use
&&, |, ;, subshells ((...)), command substitution ($()), xargs, or echo pipelines.
- WRONG:
remnote-cli daemon status --text && echo '---' && remnote-cli status --text
- RIGHT:
remnote-cli daemon status --text
- RIGHT:
remnote-cli status --text
- Reason: command chaining can trigger exec approvals and break automation flow.
Compatibility Check (mandatory before real work)
- Check daemon and bridge connectivity:
remnote-cli daemon status --text
remnote-cli status --text
- Confirm plugin panel is open in right sidebar and connected.
- Read versions from
remnote-cli status --text:
- active plugin version
- CLI version
version_warning (if present)
- Enforce version rule: bridge plugin and
remnote-cli must be the same 0.x minor line (prefer exact match).
- If mismatch:
- Install matching CLI version:
- Exact:
npm install -g remnote-cli@<plugin-version>
- Or same minor line (
0.<minor>.x) when exact is unavailable.
- Re-run:
remnote-cli --version
remnote-cli daemon restart is not available, so run:
remnote-cli daemon stop
remnote-cli daemon start
remnote-cli status --text
Core Commands
Health and Connectivity
remnote-cli daemon start
remnote-cli daemon status --text
remnote-cli status --text
Read-Only Operations (default)
- Search notes:
remnote-cli search "query"
- Search by tag:
remnote-cli search-tag "tag"
- Read note by Rem ID:
remnote-cli read <rem-id>
- Optional text mode: add
--text
Output Mode and Traversal Strategy
- Use JSON output (default) for navigation, multi-step retrieval, and any flow that needs IDs for follow-up reads.
- Use
--text only for plain human summarization of exactly one note when no further navigation is needed.
- For structure traversal, start with shallow reads and high child limit:
remnote-cli read <rem-id> --depth 1 --child-limit 500
--include-content modes
--include-content markdown:
- Returns readable rendered child content.
- Best for summarization/presentation.
- Markdown content does not provide child IDs required for further navigation.
--include-content structured:
- Returns hierarchical
contentStructured data including child rem IDs.
- Best for navigation and deterministic ID-first traversal.
Mutating Operations (only after confirm write)
- Create:
remnote-cli create "Title" --content "Body" --text
- Update:
remnote-cli update <rem-id> --title "New Title" --append "More text" --text
- Journal:
remnote-cli journal "Entry text" --text
Failure Handling
- Daemon unreachable (exit code
2): start daemon and retry.
- Bridge not connected: open RemNote, open right sidebar plugin panel, verify connected state, retry
status.
- Version mismatch warning: align
remnote-cli version to plugin 0.x minor line, then restart daemon.
Operational Notes
- JSON output is default and preferred for automation.
--text is useful for quick human checks.
- Reference command docs when unsure:
https://github.com/robert7/remnote-cli/blob/main/docs/guides/command-reference.md
1---
2name: remnote
3description: Read/search RemNote via `remnote-cli` by default; require `confirm write` before create/update/journal.
4homepage: https://github.com/robert7/remnote-cli
5metadata:
6 source: https://skillmd.com/skills/modbender/remnote
7 openclaw:
8 emoji: 🌀
9 requires:
10 bins:
11 - remnote-cli
12 install:
13 - id: node
14 kind: node
15 package: remnote-cli
16 bins:
17 - remnote-cli
18 label: Install remnote-cli (npm)
19---
20
21# RemNote via remnote-cli
22
23Use this skill when a user wants to read or manage RemNote content from the command line with `remnote-cli`.
24
25If the user needs navigation across the whole knowledge base (for example: "where does this topic live in my notes?",
26"start from top-level note tree", "map main note groups"), prefer `remnote-kb-navigation` when it is available and
27customized for the current user, then return to this skill for general command policy and write gating. If
28`remnote-kb-navigation` is not available (or still template/unconfigured), continue with this skill alone and ask for
29skill customization when needed.
30
31## Example Conversation Triggers
32
33- "Check if RemNote bridge is connected."
34- "Search my RemNote for sprint notes."
35- "Find notes tagged weekly-review in RemNote."
36- "Read this RemNote by ID: `<rem-id>`."
37- "Map the top-level structure of my whole RemNote knowledge base."
38- "Create a RemNote note titled X with this content." (requires `confirm write`)
39- "Append this to my journal in RemNote." (requires `confirm write`)
40
41## Preconditions (required)
42
431. RemNote Automation Bridge plugin is installed in RemNote.
442. Plugin install path is one of:
45 - Marketplace install guide:
46 `https://github.com/robert7/remnote-mcp-bridge/blob/main/docs/guides/install-plugin-via-marketplace-beginner.md`
47 - Local dev plugin guide:
48 `https://github.com/robert7/remnote-mcp-bridge/blob/main/docs/guides/development-run-plugin-locally.md`
493. `remnote-cli` is installed on the same machine where OpenClaw runs.
50 - Preferred install: `npm install -g remnote-cli`
514. RemNote is open in browser/app (`https://www.remnote.com/`).
525. `remnote-cli` daemon is running (`remnote-cli daemon start`).
536. The plugin panel is open in RemNote right sidebar and shows connected status.
54
55If any precondition is missing, stop and fix setup first.
56
57## Read-First Safety Policy
58
59- Default to read-only flows: `status`, `search`, `search-tag`, `read`, `daemon status`.
60- Do not run mutating commands by default.
61- For writes (`create`, `update`, `journal`), require the exact phrase `confirm write` from the user in the same turn.
62- If `confirm write` is not present, ask for confirmation and do not execute writes.
63
64## Command Invocation Rule (critical)
65
66- Run exactly one `remnote-cli` command per execution.
67- Invoke `remnote-cli` directly; do not chain shell commands.
68- Do not use `&&`, `|`, `;`, subshells (`(...)`), command substitution (`$()`), `xargs`, or `echo` pipelines.
69- WRONG: `remnote-cli daemon status --text && echo '---' && remnote-cli status --text`
70- RIGHT: `remnote-cli daemon status --text`
71- RIGHT: `remnote-cli status --text`
72- Reason: command chaining can trigger exec approvals and break automation flow.
73
74## Compatibility Check (mandatory before real work)
75
761. Check daemon and bridge connectivity:
77 - `remnote-cli daemon status --text`
78 - `remnote-cli status --text`
792. Confirm plugin panel is open in right sidebar and connected.
803. Read versions from `remnote-cli status --text`:
81 - active plugin version
82 - CLI version
83 - `version_warning` (if present)
844. Enforce version rule: bridge plugin and `remnote-cli` must be the same `0.x` minor line (prefer exact match).
855. If mismatch:
86 - Install matching CLI version:
87 - Exact: `npm install -g remnote-cli@<plugin-version>`
88 - Or same minor line (`0.<minor>.x`) when exact is unavailable.
89 - Re-run:
90 - `remnote-cli --version`
91 - `remnote-cli daemon restart` is not available, so run:
92 - `remnote-cli daemon stop`
93 - `remnote-cli daemon start`
94 - `remnote-cli status --text`
95
96## Core Commands
97
98### Health and Connectivity
99
100- `remnote-cli daemon start`
101- `remnote-cli daemon status --text`
102- `remnote-cli status --text`
103
104### Read-Only Operations (default)
105
106- Search notes: `remnote-cli search "query"`
107- Search by tag: `remnote-cli search-tag "tag"`
108- Read note by Rem ID: `remnote-cli read <rem-id>`
109- Optional text mode: add `--text`
110
111## Output Mode and Traversal Strategy
112
113- Use JSON output (default) for navigation, multi-step retrieval, and any flow that needs IDs for follow-up reads.
114- Use `--text` only for plain human summarization of exactly one note when no further navigation is needed.
115- For structure traversal, start with shallow reads and high child limit:
116 - `remnote-cli read <rem-id> --depth 1 --child-limit 500`
117
118### `--include-content` modes
119
120- `--include-content markdown`:
121 - Returns readable rendered child content.
122 - Best for summarization/presentation.
123 - Markdown content does not provide child IDs required for further navigation.
124- `--include-content structured`:
125 - Returns hierarchical `contentStructured` data including child rem IDs.
126 - Best for navigation and deterministic ID-first traversal.
127
128### Mutating Operations (only after `confirm write`)
129
130- Create: `remnote-cli create "Title" --content "Body" --text`
131- Update: `remnote-cli update <rem-id> --title "New Title" --append "More text" --text`
132- Journal: `remnote-cli journal "Entry text" --text`
133
134## Failure Handling
135
136- Daemon unreachable (exit code `2`): start daemon and retry.
137- Bridge not connected: open RemNote, open right sidebar plugin panel, verify connected state, retry `status`.
138- Version mismatch warning: align `remnote-cli` version to plugin `0.x` minor line, then restart daemon.
139
140## Operational Notes
141
142- JSON output is default and preferred for automation.
143- `--text` is useful for quick human checks.
144- Reference command docs when unsure:
145 `https://github.com/robert7/remnote-cli/blob/main/docs/guides/command-reference.md`