CLI Commands
Complete reference for all CLI commands.
Project Management
/new NAME
Create a new conversation project.
T3x> /new japan-trip
✓ Created project: japan-trip
/project [NAME]
List all projects or switch to a named project.
# List projects
T3x> /project
japan-trip
* meeting-notes
product-spec
# Switch project
T3x> /project japan-trip
✓ Switched to project: japan-trip
/delete NAME [--force]
Delete a project and all its data.
T3x> /delete old-project
⚠ This will delete all turns, commits, and branches. Continue? (y/n)
T3x> /delete old-project --force
✓ Deleted project: old-project
Conversation
Direct message
Type any message (without /) to chat with the LLM.
T3x> What's the best time to visit Tokyo?
/clear or /reset
Clear current session context.
T3x> /clear
✓ Session context cleared
/help
Show all available commands.
T3x> /help
Version Control
/turns [OPTIONS]
List recent conversation turns.
Options:
--n <limit>— Number of turns (default: 10)--role user|assistant|tool— Filter by role
T3x> /turns
T3x> /turns --n 5
T3x> /turns --role user
/draft [KIND]
Create or manage drafts.
Kinds: summary, plan, note
# Create draft
T3x> /draft summary
# Show draft details
T3x> /draft show draft_abc123
# Add feedback
T3x> /draft feedback draft_abc123 "Add more budget details" --must budget hostel
# Create via API
T3x> /draft --api summary "Summarize the trip planning discussion"
/commit [OPTIONS]
Create a semantic commit.
# Commit recent turns via API
T3x> /commit --api --msg "Research phase complete"
# Commit a draft
T3x> /commit draft_abc123
# Commit specific turn range
T3x> /commit turn_start turn_end --msg "Specific section"
/commits or /log [--n LIMIT]
List recent commits.
T3x> /commits
T3x> /log --n 5
/status
Show project statistics.
T3x> /status
Project: japan-trip
Branch: main
Turns: 24
Commits: 3
Drafts: 1
/validate
Run data consistency validation.
T3x> /validate
✓ Turn chain: valid
✓ Commit chain: valid
✓ Hash integrity: valid
Branching
/branch [NAME]
List branches or create/switch to a branch.
# List branches
T3x> /branch
* main
budget-version
# Create and switch
T3x> /branch budget-version
✓ Created and switched to branch: budget-version
/checkout [BRANCH]
Switch to a branch.
Options:
-b— Create if doesn't exist
T3x> /checkout main
✓ Switched to branch: main
T3x> /checkout -b new-feature
✓ Created and switched to branch: new-feature
/diff BASE TARGET
Compute semantic diff between commits or branches.
T3x> /diff main budget-version
T3x> /diff commit_abc commit_xyz
Configuration Mode
/config
Enter configuration mode.
T3x> /config
config>
Config Commands
| Command | Description |
|---|---|
/api [KEY] | View/set Anthropic API key |
/model [NAME] | View/set default model |
/stream on|off | Toggle streaming |
/proxy | View proxy settings |
/param | View all parameters |
/file | View file paths |
/back | Return to chat mode |
config> /api sk-ant-your-api-key
✓ API key set
config> /model claude-sonnet-4-20250514
✓ Model set to: claude-sonnet-4-20250514
config> /stream on
✓ Streaming enabled
config> /back
T3x>
Infrastructure
/ui_init [OPTIONS]
Start local WebUI API server.
Options:
--port PORT— Server port (default: 8765)--token TOKEN— Auth token
T3x> /ui_init --port 8765
✓ WebUI server started on http://localhost:8765
/exit or /quit
Exit the CLI.
T3x> /exit
Goodbye!
Command Options Summary
| Option | Commands | Description |
|---|---|---|
--n | /turns, /log | Limit results |
--role | /turns | Filter by role |
--msg | /commit | Commit message |
--api | /commit, /draft | Use core API |
--force | /delete | Skip confirmation |
-b | /checkout | Create branch |
--must | /draft feedback | Required keywords |