You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Support bash command execution for Pochi workflows #541
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.
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.
Activity
wsxiaoys commentedon Oct 12, 2025
i recommend we just run all these commands when sending the command, and attached them in a
system-remindersection as part of the messagezwpaper commentedon Oct 21, 2025
verified: