FocusNote Daily Note Inserter for Openclaw

A specialized automation skill that appends text bullet points directly into your FocusNote daily logs via the local filesystem.

trongnguyen29
v1.0.0
Feb 12, 2026
0
1.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install focusnoteapp

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install focusnoteapp using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is FocusNote Daily Note Inserter?

This skill provides a bridge between AI agents and FocusNote, a local-first note-taking application. By leveraging Openclaw Skills, developers can programmatically inject thoughts, reminders, or completed tasks into their daily notes without manually opening the app. It handles the complex Lexical-based JSON structure required by FocusNote, ensuring that every entry is perfectly formatted and indexed within the application's native database.

The integration is designed for users who want to maintain a continuous stream of consciousness or log work progress directly from a command-line interface or an AI-driven workflow. By interacting directly with the filesystem, it ensures high performance and reliability while maintaining data integrity within the FocusNote ecosystem.

FocusNote Daily Note Inserter Use Cases

  • Quick capture of ideas or thoughts throughout the workday without switching windows.
  • Automated logging of completed coding tasks or git commits into a daily log.
  • Appending reminders to the daily log for future review during morning standups.
  • Creating the daily note structure automatically if the first entry of the day is made via an AI agent.

How FocusNote Daily Note Inserter Works

  1. Locate the FocusNote document storage path by reading the configuration file in the user's home directory.
  2. Resolve the current date to determine the specific daily note directory name in YYYY-MM-DD format.
  3. Verify the existence of the daily note folder and its internal structure, creating them if necessary.
  4. Generate a unique ID for the new content node and format the user's text into a Lexical-compatible JSON object.
  5. Write the node data to a sharded file system within the .nodes directory to maintain performance.
  6. Append the new node's ID to the root structure and update the document's metadata to reflect the changes.

FocusNote Daily Note Inserter Setup

To integrate this with your Openclaw Skills workflow, follow these steps:

  1. Ensure FocusNote is installed and running to generate the required config path at ~/.lucia/documents-path.txt.
  2. Install Node.js on your local machine.
  3. Save the implementation script as add-to-daily-note.js in your skill directory.
  4. Install the required dependency:
npm install uuid
  1. Grant execution permissions to the script:
chmod +x add-to-daily-note.js

FocusNote Daily Note Inserter Data Schema & Taxonomy

The skill interacts with a specific directory hierarchy within the FocusNote storage path:

File/Folder Description
notes/[YYYY-MM-DD]/ The root folder for a specific day's content.
_metadata.json Contains document name, creation, and update timestamps.
_structure.json Defines the node hierarchy, parent-child relationships, and display order.
.nodes/[shard]/ Sharded directory (first 2 chars of UUID) for node storage.
node-[id].json Individual content blocks containing Lexical JSON and state flags.

FocusNote Daily Note Inserter Advanced Features

  • Sharded node storage for high-volume note-taking performance and filesystem optimization.
  • Automatic directory and schema scaffolding for new daily entries if they do not yet exist.
  • Lexical-compliant JSON formatting to ensure rich-text compatibility within the FocusNote UI.
  • Support for headless updates via Openclaw Skills while the main application is running in the background.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*