Command-line note and bookmark manager with Git support.
Install
mkdir -p .claude/skills/nb-sundial-org && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18048" && unzip -o skill.zip -d .claude/skills/nb-sundial-org && rm skill.zipInstalls to .claude/skills/nb-sundial-org
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Manage notes, bookmarks, and notebooks using the nb CLI. Create, list, search, and organize notes across multiple notebooks with Git-backed versioning.Key capabilities
- →Create new notebooks
- →Add notes with titles and tags
- →List notes with excerpts or tags
- →Search notes across notebooks with logical operators
- →Edit and append content to notes
- →Manage todos and bookmarks
How it works
The nb CLI manages notes, bookmarks, and notebooks, storing them as plain text files in a Git-backed repository for versioning.
Inputs & outputs
When to use nb
- →Take quick notes
- →Manage bookmarks
- →Search through notes
- →Version control notebook changes
About this skill
nb - Command Line Note-Taking
⚠️ IMPORTANT: Never edit files in nb git repos (
~/.nb/*) by hand! Always use thenbCLI to ensure proper indexing and Git commits.
A command line and local web note-taking, bookmarking, and archiving tool with plain text data storage, Git-backed versioning, and wiki-style linking.
Quick Reference
Notebooks
# List all notebooks
nb notebooks
# Switch to a notebook
nb use <notebook>
# Create a new notebook
nb notebooks add <name>
# Show current notebook
nb notebooks current
Adding Notes
# Add a note with title
nb add -t "Title" -c "Content here"
# Add note to specific notebook
nb <notebook>: add -t "Title" -c "Content"
# Add note with tags
nb add -t "Title" --tags tag1,tag2
# Add note from file content
nb add <notebook>:filename.md
Listing Notes
# List notes in current notebook
nb list
# List all notes (no limit)
nb list -a
# List notes in specific notebook
nb <notebook>: list
# List with excerpts
nb list -e
# List with tags shown
nb list --tags
Showing Notes
# Show note by ID or title
nb show <id>
nb show "<title>"
# Show note from specific notebook
nb show <notebook>:<id>
# Print content (for piping)
nb show <id> --print
Searching Notes
# Search across all notebooks
nb search "query"
# Search in specific notebook
nb <notebook>: search "query"
# Search with AND/OR/NOT
nb search "term1" --and "term2"
nb search "term1" --or "term2"
nb search "term1" --not "exclude"
# Search by tag
nb search --tag "tagname"
Editing Notes
# Edit by ID
nb edit <id>
# Edit by title
nb edit "<title>"
# Append content
nb edit <id> -c "New content to append"
# Prepend content
nb edit <id> -c "Content at top" --prepend
# Overwrite content
nb edit <id> -c "Replace all" --overwrite
Deleting Notes
# Delete by ID (will prompt)
nb delete <id>
# Force delete without prompt
nb delete <id> -f
Moving/Renaming
# Move note to another notebook
nb move <id> <notebook>:
# Rename a note
nb move <id> new-filename.md
Todos
# Add a todo
nb todo add "Task title"
# Add todo with due date
nb todo add "Task" --due "2026-01-15"
# List open todos
nb todos open
# List closed todos
nb todos closed
# Mark todo as done
nb todo do <id>
# Mark todo as not done
nb todo undo <id>
Bookmarks
# Add a bookmark
nb bookmark <url>
# Add with comment
nb bookmark <url> -c "My comment"
# Add with tags
nb bookmark <url> --tags reference,dev
# List bookmarks
nb bookmark list
# Search bookmarks
nb bookmark search "query"
Git Operations
# Sync with remote
nb sync
# Create checkpoint (commit)
nb git checkpoint "Message"
# Check dirty status
nb git dirty
# Run any git command
nb git status
nb git log --oneline -5
Folders
# Add folder to notebook
nb folders add <folder-name>
# List folders
nb folders
# Add note to folder
nb add <folder>/<filename>.md
Common Patterns
Adding Note with Full Content
For longer notes, create a temp file and import:
# Write content to temp file first, then copy to nb
cp /tmp/note.md ~/.nb/<notebook>/
cd ~/.nb/<notebook> && git add . && git commit -m "Add note"
nb <notebook>: index rebuild
Searching Across All
# Search everything
nb search "term" --all
# Search by type
nb search "term" --type bookmark
nb search "term" --type todo
Data Location
Notes are stored in ~/.nb/<notebook>/ as markdown files with Git versioning.
~/.nb/
├── notebook-name-1/ # Your first notebook
├── notebook-name-2/ # Your second notebook
└── ...
Tips
- Use
nb <notebook>:prefix to work with specific notebooks - IDs are numbers shown in
nb list - Titles can be used instead of IDs (quoted if spaces)
- All changes are automatically Git-committed
- Use
nb syncto push/pull from remote repos
When not to use it
- →When needing to edit files in nb git repos manually
- →When needing to manage notes outside of the CLI or local web interface
Limitations
- →Files in nb git repos should not be edited by hand.
- →The tool is designed for CLI and local web interaction.
How it compares
This tool provides a command-line interface for note management with built-in Git versioning, unlike manual file creation and separate version control.
Compared to similar skills
nb side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| nb (this skill) | 0 | 5mo | Review | Beginner |
| ayo | 0 | 1mo | No flags | Beginner |
| braindump | 7 | 5mo | No flags | Beginner |
| obsidian-canvas-creator | 18 | 5mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by sundial-org
View all by sundial-org →You might also like
ayo
k123-111
Save, resume, checkpoint, and restore AI-assisted project state. Use when the user says "ayo" to save a Markdown handoff, "oya" to read the latest handoff and continue after confirmation, "ayo bro" to create a Git-backed AYO checkpoint plus .ayo project memory, or "fuck" to restore the latest AYO ch
braindump
huytieu
Quick capture of raw thoughts with intelligent domain classification and competitive intelligence extraction
obsidian-canvas-creator
axtonliu
Create Obsidian Canvas files from text content, supporting both MindMap and freeform layouts. Use this skill when users want to visualize content as an interactive canvas, create mind maps, or organize information spatially in Obsidian format.
hindsight-cloud
vectorize-io
Store team knowledge, project conventions, and learnings from tasks. Use to remember what works and recall context before new tasks. Connects to Hindsight Cloud. (user)
scratch-pad
krafton-ai
Markdown-based working memory for complex tasks. Use when: 5+ tool calls needed, researching multiple sources, analyzing/comparing items, multi-step workflows. Record process → Reference for response → Delete after use
diary
Anhvu1107
ALWAYS use this when the request matches Diary: Unified Diary System: A context-preserving automated logger for multi-project development.