Skip to content

feat: Support bash command execution for Pochi workflows #541

Closed

Description

@wsxiaoys

Please describe the feature you want

Currently, Pochi workflows are limited to a predefined set of tools. This feature request proposes to add support for executing arbitrary bash commands within a Pochi workflow. This would significantly extend the power and flexibility of workflows, allowing them to interact with the shell and integrate with a much wider range of command-line tools and scripts.

This is inspired by the bash command execution in Claude Code: https://docs.claude.com/en/docs/claude-code/slash-commands#bash-command-execution

Additional context

Some relevant files in the codebase:

How it works in Claude Code

Execute bash commands before the slash command runs using the ! prefix. The output is included in the command context. You must include allowed-tools with the Bash tool, but you can choose the specific bash commands to allow.For example:

---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: Create a git commit
---

## Context

- Current git status: !`git status`
- Current git diff (staged and unstaged changes): !`git diff HEAD`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`

## Your task

Based on the above changes, create a single git commit.

🤖 Generated with Pochi

Activity

  1. wsxiaoys commented on Oct 12, 2025

    @wsxiaoys
    MemberAuthor

    i recommend we just run all these commands when sending the command, and attached them in a system-reminder section as part of the message

  2. moved this from Todo to In Progress in Pochi Taskson Oct 13, 2025
  3. moved this from In Progress to Done in Pochi Taskson Oct 20, 2025
  4. closed this as completedby moving to Done in Pochi Taskson Oct 20, 2025
  5. zwpaper commented on Oct 21, 2025

    @zwpaper
    Member

    verified:

    Image
  6. moved this from Done to Verified in Pochi Taskson Oct 21, 2025
  7. moved this from Verified to Archived in Pochi Taskson Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions