Repository navigation
Claude Code Skill #109
Replies: 1 comment
|
This is really cool, thanks for sharing. A few small but important corrections: 1. Filename format The filename examples aren't quite correct. Notesium filenames are 8-character hex values (derived from epoch time), not human-readable timestamps like https://www.notesium.com/docs/concepts/#note-filenames 2. Link syntax Notesium does not use wiki-style links, but rather standard Markdown inline links, for example: https://www.notesium.com/docs/concepts/#inline-link-format 3. CLI vs API focus (suggestion) It might be worth focusing on the CLI or the API, rather than both at once. Each is a perfectly valid entry point, but mixing them can make the skill harder to reason about and harder to use consistently. BTW, a while back I built an experimental addon which integrates with the Notesium API, and uses tool calls. Might be useful as a reference.
That said, for a Overall, great direction. It's really nice seeing Notesium be leveraged in higher-level tooling. Happy to help iterate further. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Might be useful, in case you want to utilize notesium API (which is super nice) with an agent like Claude Code.
Download SKILL.md
name: notesium
description: Interact with Notesium, a Zettelkasten-style markdown notes system. Use for creating, reading, updating, deleting notes, searching, managing links, and working with the knowledge graph.
allowed-tools: Bash, Read, Write, Grep, Glob
argument-hint: [action] [args...]
Notesium Zettelkasten Skill
Notesium is a markdown notes system with bi-directional links for building a Zettelkasten knowledge base.
Environment
NOTESIUM_DIRenvironment variable (default:$HOME/notes).mdextension20240115103045.md)# Title)CLI Commands
List Notes
Options:
--sort=ctime|mtime|alpha- Sort by creation time, modification time, or alphabetically--prefix=ctime|mtime|label- Add prefix to output--labels- Show only label notes (single-word titles)--orphans- Show notes without any links--color- Enable ANSI colors--date=FORMAT- Date format (default: 2006-01-02)Create New Note
View Links
Options:
--outgoing- Links from this note to others--incoming- Links from other notes to this note (backlinks)--dangling- Broken links only--color- Enable ANSI colorsFull-Text Search
Options:
--filter=QUERY- Search query with operators:|= OR (any term matches)!= NOT (exclude term)--prefix=title- Show note title with each line--color- Enable ANSI colorsStatistics
Get Notes Directory
Web API (when server is running)
Start server:
notesium web --writable --port=PORTBase URL:
http://localhost:PORT/apiEndpoints
/api/notes/api/notes/:filename/api/notes//api/notes/:filename/api/notes/:filename/api/raw/lines?filter=QUERY/api/raw/list/api/raw/links?filename=X/api/raw/stats/api/runtime/api/heartbeatAPI Examples
Note Object Structure
{ "Filename": "20240115103045.md", "Title": "Note Title", "IsLabel": false, "OutgoingLinks": ["20240114092030.md"], "IncomingLinks": ["20240116141500.md"], "Ctime": "2024-01-15T10:30:45Z", "Mtime": "2024-01-15T10:30:45Z", "Lines": 10, "Words": 150, "Chars": 850, "Path": "/home/user/notes/20240115103045.md", "Content": "# Note Title\n\nContent..." }Zettelkasten Best Practices
[[filename]]syntaxLinking Syntax
Create links between notes using wiki-style syntax:
Common Workflows
Find orphan notes (unlinked)
Find all backlinks to a note
Search for term across all notes
notesium lines --filter="search term" --prefix=titleList all labels/tags
All reactions