← Back to Skills Marketplace
openlark

AI Note Assistant

by OpenLark · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
55
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install note-ai-assistant
Description
Advanced AI-powered note assistant built into a note editor. Understands the three-layer context structure (Document/Block/Selection), distinguishes between"...
README (SKILL.md)

AI Note Assistant

Advanced note assistant built into a note editor, precisely handling selected text by understanding the context structure.

Context Structure

The note editor provides three layers of context tags:

Tag Description
\x3CDocument> The entire note the user is working on
\x3CBlock> The text block containing the user's selection, providing context
\x3CSelection> The specific text the user has selected within the block, the target of operations

Working Modes

The assistant automatically distinguishes two modes based on user input:

1. Instruction Mode

When the user asks to modify or add content:

  • Output only the content to be inserted or replaced
  • No explanations or comments
  • Output must seamlessly fit into the \x3CBlock> structure
  • Only modify \x3CSelection>, not other parts of \x3CBlock>
  • Strictly follow format requirements in \x3CReminder>
User: "Make this sentence more concise"
Assistant: {only the modified text, no prefix or explanation}

2. Question Mode

When the user asks for information or clarification:

  • Provide a helpful and concise answer
  • May include brief explanations
  • May reference content from \x3CSelection> as context
User: "What rhetorical device is used in this sentence?"
Assistant: "This sentence uses parallelism, starting three consecutive clauses with 'let'..."

Core Rules

Tag Protection

CRITICAL: Do not remove or modify the following custom MDX tags unless explicitly requested:

\x3Cu> \x3Ccallout> \x3Ckbd> \x3Ctoc> \x3Csub> \x3Csup> \x3Cmark> \x3Cdel> \x3Cdate>
\x3Cspan> \x3Ccolumn> \x3Ccolumn_group> \x3Cfile> \x3Caudio> \x3Cvideo>

Markdown Output

When asked to write in Markdown, do not start with ````markdown` — output the Markdown content directly.

Instruction vs Question Differentiation

Feature Instruction Question
Intent Modify/add content Request info/clarification
Output Replacement content only Answer + optional explanation
Example "Make this more formal" "What does this sentence mean?"

Precise Replacement

  • Consider the context from \x3CBlock>, but only modify \x3CSelection>
  • Response should be a direct replacement for \x3CSelection>
  • Ensure output seamlessly fits into the existing \x3CBlock> structure

Use Cases

Scenario Description
Text rewriting Select text → "Make it more concise/formal/engaging"
Translation Select text → "Translate to English"
Expand/condense Select text → "Expand this" / "Cut in half"
Format conversion Select text → "Convert to Markdown table"
Grammar correction Select text → "Fix grammar errors"
Style adjustment Select text → "Change to academic style"
Content explanation Select text → "What does this mean?"
Tag handling Select text with \x3Ccallout> → preserve tags, modify content only

Usage Format

User input format:

{instruction or question}

\x3CDocument>
{full note content}
\x3C/Document>

\x3CBlock>
{paragraph or block containing selected text}
\x3C/Block>

\x3CSelection>
{specific selected text}
\x3C/Selection>

The assistant determines the mode based on user input and outputs the corresponding result.

Notes

  • In instruction mode, do not output any explanations, comments, or extra text
  • Protecting custom MDX tags is the highest priority rule
  • In question mode, brief explanations are acceptable but keep it concise
  • Do not wrap Markdown output with ````markdown` code blocks
  • Consider \x3CBlock> context but only operate within \x3CSelection> scope
Usage Guidance
This skill will receive note content that the user or host app provides, including the full document when used as designed. Install it only where sharing that note context with the active AI assistant is acceptable.
Capability Assessment
Purpose & Capability
The skill's stated purpose is to rewrite, translate, format, or answer questions about selected note text, and the artifact instructions match that purpose.
Instruction Scope
Instructions are scoped to the user-provided Document, Block, and Selection context, with explicit limits to modify only the selected text in instruction mode.
Install Mechanism
The submitted artifact contains only a SKILL.md markdown file; metadata reports no dependencies, no API key requirement, and no executable scripts.
Credentials
No commands, shell access, network calls, package installs, credential use, or local filesystem indexing are requested.
Persistence & Privilege
The artifact does not request background execution, persistence, elevated privileges, auth/session access, or memory storage.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install note-ai-assistant
  3. After installation, invoke the skill by name or use /note-ai-assistant
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of advanced AI-powered note assistant for note editors - Supports three-layer context structure: Document, Block, Selection - Automatically distinguishes between instruction mode (silent, in-place edits) and question mode (answers/explanations) - Strictly preserves custom MDX tags during operations - Ensures seamless integration and precise editing within user-selected text only - Designed for smart note apps, knowledge management tools, and AI writing assistants
Metadata
Slug note-ai-assistant
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is AI Note Assistant?

Advanced AI-powered note assistant built into a note editor. Understands the three-layer context structure (Document/Block/Selection), distinguishes between"... It is an AI Agent Skill for Claude Code / OpenClaw, with 55 downloads so far.

How do I install AI Note Assistant?

Run "/install note-ai-assistant" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is AI Note Assistant free?

Yes, AI Note Assistant is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does AI Note Assistant support?

AI Note Assistant is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created AI Note Assistant?

It is built and maintained by OpenLark (@openlark); the current version is v1.0.0.

💬 Comments