← Back to Skills Marketplace
marerlee

帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题

by Marerlee · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
108
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install env-change-guard
Description
在修改环境变量或系统变量时,记录改了什么,并用电脑小白能听懂的话解释这次改动会带来什么影响。也适用于用户表示某个程序、命令、环境或系统功能出了问题,但又说不清具体原因时,优先从相关 log、报错信息或可见线索入手;如果日志相关,就先有限排查 log 内容,再继续正常排查其他可能原因,并用电脑小白能听懂的话解释。常...
README (SKILL.md)

环境变量变更记录与问题排查技能

这个技能主要做三件事:

  1. 记录这次改了什么
  2. 向电脑小白解释这次改动会有什么影响
  3. 当用户说某个程序、命令、环境或系统功能出了问题,但又说不清具体原因时,优先从相关 log、报错信息或可见线索入手;如果日志相关,就先有限排查 log 内容,再继续正常排查其他可能原因,并用电脑小白能听懂的话解释

使用要求

修改环境变量或系统变量时

要做到:

  • 修改前先说明准备改什么
  • 修改后明确记录改了什么
  • 用简单的话解释这次改动会影响什么

用户说某个功能或环境出了问题时

要做到:

  • 先看相关报错、log 或明显线索
  • 先用简单的话解释目前看到的问题大概是什么意思
  • 如果日志相关,就先有限排查 log 内容
  • 然后继续正常排查其他可能原因
  • 整个过程都尽量用电脑小白能听懂的话说明

记录要求

默认把环境变量变更记录写到:

  • logs/env-change-log.md

每次记录至少包含:

  • 时间
  • 改了哪个变量
  • 修改前是什么
  • 修改后是什么
  • 为什么要改

给小白的解释方式

默认把用户当成不懂系统配置的人。

所以解释时要尽量简单,重点说清楚:

  • 这次改的是哪个变量,或者当前问题大概出在哪里
  • 它大概是干什么用的
  • 改完以后哪些命令或程序可能会受影响
  • 如果是报错,下一步还要继续看什么
  • 是否需要重新打开终端、程序,或者继续检查其他可能问题

不要堆太多术语,不要写得像技术文档。

典型触发场景

  • “帮我配环境变量”
  • “把 Python 加到 PATH”
  • “设置 JAVA_HOME”
  • “配置 ADB / Android SDK”
  • “改一下系统变量”
  • “我不太懂,你解释简单一点”
  • “这个报错是什么意思”
  • “帮我查下日志”
  • “看看是什么问题”
  • “我看不懂这个错误”
  • “你帮我排查下 XXX 出了什么问题”

完成前检查

结束前确认:

  • 如果改了变量,已记录改动内容
  • 已用简单语言解释影响
  • 如果用户在排查问题,已先查看相关 log、报错或线索
  • 如果日志相关,已先有限排查 log 内容
  • 之后已继续说明其他可能问题
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install env-change-guard
  3. After installation, invoke the skill by name or use /env-change-guard
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug env-change-guard
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题?

在修改环境变量或系统变量时,记录改了什么,并用电脑小白能听懂的话解释这次改动会带来什么影响。也适用于用户表示某个程序、命令、环境或系统功能出了问题,但又说不清具体原因时,优先从相关 log、报错信息或可见线索入手;如果日志相关,就先有限排查 log 内容,再继续正常排查其他可能原因,并用电脑小白能听懂的话解释。常... It is an AI Agent Skill for Claude Code / OpenClaw, with 108 downloads so far.

How do I install 帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题?

Run "/install env-change-guard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题 free?

Yes, 帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题 support?

帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 帮助小白记录环境变量,如电脑遇到不可知问题,可以优先访问log排查问题?

It is built and maintained by Marerlee (@marerlee); the current version is v1.0.0.

💬 Comments