跳到正文
TakoAPI
返回技能列表

cmd-executor

由 sadikjarvis 提供

CLI Utilities
604下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Runs any Windows command locally and replies with the output.

描述

该技能的功能

Executes Windows commands locally and returns their output directly in the chat. Send any command prefixed with 'Run command:' and get the result back.

Lets you run and inspect Windows command output without switching to a terminal window.

何时使用

  • List files in a directory
  • Check running processes with tasklist
  • Query system info via systeminfo
  • Read environment variables
  • Run a script and capture its output

示例工作流

输入

User asks: Run command: dir "C:\Users\John\Documents"

智能体
  1. 1

    Receives the message starting with 'Run command:'

  2. 2

    Extracts the command after the prefix

  3. 3

    Executes the command on the local Windows system

  4. 4

    Captures the standard output

  5. 5

    Returns the output in the chat response

输出

A directory listing of C:\Users\John\Documents

安装

clawhub install sadikjarvis/cmd-executor

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

链接