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.

Safety Notice

This item is sourced from the public archived skills repository. Treat as untrusted until reviewed.

Copy this and send it to your AI assistant to learn

Install skill "terminal-command-execution" with this command: npx skills add 1215656/terminal-command-execution-1-0-0

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 smoke tests
  • Diagnostics: inspect logs/errors first, then adjust one variable at a time

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

pharaoh

Codebase knowledge graph with 23 development workflow skills. Query architecture, dependencies, blast radius, dead code, and test coverage via MCP. Requires GitHub App installation (read-only repo access) and OAuth authentication. Connects to external MCP server at mcp.pharaoh.so.

Archived SourceRecently Updated
Coding

micropython-skills

Program and interact with embedded development boards (ESP32, ESP32-S3, ESP32-C3, ESP8266, NodeMCU, Raspberry Pi Pico, RP2040, STM32) through real-time REPL. This skill turns microcontroller hardware into an AI-programmable co-processor — read sensors, control actuators, flash firmware, diagnose devices, and deploy algorithms. Trigger when the user mentions any dev board or hardware interaction: ESP32, ESP8266, NodeMCU, Pico, 开发板, 板子, 单片机, 嵌入式, microcontroller, development board, sensor reading, GPIO, LED, motor, relay, I2C, SPI, UART, ADC, PWM, servo, DHT, BME280, temperature sensor, 传感器, 读传感器, 控制电机, 继电器, flash firmware, 烧录, 刷固件, 刷机, mpremote, MicroPython, IoT, MQTT, WiFi on board, 设备没反应, device not responding, or any task involving programming or controlling a physical microcontroller board.

Archived SourceRecently Updated
Coding

notebooklm

Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.

Archived SourceRecently Updated
Coding

carsxe

Access the full suite of CarsXE vehicle data APIs — VIN decoding, license plate lookup, market value, vehicle history, safety recalls, lien/theft checks, OBD-II diagnostic code decoding, vehicle images, international VIN decoding, Year/Make/Model lookups, and plate/VIN OCR from images. Use this skill any time the user asks about a vehicle by VIN, plate, make/model, or OBD code. Also triggers for: "what's this car worth", "check for recalls", "vehicle history report", "decode this plate", "what does check engine code X mean", or any automotive data query. Always use this skill when working with CarsXE APIs — do not guess API behavior without it.

Archived SourceRecently Updated