Agent skill
notes
Create and access notes in date-based archive. Create notes with auto-incremented IDs, generate daily todos with task rollover, find latest notes by type (note/todo/backlog/weekly), search by ID/slug/tags/content.
Install this agent skill to your Project
npx add-skill https://github.com/dreikanter/dotfiles/tree/main/config/claude/skills/notes
SKILL.md
Notes Skill
Use the notes CLI tool for all note operations. All commands respect $NOTES_PATH or --path.
Basics
- Location:
$NOTES_PATH(defaults to~/Dropbox/Notesif not set) - Directory pattern:
YYYY/MM/YYYYMMDD_ID[_slug].md - UID:
YYYYMMDD_IDuniquely identifies each note
Frontmatter Guidelines
- Only include fields that are explicitly requested or clearly applicable
- Do NOT add a
datefield — date is already encoded in the filename - Add
descriptionwhen there is clear context behind the note (e.g., responding to a message, capturing a decision) — use it to record the context/intention, not a summary of the body content - If there is no clear context/intention, omit the
descriptionfield
CLI Reference
Create
# New note from stdin
echo "# Content" | notes new --slug my-slug
# New note with frontmatter
echo "# Content" | notes new --title "Title" --tag journal --tag idea --description "Context"
# Empty note
notes new
# Today's todo (carries over pending tasks from previous todo)
notes new-todo
# Regenerate today's todo (also carries over in-progress tasks)
notes new-todo --force
Append
# Append text to a note by ID, slug, or filename
echo "Additional content" | notes append my-slug
# Append to the latest note matching filters
echo "More text" | notes append --slug report --type note
# Create note if no match found (atomic check-and-create)
echo "- [ ] Ship feature" | notes append --type todo --create
# Create with frontmatter (--title and --description require --create)
echo "- First entry" | notes append --slug report --create --title "Session Report"
List and Filter
# List recent notes
notes ls --limit 10
# List by type, slug, or tag
notes ls --type todo --limit 1
notes ls --slug report
notes ls --tag journal --tag idea
# Find notes matching a fragment in ID, slug, or filename
notes filter 8823
notes filter todo
Read
# Read a note by ID, slug, or filename
notes read 8823
notes read todo
# Read without frontmatter
notes read todo --no-frontmatter
# Path to latest note (optionally filtered by type, slug, or tag)
notes latest
notes latest --type todo
notes latest --slug report
notes latest --tag journal
# Filters are repeatable (OR within same flag, AND across flags)
notes latest --slug report --slug todo
notes latest --type todo --type backlog
Search
# Search note contents (passes args to grep)
notes grep "pattern"
notes grep -i "case insensitive"
notes grep -l "files only"
# Search note contents using ripgrep
notes rg "pattern"
notes rg -i "case insensitive"
notes rg -l "files only"
Path
# Print the notes archive directory path
notes path
Use notes path when an agent needs direct access to the notes directory. Always prefer notes CLI commands over direct file access.
Editing Notes
Preserve YAML frontmatter structure when modifying notes. Use UIDs (YYYYMMDD_ID) for cross-referencing.
Advanced: Archive Format Details
For direct file manipulation (custom searches, bulk edits, format-aware processing), see FORMAT.md in this skill directory. Only load it when the CLI commands above are insufficient.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
z-tools
Review GitHub pull requests with Jira context using local `prdump`, `jiradump`, and `gh` tools. Use when a user asks for a PR review by providing a PR URL and Jira ticket URL(s), or when a PR description references Jira IDs/URLs that should be pulled for additional context.
circleci
Fetch CircleCI CI status, test failures, and job logs for a GitHub PR. Use when checking if a PR passed CI, fetching test errors, or investigating CI failures.
jiradump
Dump Jira ticket details and comments using the local `jiradump` CLI tool. Use when a user wants to inspect a Jira ticket by URL or key (e.g., ABC-123).
prdump
Dump GitHub PR details (title, branch, description, discussion, reviews, inline comments) using the local `prdump` CLI tool. Use when a user wants to inspect or review a PR by URL.
z-tools
Review GitHub pull requests with Jira context using local `prdump`, `jiradump`, and `gh` tools. Use when a user asks for a PR review by providing a PR URL and Jira ticket URL(s), or when a PR description references Jira IDs/URLs that should be pulled for additional context.
eod
Generate a daily EOD report and save it as a note. Optional arg: date in free format (e.g. 'yesterday', '2d ago', 'last Friday', '2026-03-05').
Didn't find tool you were looking for?