instances/xiaodazi/skills/windows-terminal/SKILL.md
Manage Windows Terminal tabs, profiles, and sessions via wt command. Open terminals with specific profiles, split panes, and configure settings.
npx skillsauth add malue-ai/dazee-small windows-terminalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
通过 wt 命令行操作 Windows Terminal:打开新标签页、选择配置文件、分屏、管理会话。
Windows 11 内置,Windows 10 可通过 Microsoft Store 安装。
# 打开默认终端
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"
# 打开多个标签页
wt -p "PowerShell" `; new-tab -p "命令提示符" `; new-tab -p "Ubuntu"
# 带标题的标签页
wt --title "前端开发" -d "C:\project\frontend" `; new-tab --title "后端" -d "C:\project\backend"
# 水平分屏
wt -p "PowerShell" `; split-pane -H -p "命令提示符"
# 垂直分屏
wt -p "PowerShell" `; split-pane -V -p "命令提示符"
# 指定分屏比例
wt -p "PowerShell" `; split-pane -V --size 0.3 -p "命令提示符"
# 复杂布局:左右分屏 + 右侧再上下分
wt -p "PowerShell" `; split-pane -V -p "命令提示符" `; split-pane -H -p "Ubuntu"
# 全屏启动
wt --fullscreen
# 最大化启动
wt --maximized
# 指定窗口大小和位置
wt --pos 100,100 --size 120,40
# 聚焦到指定标签
wt focus-tab -t 0
# 打开设置界面
wt settings
# 列出已有配置文件
Get-Content "$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json" |
ConvertFrom-Json |
Select-Object -ExpandProperty profiles |
Select-Object -ExpandProperty list |
ForEach-Object { Write-Output "$($_.name) — $($_.commandline)" }
# 一键开启开发环境:前端 + 后端 + 数据库日志
wt --title "Frontend" -d "C:\project\frontend" -- npm run dev `; `
new-tab --title "Backend" -d "C:\project\backend" -- python main.py `; `
new-tab --title "Logs" -- powershell -Command "Get-Content C:\logs\app.log -Wait"
# 分屏监控:进程 + 网络 + 磁盘
wt -- powershell -NoExit -Command "while(1){cls;Get-Process|Sort CPU -Desc|Select -First 10;sleep 3}" `; `
split-pane -V -- powershell -NoExit -Command "while(1){cls;Get-NetTCPConnection|Group State|Sort Count -Desc;sleep 5}"
-NoExit 防止窗口自动关闭development
Local web search (Tavily/Exa, requires API Key). For quick searches. If no Key configured or deep research needed, use cloud_agent instead.
development
Get current weather and forecasts (no API key required).
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the Moltbot voice-call plugin.