Board, Code Browser & Stats
ait board
Open the kanban-style TUI board for visual task management.
ait board
Launches a Python-based terminal UI (built with Textual) that displays tasks in a kanban-style column layout. All arguments are forwarded to the Python board application.
For full usage documentation — including tutorials, keyboard shortcuts, how-to guides, and configuration — see the Kanban Board documentation.
Requirements:
- Python venv at
~/.aitask/venv/with packages:textual,pyyaml,linkify-it-py - Falls back to system
python3if venv not found (warns about missing packages) - Checks terminal capabilities and warns on legacy terminals (e.g., WSL default console)
ait codebrowser
Open the code browser TUI for file exploration with task annotations.
ait codebrowser
Launches a Python-based terminal UI (built with Textual) that provides a file tree, syntax-highlighted code viewer, and annotation gutter showing which aitasks contributed to each section of code. All arguments are forwarded to the Python codebrowser application.
For full usage documentation — including tutorials, keyboard shortcuts, how-to guides, and annotation details — see the Code Browser documentation.
Requirements:
- Python venv at
~/.aitask/venv/with packages:textual,pyyaml - Falls back to system
python3if venv not found (warns about missing packages) - Checks terminal capabilities and warns on legacy terminals (e.g., WSL default console)
ait stats
Display task completion statistics and trends.
ait stats # Basic stats (last 7 days)
ait stats -d 14 # Extended daily view
ait stats -v # Verbose with task IDs
ait stats --csv # Export to CSV
ait stats --plot # Render interactive terminal charts (requires optional plotext)
ait stats -d 30 --plot # Charts over a longer date range
ait stats --csv out.csv --plot # Export CSV and render charts in the same run
ait stats -w sun # Week starts on Sunday
| Option | Description |
|---|---|
-d, --days N | Show daily breakdown for last N days (default: 7) |
-w, --week-start DAY | First day of week: mon, sun, tue, etc. (default: Monday) |
-v, --verbose | Show individual task IDs in daily breakdown |
--csv [FILE] | Export raw data to CSV (default: aitask_stats.csv) |
--plot | Show interactive terminal chart summary (optional plotext) |
Statistics provided:
- Summary — Total completions, 7-day and 30-day counts
- Daily breakdown — Completions per day (with task IDs in verbose mode)
- Day of week averages — This week counts + 30-day and all-time averages per weekday
- Label weekly trends — Per-label completions for last 4 weeks
- Label day-of-week — Per-label averages by day of week (last 30 days)
- Task type trends — Parent/child and issue type (feature/bug/refactor) weekly trends
- Label + type trends — Issue types by label, weekly for last 4 weeks
Data sources: Scans archived parent tasks (aitasks/archived/t*_*.md), archived child tasks (aitasks/archived/t*/), and compressed archives (old.tar.gz). Uses completed_at field, falling back to updated_at for tasks with status: Done.
CSV export format: date, day_of_week, week_offset, task_id, labels, issue_type, task_type. Open in LibreOffice Calc for custom charts and pivot tables.
Plot mode (--plot):
- Uses optional
plotextto render interactive terminal charts. - If
plotextis not installed,ait statsstill runs and prints the normal text report, then shows a warning and skips chart rendering (no crash). - Enable it via
ait setupin the Python venv step when prompted:Install plotext for 'ait stats --plot'? [y/N].