big-fox

Terminal Command Execution

开发编程v1.0.0
作者:big-fox更新于 2026-05-11terminal-command-execution@clawhub_big-fox/terminal-command-execution
脚本工具

据 AlphaMoat 统计,截至 2026-09,Terminal Command Execution 累计下载 3,704 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 2,900 位,在「开发编程」分类(577 个)中排名第 374 位。

累计安装
118
累计下载
3,704
星标
1
全站排名
#2,900
全站前 58% · 「开发编程」前 65%
平台累计安装累计下载星标评论
ClawHub ↗1183,7041-
SkillHub ↗1123,6271—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

适用于查看系统状态、管理文件、安装依赖和排查 CLI 故障。涉及状态变更时,应先检查现状,逐步执行并核验结果。

资料发布于 2026-10-29

可以用来做什么

  • 检查命令目标、工作目录和系统状态
  • 逐步执行命令并验证输出

什么时候用

  • 需要运行终端命令或排查命令行问题时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

列出安全的只读检查和后续验证步骤;暂不执行命令。

月度数据趋势

累计下载3,704
1,8822,8613,8392026-03 · 累计下载 2,0172026-05 · 累计下载 2,7792026-06 · 累计下载 2,9852026-07 · 累计下载 3,3312026-08 · 累计下载 3,5592026-09 · 累计下载 3,70426-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,704—1
2026-083,559+6.8%1
2026-073,331+11.6%1
2026-062,985+7.4%1
2026-052,779—1
2026-032,017—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.4 KB · ClawHub v1.0.0
---
name: terminal-command-execution
description: Execute terminal commands safely and reliably with clear pre-checks, output validation, and recovery steps. Use when users ask to run shell/CLI commands, inspect system state, manage files, install dependencies, start services, debug command failures, or automate command-line workflows.
---

# 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.
展开全部(共 50 行)
## 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.

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

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

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

5. Verify outcomes.
- Check exit status and observable state changes.
- For installs, verify with a version/health command.
- For edits, verify resulting files and behavior.

6. 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 <tool>`
- Validation: `<tool> --version`, health/status commands, targeted smoke tests
- Diagnostics: inspect logs/errors first, then adjust one variable at a time

「开发编程」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。