cmd-command

Executes raw terminal commands in the current workspace and reports results.

829|80|Updated Aug 29, 2025
One-click install
npx skills add https://github.com/vinhnx/VTCode --skill cmd-command
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmd-command
Source: https://github.com/vinhnx/VTCode/tree/main/crates/codegen/vtcode-skills/src/skills/assets/samples/cmd-command
Command: npx skills add https://github.com/vinhnx/VTCode --skill cmd-command

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Running ad-hoc shell commands through an AI assistant often involves rephrasing or unwanted rewriting of the command. This Skill passes the exact command string after /command directly to the terminal in the current workspace, returning concise results without altering your input.

Core Features & Use Cases

  • Direct Command Execution: Runs the literal command string you provide after /command without rewriting it, except for required shell quoting or escaping.
  • Concise Result Reporting: Summarizes large outputs to the relevant lines and reports failures clearly.
  • Use Case: You want to quickly check disk usage or run a build script from the chat interface. Type /command df -h or /command npm run build and get a brief, accurate report of the outcome.

Quick Start

Type /command followed by any terminal command, such as /command ls -la, to run it in the current workspace and see a summarized result.

Frequently Asked Questions about cmd-command

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

FAQPage Schema
How do I run a terminal command from the AI chat?

Type /command followed by the program and its arguments, such as /command git status. The exact command string is executed in the current workspace and the important results are reported back briefly.

Does the command runner modify my shell command before executing?

No, the command string is executed as written. The only exception is quoting or escaping required by the shell itself, so your input is preserved faithfully.

What happens when a command produces very large output?

Large outputs are summarized to the relevant lines instead of being dumped in full. This keeps the response readable while still surfacing the important results.

What happens if I type /command with no arguments?

An empty command is not guessed or fabricated. Instead, the expected usage format /command <program> [args...] is returned so you can correct the input.

Are failed commands reported differently from successful ones?

Failures are reported briefly along with the important error information. The skill does not hide non-zero exits, so you can diagnose the issue directly from the response.