Agent skill · data analytics · jeremylongshore
evernote-data-handling
Best practices for handling Evernote data.
Why this skill is useful
Provides specific patterns for handling Evernote data, including database schema design and ENML processing that the AI wouldn't reliably generate on its own.
What it needs
Requires evernote account access. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
Evernote Data Handling Overview Best practices for handling Evernote data including ENML content processing, attachment management, local database sync, and ENEX export/import. Prerequisites Understanding of Evernote data model (Notes, Notebooks, Tags, Resources) Database for local storage (SQLite, PostgreSQL, etc.) File storage for attachments Instructions Step 1: Data Schema Design Design a local database schema that mirrors Evernote's data model. Key tables: notes (guid, title, content, notebookGuid, created, updated, USN), notebooks (guid, name, stack), tags (guid, name), resources (guid, noteGuid, mime, hash, size). Track Update Sequence Numbers (USN) for incremental sync. Step 2: ENML Content Processing Parse ENML to extract plain text (strip tags), convert to HTML (replace <en-note> with <body>, resolve <en-media> to <img>/<a> tags), or convert to Markdown. Validate ENML before sending to the API by checking for required declarations and forbidden elements. Step 3: Resource (Attachment) Handling Download resources via noteStore.getResource(guid, withData, ...). Store binary data locally with the MD5 hash as filename. Track MIME types for proper content-type serving. Compute hashes for integrity verification. Step 4: Sync Data Manager Implement incremental sync using getSyncState() to get the current server USN, then getSyncChunk() to fetch changes since your last sync. Process chunks in order: notebooks first, then tags, then notes, then resources. Step 5: Data Export Export notes to ENEX (Evernote's XML export format), JSON, or Markdown. ENEX preserves the full note structure including resources and is compatible with Evernote import. For the complete data schema, sync manager, ENML processor, and export implementations, see Implementation Guide. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/evernote-data-handling--1f4eb2