← Back to Skills Marketplace
honestqiao

Error Message Decoder

by HonestQiao · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
525
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install error-message-decoder
Description
解析常见错误代码,提供错误原因及对应解决方案,支持多语言显示。
README (SKILL.md)

Error Message Decoder

解析错误信息,提供可能的原因和解决方案。

功能

  • 错误代码解析
  • 原因分析
  • 解决方案建议
  • 多语言支持

触发词

  • "错误解析"
  • "错误解码"
  • "error decode"
  • "错误原因"

支持的错误

const knownErrors = {
  'ENOENT': { zh: '文件不存在', fix: '检查文件路径是否正确' },
  'ECONNREFUSED': { zh: '连接被拒绝', fix: '检查服务是否启动' },
  'EADDRINUSE': { zh: '端口已被占用', fix: '杀死占用进程或更换端口' },
  'undefined is not a function': { zh: '调用了未定义的函数', fix: '检查函数名拼写和导入' },
  'null reference': { zh: '空指针错误', fix: '添加空值检查' },
  'CORS error': { zh: '跨域错误', fix: '配置CORS headers' },
  '404': { zh: '资源不存在', fix: '检查URL是否正确' },
  '500': { zh: '服务器内部错误', fix: '检查服务器日志' }
};

输出示例

{
  "error": "ENOENT: no such file or directory",
  "cause": "文件不存在",
  "fix": "检查文件路径是否正确",
  "suggestion": "确保文件路径存在且拼写正确"
}
Usage Guidance
This skill itself is low-risk (it asks for no credentials and has no installer), but its documentation and implementation disagree and the code contains at least one clear bug. Before installing or enabling it for autonomous use: 1) Ask the author to align SKILL.md and the implementation (same error list, same output fields). 2) Fix the decodeError function so it returns an object with named fields (e.g., cause, fix) instead of attempting to spread a language string into an object; ensure info entries are objects keyed by language or refactor the lookup. 3) Add tests or examples verifying multilingual output and the fallback behavior. 4) Because this is instruction-only, run it in a sandbox or review the final implementation after fixes to confirm it doesn't read files or environment variables. If you need a ready-to-use tool now, prefer a skill whose implementation and documentation already match and include tests.
Capability Analysis
Type: OpenClaw Skill Name: error-message-decoder Version: 1.0.0 The OpenClaw skill 'error-message-decoder' is designed to parse error messages and suggest solutions. The implementation in `skill.yaml` performs simple string matching against a predefined list of known errors and returns a structured JSON object. There are no network calls, file system operations, environment variable access, or any other high-risk behaviors. The `SKILL.md` file provides documentation and examples without containing any prompt injection attempts or malicious instructions for the agent. The minor inconsistencies between the `knownErrors` lists in `SKILL.md` and `skill.yaml` are not security-relevant.
Capability Assessment
Purpose & Capability
Name and description match the declared content: an instruction-only skill that maps common error strings to causes and fixes. It does not request any credentials, binaries, or installs, which is proportionate to the purpose.
Instruction Scope
SKILL.md lists a set of known errors (including 'CORS error', '404', '500') and shows output keys like 'cause' and 'fix'. The implementation in skill.yaml contains a different, smaller knownErrors set and returns a different object shape. The implementation also attempts to spread info[language] (a string) into an object, which is a bug and will produce incorrect output or runtime errors. These mismatches mean the agent's runtime behavior will not match the documentation.
Install Mechanism
No install spec and no code files beyond instruction/implementation text. Low-risk: nothing is downloaded or written to disk by an installer.
Credentials
The skill requests no environment variables, credentials, or config paths — appropriate for an error-decoding utility.
Persistence & Privilege
always is false, no elevated persistence requested, and the skill does not ask to modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install error-message-decoder
  3. After installation, invoke the skill by name or use /error-message-decoder
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of Error Message Decoder. - 自动解析常见错误信息,提供原因分析和中文解决建议。 - 支持多语言关键字触发,包括中英文错误码和描述。 - 输出包含错误内容、原因、修复建议和示例格式。 - 覆盖文件/端口/网络/函数/服务等常见错误类型。
Metadata
Slug error-message-decoder
Version 1.0.0
License
All-time Installs 3
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is Error Message Decoder?

解析常见错误代码,提供错误原因及对应解决方案,支持多语言显示。 It is an AI Agent Skill for Claude Code / OpenClaw, with 525 downloads so far.

How do I install Error Message Decoder?

Run "/install error-message-decoder" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Error Message Decoder free?

Yes, Error Message Decoder is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Error Message Decoder support?

Error Message Decoder is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Error Message Decoder?

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

💬 Comments