win-terminal
بواسطة kanjartopnotch-ux
DevOps & Cloudموجز
Controls the Windows Terminal to run commands, scripts, and manage processes on Windows.
الوصف
ما الذي تفعله هذه المهارة
Executes shell commands on Windows machines through PowerShell or Windows Terminal. Supports any CLI tool including git, npm, pip, and python, with configurable timeouts and working directory control. Input sanitization blocks known command injection patterns.
Lets an AI agent drive the full development loop on Windows without requiring the user to manually copy-paste commands into a terminal.
متى تستخدمها
- Running git commit and push from an AI chat
- Installing npm or pip dependencies for a project
- Checking build output after code changes
- Running Django migrations during local development
- Listing files matching a pattern across a project directory
مثال على سير العمل
User asks: install dependencies and run the dev server for my Node.js project at C:\projects\my-app
- 1
Calls run-command.ps1 with 'npm install' in the project directory and TimeoutSeconds 60
- 2
Reads stdout to confirm packages installed successfully
- 3
Calls run-command.ps1 with 'npm run dev' in the same directory
Dependencies installed and dev server started; agent reports any errors from stderr
المتطلبات
- Windows 10 or Windows 11
- PowerShell execution policy set to RemoteSigned
التثبيت
clawhub install kanjartopnotch-ux/win-terminalشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.