execute_command

Execute shell commands with real-time stdout and stderr streaming.

5|Updated Aug 9, 2025
One-click install
npx skills add https://github.com/gatovillano/KogniTerm --skill execute-command
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: execute_command
Source: https://github.com/gatovillano/KogniTerm/tree/main/kogniterm/skills/bundled/execute_command
Command: npx skills add https://github.com/gatovillano/KogniTerm --skill execute-command

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Executes commands in the host system and streams results in real time, enabling interactive debugging and automation without manual terminal switching.

Core Features & Use Cases

  • Real-time stdout and stderr streaming from executed commands
  • Safe command handling with timeout and danger-pattern detection
  • Support for cd to change working directory and environment management
  • Sandbox-aware execution with user approvals for potentially dangerous actions
  • Use Case: Automate routine shell tasks, inspect system state, or test commands in a controlled environment.

Quick Start

Run a safe command such as ls -la to observe real-time output streaming.

Frequently Asked Questions about execute_command

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute shell commands and stream real-time output for debugging?

You can execute shell commands and stream real-time stdout and stderr output by running statements like ls -la in a sandboxed environment. It supports directory changes, timeout handling, and danger-pattern detection for immediate interactive debugging results.

What is the safest way to run terminal commands in a sandbox environment?

The safest way to run terminal commands is using sandbox-aware execution with built-in dangerous pattern detection and user approvals. It enforces safety by requiring approval for potentially dangerous actions before executing shell commands on the host system.

Can I change the working directory and manage environment variables when running shell commands?

Yes, you can change the working directory and manage the environment when running shell commands. The execution supports cd directory changes alongside timeout handling to validate command behavior in controlled environments.

How do I automate routine shell tasks and inspect system state without switching to a manual terminal?

To automate routine shell tasks and inspect system state, execute commands directly in the host system to stream results in real time. This enables interactive debugging and quick system checks without manual terminal switching.

Does command execution support timeout handling for long-running shell scripts?

Yes, command execution supports timeout handling for long-running shell scripts. It includes safe command handling features that detect dangerous patterns and enforce sandbox execution to prevent runaway processes during automation.

Why should I use sandboxed command execution instead of running scripts directly on the host?

You should use sandboxed command execution to isolate potentially dangerous actions and validate command behavior safely. It provides danger-pattern detection, timeout handling, and user approvals that direct host execution lacks for secure automation.