← 返回
未分类 中文

Terminal Command Execution@1.0.0

Execute terminal commands safely and reliably with clear pre-checks, output validation, and recovery steps. Use when users ask to run shell/CLI commands, ins...
安全可靠地执行终端命令,进行前置检查、输出验证和恢复,用于响应用户运行 shell/CLI 或安装命令的请求。
1215656 1215656 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 474
下载
💾 3
安装
1
版本
#latest

概述

Terminal Command Execution

Overview

Use this skill to run terminal commands with minimal risk and predictable outcomes. Prefer fast inspection, explicit intent checks, and verification after each state-changing step.

Workflow

  1. Clarify goal and scope.
    • Infer the exact command target from context (path, service, tool, environment).
    • If request is ambiguous and risky, ask one concise clarifying question.
  1. Pre-flight checks.
    • Confirm working directory and required binaries.
    • Inspect current state before changing it (for example ls, git status, process/listen state).
    • Prefer non-destructive probes first.
  1. Execute commands incrementally.
    • Run the smallest command that advances the task.
    • For multi-step tasks, validate each step before continuing.
    • Use reproducible commands and avoid interactive flows when non-interactive options exist.
  1. Handle failures systematically.
    • Read stderr first and identify root cause class: permission, path, missing dependency, syntax, network, or runtime state.
    • Apply one fix at a time, then re-run only the affected command.
    • If privileged/destructive action is required, request user approval before proceeding.
  1. Verify outcomes.
    • Check exit status and observable state changes.
    • For installs, verify with a version/health command.
    • For edits, verify resulting files and behavior.
  1. Report clearly.
    • Summarize what ran, what changed, and current status.
    • Include exact next command only when additional user action is required.

Safety Rules

  • Avoid destructive commands by default (rm -rf, force resets, broad chmod/chown) unless explicitly requested.
  • Never assume network, permissions, or package managers are available; test first.
  • Prefer scoped operations (specific files/paths/services) over global changes.
  • Keep secrets out of command output and logs.

Command Patterns

  • Discovery: pwd, ls -la, rg --files, which
  • Validation: --version, health/status commands, targeted smoke tests
  • Diagnostics: inspect logs/errors first, then adjust one variable at a time

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 04:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

1215656 Self Improving Agent@3.0.6

1215656
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 0 📥 578
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 688 📥 331,811
dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 42,219