windows-terminal
Launch Windows Terminal instances with chosen shell profiles, working directories, and pane layouts through command-line control. Arrange multiple terminals side-by-side or stacked, run commands on startup, and organize development workflows across tabs.
Windows Terminal skill opens terminals with chosen profiles, directories, and split pane layouts via wt command.
AI-generated summary based on this skill's SKILL.md
Install
malue-ai/dazee-small/windows-terminal · repository language: Python
git clone https://github.com/malue-ai/dazee-small
cp -r dazee-small/instances/xiaodazi/skills/windows-terminal ~/.claude/skills/windows-terminalFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I open Windows Terminal with a specific profile like PowerShell?
windows-terminal lets you launch with a chosen shell profile using the `wt` command. Run `wt -p powershell` to open with PowerShell, or substitute your profile name. You can also chain profiles with semicolons: `wt -p powershell ; -p cmd` opens both in separate tabs. Profile names match those in your settings.json configuration.
What's the wt command to split a pane in Windows Terminal?
windows-terminal supports split panes via the `wt` command with split syntax. Use `wt -p powershell ; split-pane -p cmd` to create a vertical split, or add `-H` for horizontal: `wt split-pane -H -p powershell`. You can nest multiple splits to build complex layouts before the terminal launches.
Can I open Windows Terminal at a specific working directory?
windows-terminal accepts a `-d` flag to set the starting directory. Run `wt -d C:\Users\YourName\Projects` to launch in that folder. Combine it with profile selection: `wt -p powershell -d C:\code` opens PowerShell in your code directory. This works across all panes and tabs in your layout.
How can I create multiple tabs in Windows Terminal from command line?
windows-terminal opens multiple tabs by chaining commands with semicolons in the `wt` command. `wt -p powershell ; -p cmd ; -p wsl` creates three tabs with different shells. Each tab inherits your default settings unless you override the profile, directory, or other parameters per tab.
What does windows-terminal enable for automating terminal launch?
windows-terminal supports full automation through `wt` command-line syntax: define profiles, directories, splits, and startup commands in a single invocation. You can save complex layouts as scripts or batch files, then execute them to recreate your development environment instantly. Combine profiles, panes, and `-e` for command execution on startup.
How do I open a new terminal window maximized or in fullscreen?
windows-terminal doesn't expose fullscreen or maximize flags in the `wt` command itself, but you can configure default window state in settings.json or use OS-level shortcuts after launch. The `wt` command focuses on layout and profile control; combine it with Windows shortcuts like Win+Up to maximize after opening.
SKILL.md
rendered from the published skill — quoted content, verbatim
Windows Terminal 管理
通过 wt 命令行操作 Windows Terminal:打开新标签页、选择配置文件、分屏、管理会话。
Windows 11 内置,Windows 10 可通过 Microsoft Store 安装。
使用场景
- 用户说「打开一个终端」「开个 PowerShell 窗口」「开个 WSL 终端」
- 需要同时运行多个命令(分屏操作)
- 需要以特定配置文件打开终端
- 执行长时间任务需要独立终端窗口
命令参考
打开新终端
# 打开默认终端
wt
# 打开 PowerShell
wt -p "PowerShell"
# 打开 CMD
wt -p "命令提示符"
# 打开 WSL(如果已安装)
wt -p "Ubuntu"
指定工作目录
# 在指定目录打开
wt -d "C:\Users\%USERNAME%\Projects"
# 在当前目录打开新终端
wt -d .
运行命令
# 打开并执行命令
wt -- powershell -NoExit -Command "Get-Process | Sort-Object CPU -Descending | Select-Object -First 10"
# 打开 CMD 并执行
wt -p "命令提示符" -- cmd /k "dir C:\"
# 打开并运行 Python 脚本
wt -- python "C:\scripts\monitor.py"
标签页管理
```powershell
打开多个标签页
wt -p "PowerShell" ; new-tab -p "命令提示符"; new-tab -p "Ubuntu"
带标题的标签页
wt --title "前端开发" -d "C:\project\frontend" `;
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
instances/xiaodazi/skills/windows-terminal/SKILL.md