shell

Execute literal shell commands and return exit status and output.

5|2|Updated Jan 10, 2017
One-click install
npx skills add https://github.com/brujack/dotfiles --skill shell-brujack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shell
Source: https://github.com/brujack/dotfiles/tree/main/.cursor/skills-cursor/shell
Command: npx skills add https://github.com/brujack/dotfiles --skill shell-brujack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Users often need to execute arbitrary shell commands directly from a conversational interface, but existing tools may reinterpret or modify the input, causing errors.

Core Features & Use Cases

  • Executes the exact command text after /shell without alteration.
  • Returns the command’s exit status and any important output.
  • Ideal for quick system checks, file listings, or running scripts during a chat session.

Quick Start

Request the assistant to run a command by typing /shell ls -la.

Frequently Asked Questions about shell

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

FAQPage Schema
How do I run terminal commands directly from a chat session?

To run terminal commands directly, you can use the shell execution function by typing `/shell` followed by your command. It executes the exact literal command text instantly without alteration, returning the output and exit status.

What is the best way to execute literal shell commands without them being modified?

Executing literal shell commands without modification requires a tool that processes exact input text. The shell function runs the precise command supplied after `/shell` without reinterpreting it, preventing errors caused by input modification.

Can I use this command execution method for quick system checks and file listings?

Yes, you can use this command execution method for quick system checks and file listings. It is ideal for running arbitrary terminal commands like `ls -la` during a chat session and immediately capturing the output.

Does this shell execution tool require any specific dependencies or components?

This shell execution tool requires no specific dependencies or components. It simply needs direct access to a system shell environment and the ability to capture the exit status and output of the executed command.

Why does my terminal command fail when processed through conversational interfaces?

Terminal commands often fail in conversational interfaces because existing tools may reinterpret or modify the input text. Using a literal shell execution tool bypasses this by executing the exact command text supplied without any additional processing.

How do I get the exit status and output after running a CLI command?

To get the exit status and output after running a CLI command, use a direct shell execution tool. It runs the literal command text and returns both the command's exit status and any important output directly to the session.