WS

    Windows Shell Syntax: CMD & PowerShell 5.1 / 7

    0

    免费 Windows 命令语法指导:先确认 Shell,再处理连接符、引号、转义、路径与退出码,保留命令原意。

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more
    WS

    Windows Shell Syntax: CMD & PowerShell 5.1 / 7

    Example session with this skill installed

    目标是 Windows PowerShell 5.1。把 git diff --check && git status --short 改成兼容写法,仍要求前一条成功才执行后一条。只给建议,不执行。

    • Read your context and instructions
    • Compiled the windows shell syntax
    git diff --check
    if ($LASTEXITCODE -eq 0) { git status --short }
    

    git 是原生程序,紧接着用退出码判断成功;不能把 && 直接换成无条件执行的分号。以上为建议,未执行。

    Connects securely to your tools. The creator never sees your data.

    About this skill

    面向在 Windows 上编程和使用终端的 AI 助手。帮助区分 CMD、Windows PowerShell 5.1 与 PowerShell 7,减少连接符、引号、变量、续行和重定向混用。

    免费版包含:解释器识别、符号对照、保留成功/失败条件的改写原则、字面量与路径引用、原生命令退出码、编码注意事项及命令示例。指令与说明为中文。

    本技能提供指导与解释,不附带可执行检查器,不自动拦截、解析验证或改写工具命令,也不生成机器验证报告。执行前检查、问题定位和修正预览是拟开发的增强方向,本版不包含,未承诺发布时间。

    Agensi 包仅含技能指令和参考文件。DSH 自动注入需要另行安装配套插件,加载本技能不会自动安装插件。没有终端权限时仅提供建议,不声称已执行或验证。

    不保证模型完全遵循;不自动探测宿主、检查、拦截或执行命令,不提供安全审计或任意命令的通用转义保证。程序及 PowerShell 次版本行为仍需验证。未测量真实对话中的错误减少率。

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    • Free with an Agensi account

    Requires

    Git

    Permissions

    Terminal / Shell
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    免费 Windows 命令语法指导:先确认 Shell,再处理连接符、引号、转义、路径与退出码,保留命令原意。

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Windows Shell Syntax: CMD & PowerShell 5.1 / 7 on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.