OmniFocus DB CLI (omnifocus-db)

Last Active: 2026-02-16 Python TypeScript

Contents

Concept

Python CLI that reads directly from the OmniFocus 4 SQLite database on macOS, bypassing AppleScript and Omni Automation layers. Provides near-instant retrieval of projects, inbox items, and tasks in structured, token-efficient formats (JSON/text) for agent consumption. Read-only access by default to prevent database corruption while OmniFocus is active.


Features


Quick Facts

   
Status Last Active: 2026-02-16
Stack Python, TypeScript

What This Is

A Python-based CLI that bypasses slow AppleScript/TypeScript layers to read directly from the OmniFocus SQLite database on macOS. It provides structured, token-efficient data (JSON/Text) to agents for lightning-fast project listing, inbox analysis, and context gathering.


Core Value


Stated Constraints


Requirements


# Validated

(None yet — ship to validate)


# Active


# Out of Scope


Key Decisions

Decision Rationale Outcome
Python Faster iteration than Rust for DB schema discovery and easier integration with existing agent toolchains. — Pending
Read-Only Direct writes to an active SQLite DB managed by a complex app like OmniFocus risk corruption. — Pending
Direct Version User explicitly mentioned using the non-App Store version. — Pending

Last updated: 2026-02-13 after initialization


Current Status

** 2026-02-16 - Closed out phase 7 (summaries, state update)