Hello! I'm introducing OrgFlex, a flexible Org mode plugin for Obsidian. It's more than a plugin: it's a framework for AI agents to build an Org mode plugin made for your own workflow.
It came out of my never-ending search for a way to handle my Org files and workflows on my phone. I tried various Org mode apps on Android, but I kept having to tweak my setup to make it work on mobile.
OrgFlex takes a different approach. Obsidian is already great on mobile, so OrgFlex makes Obsidian understand Org mode. Your .org files open in a live-preview editor that reads like a note, but saves plain Org, so the same files still work in Emacs, Orgzly or anything else.
What you get out of the box:
- Live preview: headings, emphasis, links, quote and source blocks (with syntax highlighting) render in place; the line you're on shows its raw text
- Folding (fold all / outline / expand all) and zooming into a single subtree
- A shortcut bar above the phone keyboard: TODO state, schedule, deadline, heading level, checkbox, links, IDs and more
- Checklists with tap-to-tick and [n/m] counters, and list items you can drag to reorder or indent
- A journal, capture, backlinks, "go to node", ID links that keep working when you rename files, voice recordings and pasted images
- orgmode-tasks blocks in Markdown notes that list tasks using Orgzly's search syntax, or as an agenda
- A reading mode, so a tap doesn't open the keyboard while you're just reading
The interesting part is that it's meant to be forked. No two people use Org the same way: one person lives in org-roam, another uses Denote, and a third keeps one big outline with org-attach folders and a custom agenda. Instead of one plugin with a setting for every Org option, OrgFlex is a base that your coding agent turns into your own plugin:
- Your keywords, templates and folding defaults are values in one file (src/flavour.ts)
- Features are files: one you don't use gets deleted, not switched off, and one only you need gets written for you
- Every behaviour is a numbered rule in SPEC.md with its own tests, so the agent changes the rule, then the code and the tests, and the test suite tells it whether everything else still holds
- Four invariants hold in every fork: files stay plain Org, the phone comes first, every rule is tested, and command IDs never change
Getting started: the interview
You don't configure OrgFlex, you get interviewed. Fork the repo, open it in Claude Code and run /tailor. With any other coding agent, ask it to follow TAILOR.md.
- It starts from what you already have. It asks for your Emacs config (init.el, config.org, Doom or Spacemacs) and a few typical files (a note, a task file, a journal day), and reads them first, so it doesn't ask what it can already see.
- For each package or habit you use (org-roam, Denote, org-attach, org-capture templates, org-agenda, org-journal, citar, org-transclusion, org-modern...), it asks three questions: what is it for, for you? What does it leave in your files? What do you need from it in Obsidian, and on which device?
- It follows up on anything you mention, including your own Elisp, and asks what annoys you today. If you don't use Emacs, it asks the same things about Orgzly, beorg, or how you'd like to work.
- Then it sorts what it heard: what already works, your flavour values, rules to change, new features to write, what isn't possible (and the nearest alternative), and wishes for later. It shows you the plan, and builds only after you say yes.
- It writes FLAVOUR.md, a record of who this copy is for and why each decision was made, so the next session doesn't ask again.
After that, you keep asking for changes the same way: "log CLOSED: when I finish a task", "drop the journal", "make capture file into a date tree". You can run /tailor again whenever your workflow changes.
My own copy, for example, uses org-roam ID links with microsecond IDs, names attachments YYMM-slug, and names voice notes from the phone YYMM-voice-note-01, -02 and so on. When backlinks are on, it lists which notes link to each image or recording. None of that is in the base, and none of it needed a setting.
Repo: https://github.com/harshadjs/org-flex
Feedback, forks and bug reports are very welcome. I'd especially like to hear what your Org setup looks like and what the interview gets wrong.