serena-shell

Execute shell commands within a specified project directory.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/sachmata/serena-skills --skill serena-shell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: serena-shell
Source: https://github.com/sachmata/serena-skills/tree/main/skills/serena-shell
Command: npx skills add https://github.com/sachmata/serena-skills --skill serena-shell

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows you to run any command-line operation directly within your project's environment, streamlining tasks like building, testing, and version control.

Core Features & Use Cases

  • Command Execution: Run arbitrary shell commands.
  • Contextual Operations: Execute commands relative to the project root or a specific subdirectory.
  • Use Case: You need to run the test suite for your frontend code. Use this skill to execute npm test within the packages/frontend directory.

Quick Start

Execute the command 'npm run build' in the 'packages/backend' directory.

Frequently Asked Questions about serena-shell

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

FAQPage Schema
How do I execute shell commands within a specific project directory?

Yes, you can run arbitrary shell commands and execute linters or build scripts in a subdirectory by specifying the working directory path. This ensures the command runs in the correct project environment.

How do I run build scripts and tests in a specific project subdirectory?

Run build scripts and tests in a specific project subdirectory by setting the working directory parameter before command execution. This isolates the run environment to the targeted folder path.

Can I capture stderr when running command-line utilities in a project context?

Yes, you can capture stderr when running command-line utilities in a project context. The command execution provides options to control stderr capture alongside the standard output stream.

What is the best way to automate deterministic git operations in a project environment?

Automate deterministic git operations in a project environment by executing shell commands directly within the project directory context. This ensures deterministic tasks like version control run in the correct environment.

Does executing shell commands in project context require any special dependencies?

No, executing shell commands in project context requires no special dependencies. It is a standalone skill designed to run command-line utilities with options for the working directory and stderr capture.