← 返回 Skills 市场
108
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install env-change-guard
功能描述
在修改环境变量或系统变量时,记录改了什么,并用电脑小白能听懂的话解释这次改动会带来什么影响。也适用于用户表示某个程序、命令、环境或系统功能出了问题,但又说不清具体原因时,优先从相关 log、报错信息或可见线索入手;如果日志相关,就先有限排查 log 内容,再继续正常排查其他可能原因,并用电脑小白能听懂的话解释。常...
使用说明 (SKILL.md)
环境变量变更记录与问题排查技能
这个技能主要做三件事:
- 记录这次改了什么
- 向电脑小白解释这次改动会有什么影响
- 当用户说某个程序、命令、环境或系统功能出了问题,但又说不清具体原因时,优先从相关 log、报错信息或可见线索入手;如果日志相关,就先有限排查 log 内容,再继续正常排查其他可能原因,并用电脑小白能听懂的话解释
使用要求
修改环境变量或系统变量时
要做到:
- 修改前先说明准备改什么
- 修改后明确记录改了什么
- 用简单的话解释这次改动会影响什么
用户说某个功能或环境出了问题时
要做到:
- 先看相关报错、log 或明显线索
- 先用简单的话解释目前看到的问题大概是什么意思
- 如果日志相关,就先有限排查 log 内容
- 然后继续正常排查其他可能原因
- 整个过程都尽量用电脑小白能听懂的话说明
记录要求
默认把环境变量变更记录写到:
logs/env-change-log.md
每次记录至少包含:
- 时间
- 改了哪个变量
- 修改前是什么
- 修改后是什么
- 为什么要改
给小白的解释方式
默认把用户当成不懂系统配置的人。
所以解释时要尽量简单,重点说清楚:
- 这次改的是哪个变量,或者当前问题大概出在哪里
- 它大概是干什么用的
- 改完以后哪些命令或程序可能会受影响
- 如果是报错,下一步还要继续看什么
- 是否需要重新打开终端、程序,或者继续检查其他可能问题
不要堆太多术语,不要写得像技术文档。
典型触发场景
- “帮我配环境变量”
- “把 Python 加到 PATH”
- “设置 JAVA_HOME”
- “配置 ADB / Android SDK”
- “改一下系统变量”
- “我不太懂,你解释简单一点”
- “这个报错是什么意思”
- “帮我查下日志”
- “看看是什么问题”
- “我看不懂这个错误”
- “你帮我排查下 XXX 出了什么问题”
完成前检查
结束前确认:
- 如果改了变量,已记录改动内容
- 已用简单语言解释影响
- 如果用户在排查问题,已先查看相关 log、报错或线索
- 如果日志相关,已先有限排查 log 内容
- 之后已继续说明其他可能问题
安全使用建议
This skill is coherent and appears to do what it says: record env-var changes and prioritize inspecting logs for troubleshooting. Things to consider before installing or using it:
- File writes: by default it will write records to logs/env-change-log.md in the agent's working directory. Confirm you are comfortable with that path and that the agent has permission to create that file.
- Log access: the skill asks the agent to 'look at related logs' — the agent will only be able to read files it has access to. Be cautious: logs can contain sensitive tokens, passwords, or personal data. If you want to limit exposure, tell the agent which specific log files or directories are safe to inspect.
- Avoid recording secrets: if a change or a log snippet contains secrets, instruct the agent not to record or to redact them before writing to env-change-log.md.
- Review outputs before sharing externally: the agent's explanations or logs may include sensitive details; inspect them before sending to anyone else.
- If you have stricter security requirements, consider adjusting the skill to (a) use an explicit, absolute path you control, (b) mandate redaction rules, or (c) restrict which log files the skill is allowed to read.
Overall: coherent and low-risk for typical usage, but exercise the usual caution around reading/storing logs that may contain sensitive information.
功能分析
Type: OpenClaw Skill
Name: env-change-guard
Version: 1.0.0
The skill bundle 'env-change-guard' is designed to help users manage environment variables and troubleshoot system issues by prioritizing log analysis and providing simplified explanations. The instructions in SKILL.md and README.md focus on transparency, requiring the agent to log all changes to 'logs/env-change-log.md' and explain the impact of modifications in simple terms. No malicious patterns such as data exfiltration, unauthorized network access, or obfuscated code were found.
能力评估
Purpose & Capability
Name/description ask for recording environment-variable changes and explaining them to non-technical users; the SKILL.md and README instruct the agent to record changes, explain impacts, and check relevant logs. There are no unrelated environment variables, binaries, or external services requested, so requirements align with purpose.
Instruction Scope
Instructions direct the agent to inspect 'related logs, error messages or visible clues' and to perform a 'limited' log inspection before continuing. This is consistent with troubleshooting, but the guidance is somewhat vague about which log files/paths are appropriate. Because the agent could read any logs it has permission to access, there's a risk it will see sensitive data in logs; the skill does not explicitly constrain which files to read or how to handle sensitive contents.
Install Mechanism
No install spec or code files — instruction-only skill. Nothing is downloaded or written by an installer step. Lowest-risk install profile.
Credentials
Requires no environment variables, credentials, or config paths. The declared behavior (writing change records to logs/env-change-log.md) is reasonable for the stated purpose. There are no excessive or unrelated secrets requested.
Persistence & Privilege
always:false and no special privileges requested. The skill writes records to a local relative path (logs/env-change-log.md) per its design — this is consistent with its stated purpose and is not an elevated system privilege.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install env-change-guard - 安装完成后,直接呼叫该 Skill 的名称或使用
/env-change-guard触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of env-change-guard.
- Records all environment or system variable changes, including what was changed and why.
- Explains impacts of changes in simple, non-technical language for beginners.
- For troubleshooting vague issues, prioritizes checking logs or error messages, with easy-to-understand explanations.
- Guides users step-by-step when addressing environment-related problems, especially with PATH, JAVA_HOME, Python, Node, ADB, Android SDK, and related tools.
- Logs environment variable changes to `logs/env-change-log.md` with time, before/after values, and reasoning.
元数据
常见问题
帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题 是什么?
在修改环境变量或系统变量时,记录改了什么,并用电脑小白能听懂的话解释这次改动会带来什么影响。也适用于用户表示某个程序、命令、环境或系统功能出了问题,但又说不清具体原因时,优先从相关 log、报错信息或可见线索入手;如果日志相关,就先有限排查 log 内容,再继续正常排查其他可能原因,并用电脑小白能听懂的话解释。常... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 108 次。
如何安装 帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install env-change-guard」即可一键安装,无需额外配置。
帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题 是免费的吗?
是的,帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题 支持哪些平台?
帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题?
由 Marerlee(@marerlee)开发并维护,当前版本 v1.0.0。
推荐 Skills