AI Scheduler

approvedunreviewed

by Rachit Asthana

Plan 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.

★ 3 stars↓ 950 downloadsUpdated 1mo ago

AI Scheduler for Obsidian

Release Obsidian License: PolyForm Noncommercial 1.0.0

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.

Planning a task in plain English: AI Scheduler creates and schedules it

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.


What it can do

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.


Screenshots

Dashboard with backend status, task counters and disabled tasks
Dashboard: backend status with a shortcut to its settings, task counts, and every task in one place.
AI planner with a highlighted folder link and attached context
AI planner: describe the task in plain English; @ attaches notes or folders, shown as highlighted links.
Task details with status, schedule, created files and prompt
Task details: status, schedule, the files it created, and the full prompt.
Task editor with manual and AI editing modes
Task editor: edit the prompt and schedule yourself, or ask the AI to rewrite them.
Past tasks and recent activity
History: past runs with view / run again, and a recent-activity log.
Settings: AI backend and models
Settings: pick the backend and the model for each kind of work.
Settings: periodic reviews and task outputs
Periodic reviews and outputs: recurring vault summaries and where results are saved.
Settings: calendar export and notifications
Calendar export and notifications: an .ics feed of upcoming runs, plus in-app and desktop notices.

Supported schedule types

TypeWhat it does
DailyRuns every day at a set time (22:00)
WeeklyRuns on chosen weekdays at a set time
Every N days / weeks / months / yearlyExtended recurring cadences
IntervalRuns every N minutes or hours
CronFull 5-field cron expression (0 9 * * 1-5)
Multi-ruleMultiple weekday + time combinations in one job
OnceRuns once at a specific future date and time
Vault eventRuns when any note in the vault is modified or created (with a cooldown)
After another taskRuns each time a chosen task finishes successfully; use {{previous_result}} or {{previous_output}} to work with that task's result
Before calendar eventsRuns 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.


Installation

From the Obsidian Community Plugin store (recommended):

  1. Open Obsidian Settings → Community plugins.
  2. Turn Restricted mode off if it is on.
  3. Click Browse, search for AI Scheduler, and install it.

Manual installation:

  1. Download the latest release: main.js, manifest.json, styles.css.
  2. Create the folder .obsidian/plugins/ai-scheduler/ inside your vault.
  3. Copy the three files into that folder.
  4. In Settings → Community plugins, reload plugins and enable AI Scheduler.

Setup

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:

  1. General: pick your AI backend (Claudian, Oh My Claudian or Copilot) and choose models for planning, scheduled tasks and reviews. This tab also has pausing, quiet hours and notifications.
  2. Tasks & results (optional): where results go, approval mode, the activity log, and Schedule notes to mirror tasks as vault Markdown files.
  3. Reviews (optional): enable Periodic AI review, choose its cadence and time, and pick a review folder.
  4. Calendars (optional): the calendar file export and the calendar add-ons (beta).
  5. About: release notes, help and links.

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.

Settings: schedule notes, release notes and the getting started guide


Dashboard

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:

  • All scheduled tasks with their next run time and status
  • Running tasks with a live elapsed timer
  • Recently completed tasks and their output
  • Disabled and deleted (trash) tasks
  • Recent activity log

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.

  • Search, tags and sorting: the bar above the task lists searches titles, instructions, tags and task numbers (#7), filters by tag and sorts by next run, title, task number or last run.
  • Pause…: pause for 1 hour, 4 hours, until tomorrow 08:00, or until you resume. While paused, no task starts on its own; "Run now" still works. On resume, runs missed while paused follow the Run missed jobs after startup setting, as if Obsidian had been closed.
  • More…: export tasks to a JSON file, or import tasks from one. Imported tasks are added paused so you can review them first; run history and replies are not included.

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).

Task options

In the task editor:

  • Save results:

    • A new note each run: the default. A file name is optional.
    • Replace one note each run: the note always holds the latest result.
    • Add to one note: each run is added at the end of the note, or under a heading you name. A missing heading is created.
    • Add to today's daily note: uses the folder, date format and template of the Daily notes core plugin.
  • Variables: click Variables you can use under the instructions to insert one.

    VariableFilled 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:

    • Retries: up to 5, with the minutes to wait between them.
    • Time limit: stops a run that takes longer than this.
    • Only run when something changed: skips the run when none of the attached notes or folders changed since the last successful run. With nothing attached, any note in the vault counts. Results the plugin wrote itself never count.
  • 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.

Schedule calendar

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.

See your AI tasks in Google Calendar, Outlook or Apple 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:

  1. Make sure the .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.
  2. Subscribe to that link:
    • Google Calendar: Other calendars → + → From URL
    • Outlook: Add calendar → Subscribe from web
    • Apple Calendar: File → New Calendar Subscription

Good to know:

  • Updates aren't instant. Your calendar app decides when to re-download the file; Google can take several hours to a day. Outlook and Apple usually refresh sooner.
  • Anyone with the link can read the file, which includes task titles and prompts. Treat the link like a password and don't share it.
  • One-way. Events edited or deleted in your calendar app don't change your tasks.

Calendar add-ons (beta)

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-onWhat it doesSetup
Calendar linksReads events from Google, Outlook, iCloud and most other calendars, read-onlyPaste the calendar's private address. Nothing else
Google CalendarReads your Google calendars and keeps an AI Scheduler calendar of upcoming runs in GoogleYour own free Google Cloud project, about 5 minutes once
Outlook calendarReads your Outlook calendars and keeps an AI Scheduler calendar of upcoming runs in OutlookYour 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:

  • Events in prompts: {{today_events}}, {{tomorrow_events}} and {{week_events}} list your events (time, title, place, attendees, video link) from all the calendars you added.
  • Before calendar events: a schedule type that runs a task a set number of minutes before each event, or only before events with chosen words in the title. Each event runs the task once; all-day and declined events are skipped. The event's details are added to the instructions, and {{event}} puts them where you want.
  • Show runs in Google or Outlook: the plugin creates a calendar named AI Scheduler in your account and keeps it up to date with the next runs (14 days ahead by default), without reminders. Only the device that runs scheduled tasks updates it. Turning it off deletes that calendar. The plugin changes only the calendar it created.

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.

Calendar links

Copy the calendar's private address and paste it under Calendar links → Add a calendar link:

  • Google Calendar: on the web, Settings → (your calendar) → Integrate calendar → Secret address in iCal format.
  • Outlook: on the web, Settings → Calendar → Shared calendars → Publish a calendar, choose Can view all details, and copy the ICS link.
  • iCloud: in the Calendar app, share the calendar as a Public Calendar and copy the link (it starts with webcal://).
  • Others (Fastmail, Proton, Nextcloud and more): look for subscribe, iCal or ICS in the calendar's sharing settings.

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.

Connect Google Calendar

Google Cloud is free for this; you don't need to add a payment method.

  1. Open Google Cloud Console and create a project. Any name works, e.g. Obsidian.
  2. Enable the Google Calendar API for that project.
  3. Open Google Auth Platform and click Get started: give the app a name, your email as support and contact email, and choose External as the audience.
  4. Under Audience, either add your own Google account as a test user, or click Publish app.
    • As a test user, Google ends the sign-in every 7 days and you click Connect again.
    • Published, the sign-in lasts. Because only you use your app, Google never needs to review it, but it shows a "Google hasn't verified this app" screen when you connect: choose Advanced → Go to (your app name).
  5. Under Data access → Add or remove scopes, add calendar.app.created, calendar.calendarlist.readonly and calendar.events.readonly.
  6. Under Clients → Create client, choose Desktop app, then copy the client ID and client secret.
  7. In Obsidian: Settings → AI Scheduler → Calendars → Google Calendar → Set up your Google client, paste both, and click Connect. Your browser opens Google's sign-in; allow access and go back to Obsidian.

Connect Outlook calendar

  1. Open App registrations in the Microsoft Entra admin center (sign in with your Microsoft account) and click New registration.
  2. Give it a name, e.g. AI Scheduler, and under Supported account types choose Accounts in any organizational directory and personal Microsoft accounts.
  3. Under Redirect URI, choose the platform Public client/native (mobile & desktop) and enter http://localhost. Click Register.
  4. Under API permissions → Add a permission → Microsoft Graph → Delegated permissions, add Calendars.ReadWrite.
  5. On the Overview page, copy the Application (client) ID. No client secret is needed.
  6. In Obsidian: Settings → AI Scheduler → Calendars → Outlook calendar → Set up your Outlook client, paste the ID, and click Connect.

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.


Commands

All commands are available from the command palette (Ctrl/Cmd + P):

CommandWhat it does
Open assistant dashboardOpens the scheduling dashboard (in the sidebar or a window, per the setting)
Open dashboard in the sidebarOpens the dashboard as a sidebar panel, whatever the setting says
Open schedule calendarOpens the month / agenda / day calendar of upcoming runs
Ask AI to plan a scheduleOpens the natural language planner
Run AI daily previewRuns today's preview report immediately
Run AI periodic review nowRuns the periodic review immediately
Enable periodic AI reviewTurns on recurring periodic reviews
Disable periodic AI reviewTurns off recurring periodic reviews
Toggle periodic AI reviewToggles the periodic review on/off
Enable all scheduled tasksTurns all disabled tasks back on (one-time tasks whose time has passed stay off)
Disable all scheduled tasksTurns all tasks off
Restore last deleted taskRestores the most recently deleted task
Sync schedule notes nowReconciles vault notes with active schedules
Export schedule to calendar file (.ics)Writes upcoming runs to the calendar file
Open getting started guideOpens (or recreates) the setup guide note
New task from a templateOpens the starter templates
Pause all tasksStops tasks from starting on their own until you resume
Resume all tasksEnds a pause
Export tasks to a fileWrites all tasks to a JSON file in the result folder
Import tasks from a fileAdds the tasks from an export file, paused for review
View changelog / what's newOpens the release history

Privacy

  • No third-party servers, no telemetry, no analytics.
  • Prompts and vault files go only to your configured backend (Claudian, Oh My Claudian or Copilot) and then to whatever AI provider you have set up there.
  • Network use (only if you use a calendar add-on):
    • Calendar links: the plugin downloads each address you add, every few minutes while a task needs it.
    • Google Calendar: it talks directly to Google (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).
    • Outlook calendar: the same with Microsoft (login.microsoftonline.com, graph.microsoft.com). Needs a Microsoft account and your own app registration (free).
    • Nothing goes through any other server. Links and sign-ins are stored on your device, outside your vault; Disconnect removes a sign-in (and revokes it at Google).
  • Periodic reviews and automated note reading are opt-in.
  • Follow-up tasks that the AI proposes in its replies are created disabled — you review and enable them yourself.
  • Task output is written as Markdown notes. The plugin never replaces a note it did not create; it only adds to an existing note when you choose Add to one note or Add to today's daily note for that task. It never writes into hidden or .obsidian folders.
  • You control iteration limits and can pause or delete any task at any time.

How it works internally

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.


Compatibility with AI backends

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.

BackendSupportedLast tested with
Claudian2.x2.3.23
Oh My Claudian2.5.x2.5.16
Copilot3.x and 4.x4.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.


Development

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

Support

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!


Credits

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.


License

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.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.