---
name: tviz
description: How to use the tviz CLI to read and write Things 3 tasks
title: tviz
canonical_url: https://skilld.dev/gh/david-crespo/dotfiles/tviz
last_updated: 2026-10-27T15:12:45.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install david-crespo/dotfiles/tviz`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/tviz`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/david-crespo/dotfiles/tviz) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/tviz`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/tviz --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/tviz --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# tviz

## Things 3 concepts

**Areas** are ongoing life domains (Career, Health, Home). They never complete.

**Projects** are completable goals with a clear end state. If it never ends, it's not a project—it's an area or ongoing responsibility.

**Someday** is for genuine future possibilities, not a graveyard for items you're afraid to cancel.

Tasks should be concrete next actions. Not "plan party" but "email guests about date." If it's vague, work with the user to break it down.

## Commands

Run `tviz --help` for full reference. Key commands:

```bash
tviz today                    # primary working view
tviz inbox                    # process daily
tviz someday                  # deferred items (also tagged "(someday)" in short/pretty output)
tviz todos -a <area>          # filter by area
tviz todos -p <project>       # filter by project
tviz todos -f tsv             # compact: uuid, dates, project, heading, title
tviz todos -f pretty          # full notes and checklists
tviz logbook                  # recently completed items (default 50)
tviz logbook -a Oxide -n 100  # filter by area, increase limit
tviz item <uuid> -f pretty    # details on one item
tviz link <uuid>              # OSC 8 terminal hyperlink, for the user's terminal only
```

Tips:

- Use `-f tsv` first to get uuids and dates; only fetch `-f pretty` when you need notes
- When referring to specific tasks in a response, link them with `[title](things:///show?id=<uuid>)`. Use the full original title so the user can search Things for it. `tviz link` prints terminal escape codes, which don't render in chat.
- Find oldest items: `tviz todos -f json | jq -r 'sort_by(.created) | .[0:20] | .[] | "\(.created[0:10]) \(.title)"'`

## Write commands

When deciding whether the user has approved a change, read ambiguous
statements as no and ask for clarification.

Create commands are allowlisted. Update commands are in `ask` permission, so
the user will be prompted before each one runs.

```bash
# Create a todo
tviz add todo "Buy groceries" --area Life
tviz add todo "Fix login bug" --project "Auth redesign" --when today
tviz add todo "Review PR" --project "Auth redesign" --heading "Code review" --deadline 2026-04-01
echo "Detailed notes here" | tviz add todo "Research options" --area Oxide

# Checklist items (repeat the flag once per item, max 100 per todo)
tviz add todo "Pack toiletries" --project "Trip" --checklist "toothbrush" --checklist "sunscreen"

# Create a project
tviz add project "Kitchen renovation" --area Home
tviz add project "Q2 planning" --area Oxide --deadline 2026-04-15

# Update an existing item (todo or project, same command)
tviz update <uuid> --title "New title"
tviz update <uuid> --completed
tviz update <uuid> --canceled
tviz update <uuid> --when today --deadline 2026-04-01
tviz update <uuid> --append-notes "Additional context"
tviz update <uuid> --add-tags "urgent,blocked"
tviz update <uuid> --append-checklist "one more thing"   # also --prepend-checklist
tviz update <uuid> --checklist "a" --checklist "b"       # REPLACES all checklist items

# Delete an item (moves it to the Things trash)
tviz delete <uuid>
```

Delete vs cancel: cancel is for items that we want a record of having had on the
list and then decided not to do or realized don't need to be done. Usually this
means they were on the list for more than a few minutes. If you're rearranging
items you just created (e.g., splitting a todo into multiple), you can use
delete because there's no value in treating the initial version as a todo we
canceled.

If the `--project` name doesn't match an existing project, Things silently
puts the item in the inbox.

`--append-notes` and `--prepend-notes` automatically add a blank line of
separation, so just write the new content without leading/trailing newlines.

Things doesn't render markdown in notes. Use bare URLs, which become
clickable automatically, not `[text](https://skilld.dev/api/skills-raw/david-crespo/dotfiles/tviz/url)`. For checklists use the
`--checklist` flags above, never `- [ ]` in notes.

To seed a new project from a past one (e.g. copying items from an old
trip's project), always create fresh todos with `tviz add todo`. Copy/paste
of items in the Things app preserves the original creation date, which
pollutes date-based views and stats, and the URL scheme's `creation-date`
param can only move a date backward — fixing it requires an Apple Shortcut
("Set Creation Date"). ⌘D duplication assigns fresh dates (tested
2026-07-18), but fresh creation via the CLI is the reliable path. Full
details in the Obsidian bot note "things 3 url scheme creation-date".
