run

Execute shell commands via Bash with foreground or background modes.

1|1|Updated Nov 3, 2023
One-click install
npx skills add https://github.com/itsphurin/dotfiles --skill run-itsphurin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run
Source: https://github.com/itsphurin/dotfiles/tree/main/.claude/skills/run
Command: npx skills add https://github.com/itsphurin/dotfiles --skill run-itsphurin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly execute a shell command from chat using /run without back-and-forth prompts, enabling rapid testing and automation in development workflows.

Core Features & Use Cases

  • Parse the arguments after /run as the full shell command to execute.
  • Auto-detect execution mode (/run <command> vs /run --bg <command>) and handle foreground vs background processes.
  • Support common developer workflows, such as launching editors, running builds/tests, and starting local servers.

Quick Start

Ask the assistant to execute a shell command by typing /run followed by the command.

Frequently Asked Questions about run

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

FAQPage Schema
How do I execute shell commands directly from chat without follow-up prompts?

Use /run followed by the desired shell command to execute it directly from chat without back-and-forth prompts. The Skill parses arguments after /run and runs the command via Bash, returning the command output or confirmation.

Can I run background processes and local servers from chat?

Yes, you can run background processes and local servers by appending the --bg flag to /run. The command auto-detects execution mode and handles background processes, returning a confirmation instead of blocking the chat.

Does the run Skill support GUI-launchable commands and editor workflows?

Yes, the run Skill supports GUI-launchable commands and common developer workflows such as launching editors. It executes the given command via Bash and returns the output or process confirmation directly.

What is the best way to automate bash command execution for debugging tasks?

The best way to automate bash command execution for debugging is using /run followed by the command. It provides quick, deterministic command execution with no questions or explanations, returning the output immediately.

Can I use /run to execute shell commands without installing extra dependencies?

Yes, you can execute shell commands using /run without extra dependencies. The Skill has no dependencies and relies solely on Bash to parse arguments, auto-detect execution mode, and return the command output.

When should I use foreground versus background execution for bash commands?

Use default foreground execution for quick, deterministic commands that return output immediately. Use the --bg flag for background execution when starting local servers or long-running processes to avoid blocking the chat.