env-diff-explainer
比较 dev/staging/prod 配置差异,并把技术差异翻译成业务风险。;use for env, config, diff workflows;do not use for 输出敏感密钥值, 直接覆盖配置.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/52yuanchangxing/env-diff-explainerWhat This Skill Does
The env-diff-explainer is a specialized OpenClaw agent skill designed to bridge the gap between raw infrastructure configuration and business logic. Its core function is to ingest configuration files or environment variable lists from different environments (such as dev, staging, and production), perform a side-by-side technical comparison, and translate these differences into actionable insights regarding business stability and risk exposure. Instead of just highlighting a missing semicolon or a different URL, this skill identifies critical mismatches such as debug modes enabled in production, database connection timeout discrepancies, or API rate limit inconsistencies that could cause production outages.
Installation
To install this skill, use the ClawHub CLI in your project terminal:
clawhub install openclaw/skills/skills/52yuanchangxing/env-diff-explainer
Use Cases
- Pre-deployment Audits: Compare staging configuration against production to ensure parity before a release.
- Incident Investigation: Analyze configuration drift after a sudden performance degradation in production.
- Compliance Review: Verify that security headers and encryption settings are consistently applied across all deployment environments.
- Configuration Refactoring: Identify legacy environment variables that are no longer referenced in the current codebase.
Example Prompts
- "Compare the attached dev.yaml and prod.yaml files. List only the differences that could impact user authentication flows or cause downtime."
- "I am seeing a 504 error in my staging environment but not in dev. Here are the environment variables for both; can you explain if a specific config difference is the culprit?"
- "Summarize the security posture differences between these two environments. Focus on API timeouts and logging levels, and provide a remediation plan."
Tips & Limitations
- Privacy First: This skill is built with an aggressive masking policy. It will automatically mask values that look like API keys, secrets, or tokens. Do not expect the skill to output clear-text credentials.
- Read-Only Nature: The skill is strictly analytical. It will never perform a 'write' operation or attempt to overwrite your configuration files. It acts as an advisor, not an executor.
- Missing Information: If you provide incomplete configuration snapshots, the skill will output a 'Missing Information' section. It is designed to be honest about its confidence level rather than making assumptions.
- Actionable Output: Always follow the suggested 'Validation Steps' in the output to confirm the suggested changes in a local dry-run before applying them manually to your infrastructure.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-52yuanchangxing-env-diff-explainer": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-read, code-execution
Related Skills
agent-health-diagnostics
Diagnose and fix the 4 most common OpenClaw agent failures — heartbeat spam, API rate limit cascades, channel death loops, and memory/embedding errors. Battle-tested across a 6-agent multi-host deployment.
incident-postmortem-assistant
将事故线索整理成复盘草案,区分根因、诱因、放大器、影响与修复动作。;use for incident, postmortem, sre workflows;do not use for 归责个人, 篡改时间线.
cron-job-guardian
检查 cron 或 timer 配置中的频率、幂等、重试、日志与并发风险。;use for cron, timer, ops workflows;do not use for 直接启停生产任务, 替代真正监控.
Dotfiles
Backup, sync, and version-track dotfiles across multiple machines. Use when syncing configs, backing up settings, restoring on new machines.
multi-agent-status
Cross-agent health monitoring for multi-host OpenClaw deployments. Each agent pushes structured status reports (JSON) to a central location. A PM/monitoring agent reads them and alerts on failures. Works across Windows, Linux, and mixed environments.