Quickstart

Install Mindtape, make a project, and file, list and finish your first tasks.

Install

Install the CLI crate from crates.io:

cargo install mindtape-cli

Each tagged release also includes a binary for 5 platforms. Grab yours from the Releases page:

Or run it from the flake without installing:

nix run github:mlavrinenko/mindtape -- --help

Or put mt in a project’s Nix dev shell. qahq is a flake that bundles mt with the other checks a repo runs, so one input brings them all:

{
inputs.qahq.url = "github:mlavrinenko/qahq";

outputs =
{ nixpkgs, qahq, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShell {
packages = [ qahq.packages.${system}.mindtape ];
};
};
}

qahq’s CI pushes every tool to its binary cache. Trust the cache once and Nix downloads mt instead of compiling it:

nix.settings = {
extra-substituters = [ "https://qahq.cachix.org" ];
extra-trusted-public-keys = [
"qahq.cachix.org-1:m43yxxOk1vih9jTZmKXZXgHSSKsW/rNVZUqgXqrELM8="
];
};

Leave qahq’s nixpkgs alone. Point it at yours and every tool gets a new hash, so the cache misses and Nix compiles them all.

Without qahq, take Mindtape’s own flake as an input. It adds four nodes to your flake.lock and nothing else, since its dev tooling sits in a lock of its own:

{
inputs = {
mindtape.url = "github:mlavrinenko/mindtape";
# Mindtape's own pin, so the lock gains nothing more and the build is the
# one in Mindtape's binary cache.
nixpkgs.follows = "mindtape/nixpkgs";
};

outputs =
{ mindtape, nixpkgs, ... }:
let
systems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forAll = f: nixpkgs.lib.genAttrs systems (system: f system nixpkgs.legacyPackages.${system});
in
{
devShells = forAll (
system: pkgs: {
default = pkgs.mkShell { packages = [ mindtape.packages.${system}.default ]; };
}
);
};
}

Following Mindtape’s nixpkgs keeps the build the one its CI pushes to https://mlavrinenko.cachix.org, whose key is mlavrinenko.cachix.org-1:vNcY3Nf5Y1J0D30uNAwrw44CBHbHDd1tGiA18ANz4XY=.

Or build it from source with a Rust toolchain. Cargo writes the binary to target/release/mt:

git clone https://github.com/mlavrinenko/mindtape.git
cd mindtape && cargo build --release

Set up the environment

Task files import a Typst prelude. mt has its own copy, so a CI runner or a fresh clone doesn’t need setup. Your editor and typst look for the prelude on the machine, and mt install puts it there. Run it once per machine:

$ mt install
installed @local/mindtape:0.2.0 -> ~/.local/share/typst/packages/local/mindtape/0.2.0
installed @local/mindtape:0.3.0 -> ~/.local/share/typst/packages/local/mindtape/0.3.0
installed @local/mindtape:0.4.0 -> ~/.local/share/typst/packages/local/mindtape/0.4.0
installed @local/mindtape:0.5.0 -> ~/.local/share/typst/packages/local/mindtape/0.5.0
wrote ~/.config/mindtape/defaults.toml
wrote ~/.config/mindtape/config.schema.json
wrote ~/.config/mindtape/at.schema.json
wrote ~/.config/mindtape/schema/output/ls/1.schema.json
wrote ~/.config/mindtape/schema/output/task/1.schema.json
wrote ~/.config/mindtape/schema/output/add/1.schema.json
wrote ~/.config/mindtape/schema/output/allow-status/1.schema.json
wrote ~/.config/mindtape/schema/output/check/1.schema.json
wrote ~/.config/mindtape/schema/output/set-check/1.schema.json
wrote ~/.config/mindtape/schema/output/graph/1.schema.json
wrote ~/.config/mindtape/schema/output/preset-ls/1.schema.json
wrote ~/.config/mindtape/schema/output/templates/1.schema.json
wrote ~/.config/mindtape/schema/output/eval/1.schema.json
wrote ~/.config/mindtape/schema/output/board/1.schema.json
wrote ~/.config/mindtape/schema/output/at/1.schema.json
wrote ~/.config/mindtape/schema/output/at-project/1.schema.json
wrote ~/.config/mindtape/schema/output/at-set/1.schema.json
wrote ~/.config/mindtape/schema/output/set-ls/1.schema.json
wrote ~/.config/mindtape/schema/output/packs/1.schema.json
wrote ~/.config/mindtape/schema/output/describe/2.schema.json
wrote ~/.config/mindtape/schema/output/dicts/2.schema.json
wrote ~/.config/mindtape/schema/output/dict/1.schema.json
wrote ~/.config/mindtape/schema/output/config-show/1.schema.json
wrote ~/.config/mindtape/completions/bash
wrote ~/.config/mindtape/completions/zsh
wrote ~/.config/mindtape/completions/fish
wrote ~/.config/mindtape/completions/elvish
wrote ~/.config/mindtape/completions/powershell
For Tab completion, add this to your shell's startup file:
source ~/.config/mindtape/completions/bash

mt install also prints a line that turns on Tab completion. Paste it into your shell’s startup file, and Tab completes task names, statuses and views for the project you’re in.

Open a task in an editor that runs tinymist, the Typst language server, and it finds the installed prelude, completes the task fields and flags a misspelled one. Task files explains the @local import.

Then set up a project, once per repository:

$ mt init --no-input
wrote ./.mindtape/config.toml
preset: flow
want something else? mt init --list-presets shows the other presets
next: mt add "My first task"

Plain mt init asks a few questions first. --no-input skips them and writes the default preset, flow. mt init --list-presets lists the others. The mt init page covers the questions and the presets, and Configuration covers what the file can contain.

File your first task

A task is a plain text file, so you can write one in any editor. Or let mt add fill in a template for you. The default template has only a title slot:

$ mt add "Fix the login bug"
wrote tasks/fix-the-login-bug.typ (sd8)
next: mt eval sd8
$ mt add "Write the onboarding guide"
wrote tasks/write-the-onboarding-guide.typ (gbz)
next: mt eval gbz
$ mt add "Set up CI"
wrote tasks/set-up-ci.typ (xkt)
next: mt eval xkt

mt add wrote this file:

#import "@local/mindtape:0.4.0": *

#show: task.with(
title: "Fix the login bug",
status: proposed(2026, 7, 6),
)

Task files walks through each line. Templates & slots covers editor mode, named templates and templates with more than a title. Each value a template takes is a slot.

List and query

mt ls shows your open tasks. It hides done and cancelled ones, and any task whose start date is still in the future:

$ mt ls
SLUG# STATUS TITLE
sd8 💡 proposed Fix the login bug
xkt 💡 proposed Set up CI
gbz 💡 proposed Write the onboarding guide

3 of 3 tasks · default view (!terminal && (miss(start) || start <= now()))

Pass a filter expression to narrow the list:

$ mt ls 'contains("login")'
SLUG# STATUS TITLE
sd8 💡 proposed Fix the login bug

1 of 3 tasks · your filter

Filters covers the language: tags, dates, dependency state and text search. The mt ls page covers the listing itself: which columns show, the file column, hyperlinks and the formats for other programs. To search by text, use mt find.

Change status

Your project’s config sets which statuses exist and allows which transitions between them. It is all in .mindtape/config.toml. Each status is also a command that sets the status and stamps today’s date. The flow preset won’t let you jump from proposed straight to done:

$ mt done fix-the-login-bug
error: illegal transition: 'proposed → done'
hint: flip to an allowed status first, or pass --force to skip this check
note: allowed next: proposed → wip, cancelled

Start the task, then finish it:

$ mt wip fix-the-login-bug
flipped fix-the-login-bug (Fix the login bug): proposed → wip
$ mt done fix-the-login-bug
flipped fix-the-login-bug (Fix the login bug): wip → done

mt done x is short for mt flip done x. Statuses covers the transitions and the notes a status can require. The CLI reference lists every command.

Validate

mt check validates every task against the project’s config:

$ mt check
ok: 3 tasks

It reports any violation and exits non-zero, so you can run it from a pre-commit hook or CI. The mt check page lists what it checks, and Rules covers the checks you add yourself.

Concepts explains why a task is a file and how mt reads them.

For more than one repo, Read many projects shows how one mt @name reads them all.

Start a session in Mindtape’s repository

A just recipe belongs to the repository that writes it, not to mt, which installs into projects that have no Justfile. Mindtape’s own repository starts a session with just session orient: four mt calls, one screen.

It reads the project’s shape from mt config show --json --resolved through contrib/jq/reports/essentials.jq, so the roots and statuses are the config’s own. Then it prints the open count, the templates mt add offers, and the commands the config runs and mt allow --status lists. Only the listing reads the task files. A project can write the same recipe from those four commands.