# TXTodo for Raycast

URL: https://www.raycast.com/lacasa/txtodo

> Manage todo.txt tasks: add tasks with priorities and due dates, complete, edit and filter them, and show tasks in the Mac menu bar.

- Install: raycast://extensions/lacasa/txtodo
- Author: [Alejandro G. Lacasa](https://www.raycast.com/lacasa)
- Installs: 72
- Platforms: macOS
- Categories: Productivity, AI Extensions
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/c4e0f79975a011e16032382f2d1263f712f8b43c/extensions/txtodo/

## Commands

- **Show Tasks**: View, complete, edit, and prioritize tasks from todo.txt
- **Add Task**: Quickly add a task with inline description, priority, and due date
- **Show Completed Tasks**: View completed tasks still in todo.txt
- **Show Archived Tasks**: View tasks archived to done.txt
- **Refresh Menu Bar**: Re-read todo.txt and refresh the menu bar item (the icon itself lives in the macOS menu bar)
- **Toggle Menu Bar**: Show or hide the TXTodo icon in the macOS menu bar

## AI tools

- **List Tasks**: List active or completed tasks. Optionally filter by view preset (all, today, this-week, overdue, completed) and/or by a single project or context tag name. Pass project/context names WITHOUT the leading + or @ — for example, project: "work", context: "writing".
- **Add Task**: Create a new task. Description may include +project and @context tags inline. Optionally set priority (single letter A-Z) and due date (YYYY-MM-DD).
- **Complete Task**: Mark an active task as completed. Finds the task by fuzzy text match against the description.
- **Reschedule Task**: Change the due date of an existing task. Finds the task by fuzzy text match; new date must be YYYY-MM-DD.

## README

### TXTodo

A Raycast extension for managing tasks in the [todo.txt](http://todotxt.org) plain-text format. Keyboard-first, plays well with other todo.txt tools — your `todo.txt` file stays the source of truth.

#### Commands

- **Show Tasks** — list, complete, prioritize, and edit active tasks. View presets and tag filters live in the search bar.
- **Add Task** — quick-add a task with an inline description, optional priority (A–Z), and a due-date preset (Today, Tomorrow, End of week, Next Monday, In 2 weeks, End of month). `+project` and `@context` tags are parsed from the description.
- **Show Completed Tasks** — view tasks marked `x ` in `todo.txt` that haven't been archived yet.
- **Show Archived Tasks** — view tasks moved to `done.txt`.
- **Toggle Menu Bar** — show or hide the TXTodo icon in the macOS menu bar.
- **Refresh Menu Bar** — re-read `todo.txt` and refresh the menu bar item. The count also auto-refreshes every 10 minutes in the background.

#### Views

When launching **Show Tasks** from Raycast root, pick a view from the argument dropdown:

- **Active** (default) — every uncompleted task
- **Today** — uncompleted tasks due today or earlier
- **This week** — uncompleted tasks due on or before the upcoming Sunday
- **Overdue** — uncompleted tasks past their due date
- **Completed** — only completed tasks

In-view, the search-bar dropdown switches between **Active / Today / This week / Overdue**. Tag filters (`+project`, `@context`) AND on top of the active preset.

##### Quicklinks

To pin a view (e.g. "Today") to your Raycast root or assign it a hotkey, open **Show Tasks** in that view and press `⌘⇧Q` — "Save '<view>' as Quicklink". Raycast will prompt for a name; accept the default or rename. The Quicklink launches **Show Tasks** directly into that view.

#### AI tools

The extension exposes four tools to Raycast AI:

- **List Tasks** — list active or completed tasks, optionally filtered by view preset and/or a single project/context tag.
- **Add Task** — create a task, with optional priority and `YYYY-MM-DD` due date.
- **Complete Task** — mark a task complete by fuzzy text match.
- **Reschedule Task** — change a task's due date by fuzzy text match.

#### Preferences

- `todoPath` — path to your `todo.txt` (default `~/todo.txt`)
- `donePath` — path to your `done.txt` (default `~/done.txt`)
- `archiveOnComplete` — move tasks to `done.txt` the moment they're completed
- `autoStampCreationDate` — auto-prepend today's date on new tasks
