AI SummaryThis skill automates DEVONthink document management on macOS through JXA and Python, enabling users to programmatically organize, search, convert, and manage records while integrating with citation systems like Zotero. It's ideal for researchers, academics, and knowledge workers who need to automate complex document workflows.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "devonthink" skill in my project. Please run this command in my terminal: # Install skill into the correct directory mkdir -p .claude/skills/devonthink-skill && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/devonthink-skill/SKILL.md "https://raw.githubusercontent.com/TomBener/devonthink-skill/main/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Automate DEVONthink on macOS via JXA (JavaScript for Automation) and Python. Use this skill when: - Creating, searching, organizing, or managing records in DEVONthink databases - Working with documents, notes, bookmarks, groups, PDFs, or web archives - Adding/removing tags, moving/duplicating/replicating records - Converting documents between formats (markdown, PDF, HTML, rich text) - Importing files/URLs or exporting records - Using DEVONthink's AI features (classification, similarity, summarization) - Querying record metadata, content, or properties - Looking up citation keys from bibliography JSON exports - Finding DEVONthink records by citation key Triggers: "DEVONthink", "DT3", "DEVONthink database", "organize documents", "document management", "citation key", "bibliography", "Zotero"
AI Features
`javascript // Classification suggestions const proposals = app.classify({ record: theRecord }); // Find similar records const similar = app.compare({ record: theRecord }); // Chat/summarize (requires AI config in DEVONthink) const response = app.getChatResponseForMessage("Summarize this", { record: theRecord, temperature: 0 }); `
DEVONthink Automation
Automate DEVONthink via JXA scripts executed with osascript -l JavaScript.
Quick Start
`javascript osascript -l JavaScript << 'EOF' (() => { const app = Application("DEVONthink"); app.includeStandardAdditions = true; // Your code here return JSON.stringify({ success: true }); })(); EOF `
1. Get Citation Key of a DEVONthink Record
Given a DEVONthink record, find its Zotero citation key: `bash
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster