Agent skill
ssh
Execute commands on a remote server via SSH using the bash tool.
Install this agent skill to your Project
npx add-skill https://github.com/rakibdev/dotfiles/tree/main/home/.config/ai/skills/ssh
SKILL.md
- Connect
sshpass -p $SSH_PASSWORD ssh $SSH_USER@$SSH_HOST 'uname -a'
Note: Env vars exposed. Assume exist.
- Reuse that session to run subsequent commands:
bash: command="cd /var/www/app && git pull\n", sessionId="3"
bash: command="npm run build\n", sessionId="3"
bash: command="pm2 restart app\n", sessionId="3"
When you use sessionId it reuses same shell. No sshpass needed after first-time.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
valibot
Valibot schema validation for backend and frontend forms.
vue
Vue coding style and best practices.
tailwind
Tailwind CSS styling conventions.
websearch
Search Google
github
Fetch GitHub URLs, repos, issues, pull requests, code search
figma
Tool for fetching Figma design data and downloading images.
Didn't find tool you were looking for?