Tasks Auto Archive · Obsidian plugin documentation
Tasks Auto Archive documentation

Tasks Auto Archive moves completed Markdown tasks (- [x] ...) out of your active notes into organized archive notes with source backlinks, completion dates, and preserved nested sub-bullets. Keep your daily notes, project notes, and meeting notes focused on open work while retaining a searchable history of finished items.
All task scanning, archiving, routing rules, grace-period auto-archiving, batch previews, completion stats, and undo history run locally on desktop and mobile. Free features need no account and make zero network requests.
Version 1.0.0. Requires Obsidian 1.13.4 or later. Works on desktop and mobile.
1 Installation
Open Settings, then Community plugins, then Browse, and search for "Tasks Auto Archive". Select Install, then Enable.
To install by hand, download main.js, manifest.json, and styles.css from the latest release. Place the three files in <vault>/.obsidian/plugins/tasks-auto-archive/. Reload the list of community plugins, then enable Tasks Auto Archive.
Tasks Auto Archive requires Obsidian 1.13.4 or newer and works on desktop and mobile.
2 Getting started
- Open any Markdown note containing completed tasks (
- [x] ...). - Run "Archive completed tasks in active note" or open the side panel and select "Archive completed".
- Check your archive note (default
Archive/Completed Tasks.md) for monthly grouped tasks with dates, backlinks, and nested sub-bullets. - For Pro workflows, use "Manage archive routing rules", "Toggle auto-archive on checkbox click", "Batch archive completed tasks across vault", or "Show task completion stats".
3 Features
Archive completed tasks with backlinks and nested sub-bullets
Run "Archive completed tasks in active note" from the command palette or side panel to move completed checklist items (dash, asterisk, plus, or numbered bullets) into your configured archive note (default Archive/Completed Tasks.md). Nested sub-bullets, indented notes, and child tasks move together as one block while keeping relative indentation intact. Each archived task gets a completion date ( YYYY-MM-DD, skipping duplicates) and a source wikilink ([[Source Note#Heading]]). YAML frontmatter, fenced code blocks, callout blockquotes, and open tasks stay untouched. By default, completed sub-tasks under an incomplete parent stay in place until the parent is completed.
Live active-note task side panel
Run "Open task archive panel" or click the ribbon icon to inspect every task in the active note in real time. The panel shows open and completed counts, a progress bar, filter tabs (All, Open, Completed), heading context, sub-line counts, and inline #tags. Click any checkbox to toggle the task in the note, click any task title to jump to its line, or select "Archive completed" to move finished items in one click.
Rule-based archive routing by folder, tag, or heading (Pro)
Send different projects to separate archive notes. Open "Manage archive routing rules" to route tasks by folder prefix (Projects), #tag (#work), or Markdown heading (Release checklist). Target paths support {{YYYY}}, {{MM}}, {{DD}}, {{folder}}, {{note}}, and {{tag}} template tokens for paths such as Archive/{{YYYY}}-{{MM}}/Work Tasks.md. Tasks that do not match any rule fall back to your default archive note.
Auto-archive on checkbox click with grace period (Pro)
Enable "Auto-archive on checkbox click" to move tasks automatically after you check them off. A configurable grace period from 1 to 300 seconds (default 5 seconds) runs in the status bar with a live countdown. Click the status bar countdown to cancel immediately, or uncheck the task before the timer finishes.
Vault-wide batch archive with dry-run preview and one-click undo (Pro)
Open "Batch archive completed tasks across vault", filter by folder prefix or #tag, and run "Scan vault (dry run)" to inspect every source note, task count, and destination before any file changes. Confirm to apply all moves together with full rollback if any note changed. Every archive action pushes a snapshot onto the undo stack (up to 20 operations), and "Undo last archive" stays available even if Pro is turned off later.
Task completion stats summary (Pro)
Open "Show task completion stats" to inspect completed task totals for today, the last 7 days, the last 30 days, and all time, along with a 14-day bar chart, top source notes, and top #tags.
4 Commands
Open the command palette and type the plugin name to see these commands. You can give each one a hotkey in Settings, Hotkeys.
| Command | Command id |
|---|---|
| Archive completed tasks in active note | tasks-auto-archive:archive-active-note |
| Open task archive panel | tasks-auto-archive:open-task-panel |
| Batch archive completed tasks across vault | tasks-auto-archive:batch-archive-vault |
| Manage archive routing rules | tasks-auto-archive:manage-routing-rules |
| Show task completion stats | tasks-auto-archive:show-completion-stats |
| Toggle auto-archive on checkbox click | tasks-auto-archive:toggle-auto-archive |
| Undo last archive | tasks-auto-archive:undo-last-archive |
5 Settings
After a minor or major update, this plugin opens one What's new tab in the background. The tab and settings card suggest other NoteMods plugins and Zovo Chat and link to notemods.com for feedback (privacy). The tab sends no data. Turn the tab off in Settings.
| Setting | Default | Allowed values |
|---|---|---|
| Default archive note path | Archive/Completed Tasks.md |
Vault-relative Markdown path. |
| Archive date grouping | Monthly (## YYYY-MM) |
Monthly, daily (## YYYY-MM-DD), or none. |
| Insertion order | Prepend | Prepend or append. |
| Append source backlink | On | On or off. |
| Include heading in backlink | On | On or off. |
| Append completion date | On | On or off. |
| Archive sub-tasks under incomplete parents | Off | On or off. |
| Show status bar indicator | On | On or off. |
| Auto-archive on checkbox click (Pro) | Off | On or off. |
| Auto-archive grace period (Pro) | 5 seconds | 1 to 300 seconds. |
| Archive routing rules (Pro) | 2 starter rules | Folder, tag, or heading rules. |
6 Pro
The command "What Pro adds" shows each paid feature with an interactive demo on sample data.
- Route archived tasks by folder, tag, or heading into separate monthly or project archive notes.
- Auto-archive tasks on checkbox click after a configurable grace period with one-click cancel.
- Run vault-wide batch archiving with a dry-run preview modal and atomic one-click undo.
- Review completion stats by day, source note, and tag across your archived tasks.
Sponsor $5 a month, or $15 once. When you have paid $15 in total, Pro stays on.
Sponsor through the links above, then sign in from the plugin settings.
7 Privacy, payment and network
The core features are free. Pro features need a GitHub Sponsors sponsorship of theluckystrike: $5 a month or more, or $15 once. A total payment of $15 meets the payment requirement for Pro without further payment. Sign-in and the checks below still apply. Your notes stay readable and editable with or without Pro.
One payment turns on Pro in every NoteMods plugin.
GitHub handles the payment. Sponsor at https://github.com/sponsors/theluckystrike/sponsorships?tier_id=666162&frequency=one-time&metadata_source=tasks-auto-archive. You need no account for the free features. Pro needs the GitHub account that sponsors.
Until you select "Sign in with GitHub" in the settings, Tasks Auto Archive makes no network requests. Sign in uses the GitHub device flow. Tasks Auto Archive sends its public client ID and the scope read:user to https://github.com/login/device/code and shows you a code. While you enter the code at https://github.com/login/device, it asks https://github.com/login/oauth/access_token every few seconds to check the sign-in status. The scope permits profile reads only. GitHub needs this access to show the sponsorship tier. It grants no repository scope and no write access.
After sign in, Tasks Auto Archive sends one query to https://api.github.com/graphql. It checks if the signed-in account sponsors theluckystrike. It asks for the tier and the total payment to theluckystrike. The plugin reuses a successful check for 7 days. Failed checks can retry after 6 hours. Select Refresh to request an earlier check. It sends no note content, file names or other vault data, and it has no telemetry.
After a successful check, Pro can work offline for up to 14 days. Sign out or a negative sponsorship answer turns Pro off. The plugin stores the GitHub token through the secret storage API of Obsidian. It does not put the token in its saved settings or its local sponsorship data. The local storage of this device keeps your GitHub login, the tier and the time of the last check. Sign out clears the token. You can also revoke the access in your GitHub settings, under Applications.
8 Questions and answers
Will archiving run inside my archive note?
No. Tasks Auto Archive detects the default archive note and configured routing targets and skips them automatically.
What happens to tasks inside code blocks or callouts?
Fenced code blocks (``` and ~~~), YAML frontmatter, and blockquoted callouts (> - [x]) are ignored so examples and callouts stay intact.
Can I undo an archive if Pro turns off?
Yes. Every archive operation stores its prior file states in an in-memory undo stack (up to 20 entries), and "Undo last archive" is never locked behind Pro.
Does it work on mobile?
Yes. All parsing, routing, batch previews, stats, and atomic writes run locally inside Obsidian with zero native dependencies.
9 Support
Plugin page: tasks-auto-archive.
Report a bug or ask for a feature in the issue tracker of this repository. Include your Obsidian version and a minimal sample note.
To build from source:
npm ci
npm run build
npm test
10 License
MIT