Rachit Asthana960 downloadsPlan and run AI tasks in your vault on a schedule, when notes change or before calendar events, with approval before notes are edited. Works with Claudian, Oh My Claudian or Copilot.
AI Scheduler is an Obsidian plugin that runs your AI tasks automatically in the background — on a schedule, at a set time, or when files in your vault change.
Instead of manually opening a chat sidebar every time, you describe what you want once, set a cadence, and the plugin handles execution for you: running periodic vault reviews, summarizing notes, processing project folders, generating reports, and more — while you work or sleep.
It works with the AI plugins you likely already have installed:
AI Scheduler does not call AI providers directly. It drives Claudian, Oh My Claudian or Copilot — whichever you have configured — and owns only the scheduling and execution layer.
Supported versions: Claudian 2.x, Oh My Claudian 2.5.x, and Copilot 3.x and 4.x; see Compatibility with AI backends for the versions last tested. Claudian's providers (Claude, Codex, OpenCode, Pi and others) and Oh My Claudian's extra providers are supported.
Describe a task in plain English → AI Scheduler plans it, schedules it and runs it.
▶️ Watch the full walkthrough (4 min, MP4): setup guide, settings, planning, calendar, and a task running to a finished note.
Scheduled tasks — Create jobs that run on any cadence: every morning at 9 AM, every 30 minutes, on specific weekdays, or with a full 5-field cron expression. Set a prompt once and let it run repeatedly.
Choose where results go — Each task can save a new note every run, keep one note and replace it, add each run to one note (at the end or under a heading), or add each run to today's daily note.
Variables in instructions — Write {{date}}, {{yesterday}}, {{last_run}}, {{changed_notes}} (links to the notes changed since the last run), {{daily_note}} and more. They are filled in each time the task runs, and also work in result file names and headings.
Retries, time limits and "only if changed" — A failed run can be retried automatically after a delay, a run that hangs can be stopped after a time limit, and a task can skip its run when none of the notes it reads changed since its last successful run.
Run history — Each task keeps its last 20 runs (time, result, duration, the note it wrote, and any error), shown in the task's details.
Periodic review — Daily, weekly, every N days or every N hours, the plugin gathers the notes you changed since the previous review, sends them to your AI backend for analysis, and saves a structured report (key progress, open loops, recommendations) as a Markdown file in your vault.
Event-driven triggers — Run a job when a note in your vault is modified or created (the plugin's own output, review and schedule folders are ignored). The job fires at most once per cooldown period you choose, and the AI is told which file changed.
Natural language planner — Type a goal like "every Friday afternoon, summarize this week's project notes and write a brief to the AI Reviews folder" and the planner converts it into a properly configured scheduled job.
Vault-synced schedule notes — Optionally mirror every task as a Markdown note with YAML frontmatter. Edit the note in Obsidian or edit the dashboard UI — both stay in sync.
Calendar export — Keep an .ics file of upcoming runs up to date and import it into Google Calendar, Outlook or Apple Calendar (or subscribe to it, if you sync the file somewhere with a public link). One-way: the plugin only writes the file.
Starter templates — Daily summary, weekly review, morning plan, inbox triage, action items, flashcards, link suggestions and a monthly reflection. Each opens the task editor pre-filled so you can adjust it before saving.
Chained tasks — Make a task run after another one finishes, and pass on its result: collect, then summarize, then file away.
Pause and quiet hours — Pause everything for an hour, until tomorrow or until you resume, and set daily quiet hours during which due tasks wait. "Run now" works either way.
Find and organise tasks — Tag tasks, then search, filter by tag and sort on the dashboard. Export tasks to a JSON file for backups or another vault, and import them back.
Prompt preview — See exactly what a task would send, with variables filled in, before it runs.
Approval mode — On by default (setting Ask before changing existing notes): every change a task would make to a note that already exists waits in an Awaiting approval list on the dashboard: adding its result to a note, replacing its result note, and edits the AI proposes. Each change shows as a diff that you approve or reject. New notes are still created right away. The AI is asked to propose edits instead of making them; if your AI backend edits a note itself anyway, the run history says so.
Works with other plugins — Use a Dataview query in a task's instructions, e.g. {{dataview: LIST FROM #project WHERE !completed}}, and its result is filled in when the task runs. Have action items written as task checkboxes (- [ ] …, with dates in the Tasks plugin format and an optional tag). Start result notes from a template note: put {{result}} where the result goes, and Templater commands in it run when Templater is installed. All three are optional; nothing is needed unless you use them.
Mobile — On phones and tablets you can view, edit and plan tasks. Claudian and Oh My Claudian work only on desktop, so tasks run on your computer; with Copilot you can also run tasks by hand on mobile. A per-device setting, Run scheduled tasks on this device, decides which device starts scheduled tasks, so a vault synced between devices runs each task once (phones and tablets start with it off).
Calendar add-ons (beta) — Optional: add your Google, Outlook, iCloud or other calendars (a calendar link is enough), and tasks can read your events ({{today_events}}, {{tomorrow_events}}, {{week_events}}), run a set number of minutes before calendar events (e.g. "15 minutes before every event with interview in the title: prepare a briefing"), and, with a Google or Outlook account, show their upcoming runs in an AI Scheduler calendar there. See Calendar add-ons below.
Trash & restore — Deleted tasks go to a trash section. You can restore them individually, restore all at once, or permanently delete them.
![]() Dashboard: backend status with a shortcut to its settings, task counts, and every task in one place. |
![]() AI planner: describe the task in plain English; @ attaches notes or folders, shown as highlighted links. |
![]() Task details: status, schedule, the files it created, and the full prompt. |
![]() Task editor: edit the prompt and schedule yourself, or ask the AI to rewrite them. |
![]() History: past runs with view / run again, and a recent-activity log. |
![]() Settings: pick the backend and the model for each kind of work. |
![]() Periodic reviews and outputs: recurring vault summaries and where results are saved. |
![]() Calendar export and notifications: an .ics feed of upcoming runs, plus in-app and desktop notices. |
| Type | What it does |
|---|---|
| Daily | Runs every day at a set time (22:00) |
| Weekly | Runs on chosen weekdays at a set time |
| Every N days / weeks / months / yearly | Extended recurring cadences |
| Interval | Runs every N minutes or hours |
| Cron | Full 5-field cron expression (0 9 * * 1-5) |
| Multi-rule | Multiple weekday + time combinations in one job |
| Once | Runs once at a specific future date and time |
| Vault event | Runs when any note in the vault is modified or created (with a cooldown) |
| After another task | Runs each time a chosen task finishes successfully; use {{previous_result}} or {{previous_output}} to work with that task's result |
| Before calendar events | Runs a set number of minutes before each event, or only events with chosen words in the title; {{event}} holds the event's details (beta; needs a calendar add-on) |
All schedule types support an optional max iterations limit — the job stops automatically after N runs.
From the Obsidian Community Plugin store (recommended):
Manual installation:
main.js, manifest.json, styles.css..obsidian/plugins/ai-scheduler/ inside your vault.AI Scheduler needs one of these backends installed and working first. Install it from the community plugin store, then set up your providers and models in its own settings:
Then in Settings → AI Scheduler, which has five tabs:
On first install the plugin creates a short AI Scheduler - Getting started note with these steps; reopen it any time with AI Scheduler: Open getting started guide or from Settings → AI Scheduler → Help & community. The dashboard, planner and AI task editor have a button to open your backend's settings (for example Claudian settings), and show what to fix if the backend isn't installed, enabled or set up.
Click the brain icon in the ribbon or run AI Scheduler: Open assistant dashboard from the command palette. It opens as a panel in the right sidebar that stays open next to your notes (drag its tab to move it to the left sidebar). To open it in a window instead, change Open the dashboard in (Settings → General → Dashboard).
The dashboard shows:
From here you can create tasks (yourself, from a template, or with the AI Planner), edit them, run them on demand, pause, and restore from trash.
#7), filters by tag and sorts by next run, title, task number or last run.Quiet hours (Settings → General): tasks that fall due in that window wait and run once it ends. The status bar shows the next run, or that AI Scheduler is paused or in quiet hours (this can be turned off).
In the task editor:
Save results:
Variables: click Variables you can use under the instructions to insert one.
| Variable | Filled in with |
|---|---|
{{date}}, {{time}} |
today's date and the current time |
{{yesterday}}, {{tomorrow}} |
those dates |
{{weekday}}, {{week}}, {{month}} |
e.g. Monday, 2026-W42, 2026-10 |
{{date:DD MMM YYYY}} |
today in your own format |
{{last_run}} |
when the task last ran successfully |
{{changed_notes}} |
links to the notes changed since the last run (up to 50) |
{{daily_note}} |
a link to today's daily note |
{{task}} |
the task title |
{{today_events}}, {{tomorrow_events}}, {{week_events}} |
your calendar events for today, tomorrow or the next 7 days (with a calendar add-on) |
{{event}} |
for a task that runs before calendar events: the event it runs for |
Any other {{...}} (for example Templater syntax) is left untouched.
Run options:
Tags: comma-separated labels. Click a tag on the dashboard to show only those tasks.
A task's details show its run history: completed, failed, skipped and cancelled runs, with links to the notes they wrote. For a failed task the button reads Retry now.
Run AI Scheduler: Open schedule calendar to see every task's runs in a month grid, an agenda list, or a full-page day view with a timeline. Past runs show as completed only when the task actually ran; you can create, run, pause and resume tasks directly from the calendar.
Turn on Settings → AI Scheduler → Calendars → Keep a calendar file of upcoming runs. The plugin then keeps an .ics file (by default AI Scheduler/AI Scheduler.ics) listing your upcoming runs, and rewrites it whenever your tasks change. There are two ways to use it:
Import (one-time snapshot). Import the file in your calendar app (Google Calendar: Settings → Import & export). This copies the runs listed at that moment; later changes need another import.
Subscribe (stays up to date). Calendar apps can follow a calendar from a web address and re-download it periodically. The plugin itself never uploads anything — you give the file a public link with whatever already syncs your vault:
.ics file is synced to a service that can share a direct download link — for example the Dropbox desktop app, or a plugin such as Remotely Save syncing to Dropbox. (Change the end of a Dropbox share link from ?dl=0 to ?dl=1.) Sync services without public links (Obsidian Sync, iCloud, Syncthing) can't be used for this, and OneDrive / Google Drive share links usually open a web page rather than the file.Good to know:
The schedule calendar above needs nothing set up. These optional add-ons bring your other calendars in, so tasks can use your events ({{today_events}}, {{tomorrow_events}}, {{week_events}}) and run before calendar events. Set them up in Settings → AI Scheduler → Calendars. They are in beta: they work, but expect rough edges, and tell us on GitHub if something breaks.
| Add-on | What it does | Setup |
|---|---|---|
| Calendar links | Reads events from Google, Outlook, iCloud and most other calendars, read-only | Paste the calendar's private address. Nothing else |
| Google Calendar | Reads your Google calendars and keeps an AI Scheduler calendar of upcoming runs in Google | Your own free Google Cloud project, about 5 minutes once |
| Outlook calendar | Reads your Outlook calendars and keeps an AI Scheduler calendar of upcoming runs in Outlook | Your own free Microsoft app registration, about 5 minutes once |
Just want your events in prompts or tasks that run before meetings? Use a calendar link. Choose a Google or Outlook account only if you also want your runs to show up in that calendar.
What the add-ons give you:
{{today_events}}, {{tomorrow_events}} and {{week_events}} list your events (time, title, place, attendees, video link) from all the calendars you added.{{event}} puts them where you want.Links and sign-ins are kept on the device where you add them, not in your vault, so they are not synced. Add them on the computer that runs your scheduled tasks.
Copy the calendar's private address and paste it under Calendar links → Add a calendar link:
webcal://).A private link works like a password: anyone who has it can read that calendar. If one leaks, reset it in your calendar's settings and add the new one. Some work accounts turn these links off; then use an account below.
Google Cloud is free for this; you don't need to add a payment method.
calendar.app.created, calendar.calendarlist.readonly and calendar.events.readonly.http://localhost. Click Register.Calendars.ReadWrite.Microsoft has no permission narrower than reading and writing calendars, so the sign-in asks for both; the plugin only writes to its own AI Scheduler calendar. With a work or school account, your organization may need to allow the app first.
The client details are saved with the plugin settings, so devices that sync your vault share them; each computer clicks Connect once.
All commands are available from the command palette (Ctrl/Cmd + P):
| Command | What it does |
|---|---|
Open assistant dashboard |
Opens the scheduling dashboard (in the sidebar or a window, per the setting) |
Open dashboard in the sidebar |
Opens the dashboard as a sidebar panel, whatever the setting says |
Open schedule calendar |
Opens the month / agenda / day calendar of upcoming runs |
Ask AI to plan a schedule |
Opens the natural language planner |
Run AI daily preview |
Runs today's preview report immediately |
Run AI periodic review now |
Runs the periodic review immediately |
Enable periodic AI review |
Turns on recurring periodic reviews |
Disable periodic AI review |
Turns off recurring periodic reviews |
Toggle periodic AI review |
Toggles the periodic review on/off |
Enable all scheduled tasks |
Turns all disabled tasks back on (one-time tasks whose time has passed stay off) |
Disable all scheduled tasks |
Turns all tasks off |
Restore last deleted task |
Restores the most recently deleted task |
Sync schedule notes now |
Reconciles vault notes with active schedules |
Export schedule to calendar file (.ics) |
Writes upcoming runs to the calendar file |
Open getting started guide |
Opens (or recreates) the setup guide note |
New task from a template |
Opens the starter templates |
Pause all tasks |
Stops tasks from starting on their own until you resume |
Resume all tasks |
Ends a pause |
Export tasks to a file |
Writes all tasks to a JSON file in the result folder |
Import tasks from a file |
Adds the tasks from an export file, paused for review |
View changelog / what's new |
Opens the release history |
accounts.google.com, oauth2.googleapis.com, www.googleapis.com) to sign in, read events from the calendars you choose, and, if you turn it on, write your upcoming task runs (titles and the start of their instructions) to the AI Scheduler calendar it creates. Needs a Google account and your own Google Cloud project (free).login.microsoftonline.com, graph.microsoft.com). Needs a Microsoft account and your own app registration (free)..obsidian folders.The plugin runs a lightweight dispatcher every 15 seconds. When a job becomes due, it sends the configured prompt (with any attached context files) to the active backend plugin. The backend executes the AI agent, and results are written to a vault folder you choose. Recurring jobs are rescheduled automatically; one-time jobs are marked complete.
The cron engine is dependency-free and bundled directly — no external packages, DST-safe, and tested against a full suite of edge cases.
AI Scheduler runs tasks through another plugin, so it relies on parts of Claudian, Oh My Claudian and Copilot that are not a public API. An update to one of those plugins can stop AI Scheduler from running tasks through it until AI Scheduler is updated too.
| Backend | Supported | Last tested with |
|---|---|---|
| Claudian | 2.x | 2.3.23 |
| Oh My Claudian | 2.5.x | 2.5.16 |
| Copilot | 3.x and 4.x | 4.0.15 |
Tested with AI Scheduler 2.2.1. If a backend update breaks tasks (for example, the dashboard says the backend's automation API is unavailable), please open an issue with the backend's version, and stay on the last tested version until it is fixed.
git clone https://github.com/racstan/obsidian-ai-scheduler.git
cd obsidian-ai-scheduler
npm install
npm test # unit tests (cron engine, schedule math, engine logic)
npm run lint # ESLint with obsidian-community-plugin ruleset
npm run check # TypeScript typecheck
npm run smoke # smoke test against mock Obsidian API
npm run build # production bundle
AI Scheduler is free and developed in my spare time. If it saves you time and you'd like to support its continued development, you can buy me a coffee. Thank you!
Thanks to the authors of the AI plugins that AI Scheduler works with:
Each plugin is developed and licensed by its own author; AI Scheduler is not affiliated with them.
Calendar files are read with ical.js (Mozilla Public License 2.0), included unmodified in the plugin.
Thanks also to everyone who contributed code, reported issues or suggested features. They are credited in each release of the changelog and in the plugin's What's new window.
PolyForm Noncommercial License 1.0.0 © 2026 racstan.
This plugin is licensed under the PolyForm Noncommercial License 1.0.0 for noncommercial and personal use.