skills/standard/office-env-shell/SKILL.md
在工作区执行命令 run;Python/脚本、pip、格式转换;缺环境降级见 office-env-setup
npx skillsauth add sunflowermm/XRK-AGT office-env-shellInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
要跑 Python 处理 PDF/表格、pip 装依赖、调用 pandoc/soffice、批量重命名等。
ENV.md 的 C/D 档与 run 状态run 关闭 → 不执行命令,改 desktop/Markdown 降级并说明配置项tools 工作流 run:
aistream.tools.file.runEnabled、runTimeoutMs、maxCommandOutputChars 约束write 到文件再 read执行前说明:
python script.py
pip install --user pypdf pdfplumber python-pptx pandas openpyxl matplotlib
pandoc report.md -o report.docx
soffice --headless --convert-to pdf file.docx
Windows 注意路径引号;优先相对工作区路径。
| 错误 | 处理 |
|------|------|
| run 禁用 | 见 office-env-setup → 告知 runEnabled |
| python 找不到 | 试 python3 / py -3;仍无则降级 |
| pip 失败 | 记录 stderr,不重复装;降级交付 |
| 命令不存在 | pandoc/soffice/qpdf → 换 Python 或 desktop 路径 |
| 超时 | 拆小脚本或增大 runTimeoutMs(需用户改配置) |
依赖对照:见 office-env-setup 任务降级表。
rm -rf /、格式化磁盘、改防火墙等development
统一回复版式:短、结构化、可复制;减少空话
tools
MCP 工具地图:默认工作流、web_search、何时启用 desktop/browser/memory
development
检索栈:web_search(13 提供商 + parallel-free 免费通道)、web_fetch、与 office-research 分工
data-ai
工作区 Markdown 记忆 + memory 工作流向量记忆的使用边界