搜索

PythonReactSEOPDF
OpenClaw

terminal-command-execution

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.

big-fox0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install big-fox/terminal-command-execution

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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 <tool>
  • Validation: <tool> --version, health/status commands, targeted...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/big-fox/terminal-command-execution
Version
—
Commit
0f07bb5a7b482ef9e08a7666c3c8cbaebd21baf5
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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.

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

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.