Task Router Skill
Task Router
Error Message Decoder
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install honestqiao/error-message-decoderInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
解析错误信息,提供可能的原因和解决方案。
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": "确保文件路径存在且拼写正确"
}
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# Error Message Decoder
解析错误信息,提供可能的原因和解决方案。
## 功能
- 错误代码解析
- 原因分析
- 解决方案建议
- 多语言支持
## 触发词
- "错误解析"
- "错误解码"
- "error decode"
- "错误原因"
## 支持的错误
```javascript
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: '检查服务器日志' }
};
```
## 输出示例
```json
{
"error": "ENOENT: no such file or directory",
"cause": "文件不存在",
"fix": "检查文件路径是否正确",
"suggestion": "确保文件路径存在且拼写正确"
}
```Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.