fabioc-aloha/alex-cognitive-architecture/terminal-command-safety
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Safe terminal command patterns — backtick escaping, output capture, and hang prevention
Install
npx vskill@latest install fabioc-aloha/alex-cognitive-architecture/terminal-command-safetySKILL.md
Terminal Command Safety
Detailed patterns and examples for safe terminal command execution in AI agent contexts.
Backtick Hazard — Details
Backticks in terminal command arguments break across all shells:
- bash/zsh: backtick = command substitution (
echo "uselshere"executesls) - PowerShell: backtick = escape character (
echo "usen here"` inserts newline)
Ref: vscode#295620
Safe Pattern (bash)
Safe Pattern (PowerShell)
Output Capture — Examples
Refs: vscode#308610, vscode#308048, vscode#307173
Redirect to file
Pipe through Out-String
Sentinel pattern
Alt-buffer avoidance
git lognotgit log | less(set$env:GIT_PAGER="cat")Get-Helpnotmangh issue view --jsonnotgh issue view(which opens a pager)
Terminal Hanging — Examples
Refs: vscode#308610, vscode#306490
Async mode selection
Pre-answer interactive prompts
Network timeouts
Security
- Security scanPassed, 90 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 repositoryCheckingplatforms/vscode-extension/vsix-inspect/extension/brain-files/skills/terminal-command-safety/SKILL.md
Popularity
- 7-day trend score
- 5
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/fabioc-aloha/alex-cognitive-architecture/terminal-command-safety)