跳到正文
TakoAPI
返回技能列表

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. 1

    Calls run-command.ps1 with 'npm install' in the project directory and TimeoutSeconds 60

  2. 2

    Reads stdout to confirm packages installed successfully

  3. 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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接