Skip to content

feat: hand a to-do from CLI output to an agent (agent-friendly show, hint after list) #153

Closed

Description

@ryanlewis

Workflow gap: I look at things today (or any list) in the terminal, decide a to-do should be actioned by Claude, then start Claude and want to give it the context. Today the only handle is the numeric index in the last-list cache, which the agent cannot see, and there is no obvious "pass this to your agent" path.

Options (not mutually exclusive):

  1. A footer hint under plain list output when stdout is a TTY: use: things show <n> --json (or --agent) to hand a to-do to an agent. Cheap, discoverable, off under --json or when piped.
  2. things show <ref> --agent (or --brief): emit a self-contained Markdown brief (title, notes, project/area, tags, when/deadline, checklist, UUID, and the exact things complete <uuid> / things edit <uuid> ... commands to close it out) meant to be pasted into or piped to an agent, e.g. things show 3 --agent | claude -p "action this" or claude "$(things show 3 --agent)".
  3. Always include the UUID in plain list output (a short column or suffix) so a ref survives copy-paste out of the terminal.

Depends on the --json error handling being machine-readable (see the linked bug), because the agent side will resolve refs by UUID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions