run-script

Execute bash shell scripts from the src/scripts/ directory.

10|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/bdambrosio/Cognitive_workbench --skill run-script
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-script
Source: https://github.com/bdambrosio/Cognitive_workbench/tree/main/src/tools/run-script
Command: npx skills add https://github.com/bdambrosio/Cognitive_workbench --skill run-script

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows for the automated execution of shell scripts located within the src/scripts/ directory, streamlining repetitive command-line tasks.

Core Features & Use Cases

  • Script Execution: Safely submit shell scripts for execution.
  • Task Automation: Automate recurring tasks like data backups, report generation, or system maintenance by calling predefined scripts.
  • Use Case: You can use this skill to run a daily_post.sh script that automatically generates and posts content to a social media platform.

Quick Start

Use the run-script skill to execute the script named 'daily_post'.

Frequently Asked Questions about run-script

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

FAQPage Schema
How do I automate shell script execution for routine command-line tasks?

Automating shell script execution is done by placing executable bash scripts in the `src/scripts/` directory. The skill runs these predefined scripts to streamline recurring command-line tasks like data backups or report generation.

Can I run a specific bash script located in my project directory?

Yes, you can run a specific bash script by ensuring it exists at `src/scripts/{script_name}.sh` and is executable. The skill targets this directory to safely submit shell scripts for execution within the agent's environment.

What's the best way to execute recurring task automation scripts without manual commands?

Executing recurring task automation scripts is best handled by storing them as executable `.sh` files in `src/scripts/`. The skill acts as a task runner, automating operations like daily content generation by calling the predefined script.

Does the script runner require any special dependencies to execute bash files?

The script runner does not require special dependencies to execute bash files. It relies on the bash shell environment and requires the target script to exist at `src/scripts/{script_name}.sh` with executable permissions.

Why does my shell script fail to execute when called as a task runner?

Shell script execution fails if the file is not located at `src/scripts/{script_name}.sh` or lacks executable bash permissions. The skill requires scripts to be properly placed and executable within the agent's environment.

When do I need a task runner for command-line automation instead of manual execution?

You need a task runner for command-line automation when handling repetitive operations like system maintenance or report generation. It streamlines these tasks by executing predefined bash scripts from the `src/scripts/` directory on demand.