← Back to Skills Marketplace
102
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install windows-shell-syntax
Description
Use when giving terminal commands on Windows or when comparing Windows vs Linux shell syntax. Detect whether the shell is PowerShell or cmd.exe before sugges...
Usage Guidance
This skill appears coherent and low-risk: it only contains guidance text for producing shell commands for cmd, PowerShell, and Bash and asks the agent to confirm the user's shell before producing commands. Because it is instruction-only there is no install or secret access. Things to watch for before using: (1) ensure the agent actually asks which shell/version the user runs (or returns labeled variants) rather than guessing; (2) remember any command output by the agent can have side effects if you copy/paste and run it locally—review commands before executing; and (3) if a future version adds an install step, downloads, or requests credentials, re-evaluate for coherence and risk.
Capability Analysis
Type: OpenClaw Skill
Name: windows-shell-syntax
Version: 1.0.1
The skill bundle provides comprehensive and accurate instructions for an AI agent to distinguish between Windows shells (PowerShell, cmd.exe, and Bash) and provide correct syntax for each. It focuses on improving user experience by preventing shell-specific errors and contains no malicious code, data exfiltration attempts, or harmful prompt-injection instructions.
Capability Assessment
Purpose & Capability
Name and description match the SKILL.md: it provides rules and rewrite patterns for cmd, PowerShell, and Bash on Windows. There are no surprising required binaries, env vars, or config paths.
Instruction Scope
The runtime instructions correctly constrain behavior (ask the user which shell or provide separate cmd/PowerShell variants). As written it tells the agent to 'detect whether the shell is PowerShell or cmd.exe' — this is reasonable only if detection is done by asking the user or by inferring from the conversation; the skill does not instruct the agent to probe the host or read local files, which would be out of scope.
Install Mechanism
Instruction-only skill with no install spec or downloads; nothing is written to disk or fetched during install.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not ask for unrelated secrets or access.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request permanent agent presence or modify other skills or system settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install windows-shell-syntax - After installation, invoke the skill by name or use
/windows-shell-syntax - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Release notes
Improved Windows shell compatibility guidance, especially around && / ||
Clarified the difference between cmd.exe, PowerShell 7+, and Windows PowerShell 5.1
Added a compact Bash → Windows rewrite cheat sheet for common command conversions
Added practical guidance for avoiding quoting/escaping traps and tricky redirection patterns in cmd and PowerShell
If you want, I can also give you:
a more concise one-line version
or a slightly more polished ClawHub-style version
v1.0.0
Initial release with clear guidance on handling Windows shell syntax distinctions.
- Requires detection of the user's shell (PowerShell, cmd.exe, or Bash) before suggesting commands.
- Prevents giving Bash-only syntax to Windows users unless they're using an appropriate shell (Git Bash, WSL, etc).
- Includes concise mappings for quoting, escaping, chaining, env vars, and line continuations for cmd, PowerShell, and Bash.
- Outlines safe rewrite patterns and response structure for ambiguous shell contexts.
- Offers minimal explanations to clarify key syntax differences without overexplaining.
Metadata
Frequently Asked Questions
What is windows-shell-syntax?
Use when giving terminal commands on Windows or when comparing Windows vs Linux shell syntax. Detect whether the shell is PowerShell or cmd.exe before sugges... It is an AI Agent Skill for Claude Code / OpenClaw, with 102 downloads so far.
How do I install windows-shell-syntax?
Run "/install windows-shell-syntax" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is windows-shell-syntax free?
Yes, windows-shell-syntax is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does windows-shell-syntax support?
windows-shell-syntax is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created windows-shell-syntax?
It is built and maintained by loevery (@loevery); the current version is v1.0.1.
More Skills