🤖
Docker Diag
Advanced log analysis for Docker containers using signal extraction.
安全通过
技能说明
name: Docker Pro Diagnostic description: Advanced log analysis for Docker containers using signal extraction. bins: ["python3", "docker"]
Docker Pro Diagnostic
When a user asks "Why is my container failing?" or "Analyze the logs for [container]", follow these steps:
- Run Extraction: Call
python3 {{skillDir}}/log_processor.py <container_name>. - Analyze: Feed the output (which contains errors and context) into your reasoning engine.
- Report: Summarize the root cause. If it looks like a code error, suggest a fix. If it looks like a resource error (OOM), suggest increasing Docker memory limits.
Example Command
python3 log_processor.py api_gateway_prod
如何使用「Docker Diag」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Docker Diag」技能完成任务
- 结果即时呈现,支持继续对话优化