{"slug":"clawhub-chenmo0414-windows-shell","facts":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Clawhub","href":"https://clawhub.ai/chenmo0414/skills/windows-shell","sourceUrl":"https://clawhub.ai/chenmo0414/skills/windows-shell","sourceType":"profile","confidence":"medium","observedAt":"2026-10-11T11:29:54.514Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-chenmo0414-windows-shell/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-chenmo0414-windows-shell/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-11T11:29:54.514Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"1.1K downloads","href":"https://clawhub.ai/chenmo0414/windows-shell","sourceUrl":"https://clawhub.ai/chenmo0414/windows-shell","sourceType":"profile","confidence":"medium","observedAt":"2026-10-11T11:29:54.514Z","isPublic":true},{"factKey":"latest_release","category":"release","label":"Latest release","value":"5.3.0","href":"https://clawhub.ai/chenmo0414/windows-shell","sourceUrl":"https://clawhub.ai/chenmo0414/windows-shell","sourceType":"release","confidence":"medium","observedAt":"2026-08-20T10:52:34.177Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-chenmo0414-windows-shell/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-chenmo0414-windows-shell/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"changeEvents":[{"eventType":"release","title":"Release 5.3.0","description":"补两条，否掉一条。候选来自 agent 实测自报的「规范没写、只能靠自有知识现推」， 再用 TokenHub 多模型探针筛出其中模型真不会的（每格 5 次采样，共 240 次调用）。 **新增 1：`PIPESTATUS` 会被下一条命令重置，包括赋值语句本身。** cmd | tail -1; a=${PIPESTATUS[0]}; b=${PIPESTATUS[1]} # ✗ b 恒为 0 cmd | tail -1; st=(\"${PIPESTATUS[@]}\") # ✓ 紧邻、一次取完 实测 `(exit 7) | tail -1`：紧邻读得 7，中间隔一条命令再读得 0，先赋值再读第二个也得 0。 原规范只写了「用 ${PIPESTATUS[0]}」，没说它会失效——三个 agent 都在这上面栽过。 TokenHub 裸问命中率 40%，加规则后 deepseek 两个模型由 4/5、2/5 拉满到 5/5。 **新增 2（辟谣条目）：中文写在 `-Command '...'` 参数里是安全的，不需要 BOM。** powershell -NoProfile -Command '$s=\"中文测试\"; Write-Output $s.Length' # → 4，正确 要 BOM 的只有**脚本文件**（见 5.2.0），命令行参数走的是另一条路径。这条是反向陷阱： 实测中有两个 agent 因为担心参数被 ANSI 吃掉，绕道去写带 BOM 的 .ps1，白花两条命令。 TokenHub 裸问只有 40% 答对——六成情况下模型会误以为会坏。 **否掉：编码判定方法（`od` 看字节区分 GBK/UTF-8）。** 四个 agent 点名「规范没写这个」，但 TokenHub 三模型裸问 **15/15 全对**，两轮复测一致。 它们不是不知道，是不确定该不该做这一步。写进去纯属浪费篇幅，故不收。 这条同时给出一个方法学结论：**agent 自报的 spec_gaps 不能直接采信**。四条候选里， 一条被证伪（中文传 -Command 根本不会坏，是 agent 误判）、一条被证明模型早就会 （od 判编码）、只有两条真该写。全部采信会白白撑大主文件。 **一个需要警惕的信号**：主文件已达 8716 字节，逼近测试守卫的 9000 上限。该上限的依据 是实测的成本曲线（1.9KB 反弹到 1.01x、6.4KB 最优 0.87x、18KB 是 1.43x），现在已超出 验证过的最优区间。下次再加内容前应先重测成本，不要直接抬高守卫。 **已知局限**：minimax-m3 在 PIPESTATUS 这条上给了规范仍是 0/5，中文 -Command 那条也只 到 2/5。另两个模型均为 5/5，故判断为该模型在细节题上的固有弱项，未为其调整措辞。","href":"https://clawhub.ai/chenmo0414/windows-shell","sourceUrl":"https://clawhub.ai/chenmo0414/windows-shell","sourceType":"release","confidence":"medium","observedAt":"2026-08-20T10:52:34.177Z","isPublic":true}]}