HomeBrowseUpload
← Back to registry
// Skill profile

terminal-executor - 终端命令执行器

执行终端命令并返回结果,支持sudo权限命令。

by choasx · published 2026-03-22

自定义
Total installs
0
Stars
★ 0
Last updated
2026-03
// Install command
$ claw add gh:choasx/choasx-terminal-executor
View on GitHub
// Full documentation

# terminal-executor - 终端命令执行器

描述

执行终端命令并返回结果,支持sudo权限命令。

激活时机

当用户需要执行系统命令、安装软件、检查系统状态等终端操作时激活。

工具

  • `exec`: 执行终端命令
  • `sudo_exec`: 执行需要sudo权限的命令
  • 使用示例

    1. 检查系统信息: `exec("uname -a")`

    2. 安装软件: `sudo_exec("apt install -y package")`

    3. 查看进程: `exec("ps aux | grep process")`

    安全注意事项

  • 谨慎执行删除、格式化等危险命令
  • 需要用户确认敏感操作
  • 记录执行历史
  • // Comments
    Sign in with GitHub to leave a comment.
    // Related skills

    More tools from the same signal band