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
累計下載
3704
星標
1
全站排名
#2,900
全站前 58% · 「開發程式設計」前 65%
平台累計安裝累計下載星標評論
ClawHub ↗11837041-
SkillHub ↗11236271—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

適用於檢視系統狀態、管理檔案、安裝依賴和排查 CLI 故障。涉及狀態變更時,應先檢查現狀,逐步執行並核驗結果。

資料釋出於 2026-10-29

可以用來做什麼

  • 檢查命令目標、工作目錄和系統狀態
  • 逐步執行命令並驗證輸出

什麼時候用

  • 需要執行終端命令或排查命令列問題時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

列出安全的只讀檢查和後續驗證步驟;暫不執行命令。

月度資料趨勢

累計下載3704
1882286138392026-03 · 累計下載 20172026-05 · 累計下載 27792026-06 · 累計下載 29852026-07 · 累計下載 33312026-08 · 累計下載 35592026-09 · 累計下載 370426-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093704—1
2026-083559+6.8%1
2026-073331+11.6%1
2026-062985+7.4%1
2026-052779—1
2026-032017—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),按月更新。口徑說明見資料方法。