aliatx2017/reasonix-hermes/shell-quoting-ssh
- community
Checking that the SKILL.md file is still in the repository.
Shell quoting patterns for SSH remote commands and bash tool invocations. Work on first try, not third. Covers single-quote nesting, heredoc alternatives, and common escaping pitfalls.
Install
npx vskill@latest install aliatx2017/reasonix-hermes/shell-quoting-sshSKILL.md
Shell Quoting Patterns
When to Use
- Running
bashtool with complex commands containing quotes, variables, or special chars - Executing commands over SSH where quoting nests multiple times
- Debugging shell quoting errors ("unexpected token", "command not found" where it should work)
Fundamental Rules
- Single quotes — everything literal, no expansion.
'$HOME'→ literal$HOME - Double quotes — variables and
$()expand."$HOME"→/Users/alex - No quotes — word splitting + glob expansion. Almost never what you want.
Single Quote Nesting
You CANNOT nest single quotes directly. 'it's' fails. Workarounds:
SSH Quoting — Triple Nesting
SSH adds one level of quoting. Complex commands need careful nesting:
Common Pitfalls
| Pattern | Wrong | Right | |
|---|---|---|---|
| Variable in single quotes | '$HOME/path' | "$HOME/path" | |
| Nested single quotes | 'it's' | 'it'"'"'s' | |
| Backticks in quotes | ` 'cmd' ` | "$(cmd)" | |
| Exclamation in double quotes | "hello!" | 'hello!' or "hello"\!" |
bash Tool Specific
The bash tool in Reasonix runs commands via a configured shell. Prefer heredocs for multi-line scripts:
Verification
After any SSH or complex bash command, verify the output is what you expect. A silent success with no output ≠ it worked.
Related
- Project skill:
ready-means-tested— verify, don't assume - Tool:
bash— runs commands through configured shell interpreter
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.reasonix/skills/shell-quoting-ssh/SKILL.md
Popularity
- Repository stars
- 5
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aliatx2017/reasonix-hermes/shell-quoting-ssh)