WTmag
Reference

Commands

Every WTmag command and flag, grouped by what they do.

create

wtmag create --github 456 -t issue
wtmag create --github 234 -t pr
wtmag create --prompt "Do a thing"
wtmag create --jira PROJ-123

Source flags

FlagWhat it doesWork type
--github <number>GitHub issue or PR numberImplementation or Review
-t, --type issue/prRequired with --githubissue → implementation, pr → review
--jira <id>Jira ticket ID (not implemented yet)Implementation
--prompt <text>Custom prompt, or extra instructions on top of a sourceImplementation

--prompt by itself means a custom prompt task. --prompt with --github or --jira means "keep the source context and add these instructions." Don't use --prompt with a source unless you explicitly want extra instructions — the built-in prompts already contain the full delivery workflow.

Agent flags

FlagWhat it does
--agent <name>Override the default agent for this run
--model provider/model[:thinking]Override the model (Pi and OpenCode only)

Placement flags

FlagWhat it does
--launch sessionDedicated tmux session
--launch windowWindow in the current tmux session
-sSame as --launch session
-wSame as --launch window

Windows require being inside tmux. Sessions don't.

Placement resolves in this order: CLI flag → project wtmag.toml → global ~/.config/wtmag/config.toml. Implementation and review work have separate config keys ([launch] implementation and [launch] review).

list

wtmag list          # current project
wtmag list --all    # all projects

Shows known workers and whether they are running or stopped.

attach

wtmag attach project-github-issue-456

Attaches to the worker's tmux session or parent-session window.

promote

wtmag promote --id project-github-issue-456

Turns a window worker into a dedicated session. Useful when a task grows beyond a single pane.

cleanup

wtmag cleanup --id project-github-issue-456
wtmag cleanup --id project-github-issue-456 --force

Removes the worktree and tmux target together. --force passes --force to wt remove for dirty worktrees.

On this page