Files
oh-my-pi/packages/coding-agent/src/prompts/tools/ssh.md
T
can1357 8a3699bff4 refactor(prompts): harmonized prompt templates and bolded keywords
- Standardized prompt structures, replacing custom XML-like tags with Markdown.
- Implemented automatic bolding for RFC 2119 keywords (e.g., MUST, SHOULD) in prompt content.
- Simplified environment information provided to agents, removing desktop environment details.
- Updated image generation tool parameters for improved clarity and capacity.
2026-02-23 21:19:26 +01:00

1.3 KiB

Runs commands on remote hosts.

You **MUST** build commands from the reference below **linux/bash, linux/zsh, macos/bash, macos/zsh** — Unix-like: - Files: `ls`, `cat`, `head`, `tail`, `grep`, `find` - System: `ps`, `top`, `df`, `uname` (all), `free` (Linux only) - Navigation: `cd`, `pwd` **windows/bash, windows/sh** — Windows Unix layer (WSL, Cygwin, Git Bash): - Files/System/Navigation: same as Unix-like above, minus `free` **windows/powershell** — PowerShell: - Files: `Get-ChildItem`, `Get-Content`, `Select-String` - System: `Get-Process`, `Get-ComputerInfo` - Navigation: `Set-Location`, `Get-Location` **windows/cmd** — Command Prompt: - Files: `dir`, `type`, `findstr`, `where` - System: `tasklist`, `systeminfo` - Navigation: `cd`, `echo %CD%` You **MUST** verify the shell type from "Available hosts" and use matching commands. Task: List /home/user files on "server1" Host: server1 (10.0.0.1) | linux/bash Command: `ls -la /home/user` Task: Show running processes on "winbox" Host: winbox (192.168.1.5) | windows/cmd Command: `tasklist /v` Task: Get system info on "macbook" Host: macbook (10.0.0.20) | macos/zsh Command: `uname -a && sw_vers`