AI debugging assistant that never repeats a mistake. Searches the YanHui Knowledge Base (6,800+ scraped issues, 980+ imported solutions) for instant fixes, o...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install confucius-debug或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install confucius-debug⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/confucius-debug/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: confucius-debug description: AI debugging assistant that never repeats a mistake. Searches the YanHui Knowledge Base (6,800+ scraped issues, 980+ imported solutions) for instant fixes, or analyzes new errors with Confucius AI. Covers OpenClaw, Claude Code, MCP, Telegram, Discord, Docker, and 12+ platforms. version: 2.0.2 metadata: openclaw: emoji: 🦞 homepage: https://api.washinmura.jp/confucius primaryEnv: CONFUCIUS_LOBSTER_ID requires: bins: - curl - jq env: - CONFUCIUS_LOBSTER_ID ---
> "不貳過" — Never repeat a mistake. (Confucius, Analects 6.3)
When this skill is active, follow these rules:
debug_search or confucius_search) BEFORE attempting to debug on your own. This is free and takes <1 second.debug_analyze to get an AI-powered fix. The fix is saved to KB so the next person gets it instantly.debug_escalate to submit your environment info, logs, and what you've tried. This helps offline research.debug_contribute to share the solution back to the KB.---
AI-powered debugging assistant backed by the YanHui Knowledge Base — a growing collection of 6,800+ scraped issues and 980+ imported solutions from real AI agent projects (OpenClaw, Claude Code, MCP, Anthropic SDK, Codex, Aider, and more).
You hit a bug
↓
1. Search YanHui KB (FREE, instant)
↓
Found? → Use the fix directly
Not found? ↓
2. Confucius AI analyzes (FREE)
↓
High confidence? → Fix saved to KB → Next person gets it FREE
Low confidence? → status: "unsolved"
↓
3. debug_escalate (FREE) — send environment + logs
↓
Queued for offline research → solved → added to KB
confucius_search — Search the Knowledge Base (FREE)Always try this first. Searches 980+ verified solutions for matching patterns.
# Search for a bug pattern
curl -s -X POST https://api.washinmura.jp/api/v2/debug-ai/search \
-H "Content-Type: application/json" \
-d '{"query": "OpenClaw Telegram plugin not connecting", "limit": 5}'
When to use: Any time you encounter an error. It's free and instant.
confucius_analyze — AI-Powered Analysis (FREE)Only if search returns 0 results. Confucius AI analyzes your error, finds root cause, and provides a fix.
# Analyze a new bug
curl -s -X POST https://api.washinmura.jp/api/v2/debug-ai \
-H "Content-Type: application/json" \
-d '{
"error_description": "OpenClaw Telegram bot not responding after restart",
"error_message": "Error: ETELEGRAM: 409 Conflict: terminated by other getUpdates request",
"lobster_id": "'"$CONFUCIUS_LOBSTER_ID"'"
}'
What you get back:
root_cause — Why this happenedfix_description — How to fix itfix_patch — Actual code to applyconfidence — How sure Confucius isconfucius_escalate — Submit Unsolved Bug for Research (FREE)When confucius_analyze returns status: "unsolved" (low confidence), submit more context to help offline research.
curl -s -X POST https://api.washinmura.jp/api/v2/debug-ai/escalate \
-H "Content-Type: application/json" \
-d '{
"error_description": "The original error",
"lobster_id": "'"$CONFUCIUS_LOBSTER_ID"'",
"environment": {"os": "macOS 15", "runtime": "bun 1.2.1", "key_deps": {"hono": "4.7"}},
"logs": "Error: something failed\n at file.ts:42",
"tried": ["restarted", "cleared cache", "downgraded version"],
"project_structure": "src/ routes/ db/"
}'
What you provide:
environment — OS, runtime versions, key dependencieslogs — Recent error output (last 50 lines)tried — List of things already attemptedproject_structure — Brief overview of project layoutconfucius_contribute — Share Your Fix (FREE)Solved a bug? Share it so nobody hits it again.
curl -s -X POST https://api.washinmura.jp/api/v2/debug-ai/onboard \
-H "Content-Type: application/json" \
-d '{
"lobster_id": "'"$CONFUCIUS_LOBSTER_ID"'",
"entries": [{
"error_description": "What was the bug",
"fix_description": "How you fixed it",
"error_category": "config_error"
}]
}'
For Claude Desktop, Claude Code, or any MCP-compatible client:
{
"mcpServers": {
"confucius-debug": {
"url": "https://api.washinmura.jp/mcp/debug"
}
}
}
This gives you 5 tools automatically: debug_search, debug_analyze, debug_escalate, debug_contribute, debug_hello.
| Platform | Bugs Solved | A-Rate | |----------|-------------|--------| | MCP (Model Context Protocol) | 261 | 87% | | Anthropic / Claude | 392 | 80% | | Telegram | 101 | 97% | | Memory / RAG | 94 | 87% | | Browser | 73 | 92% | | OpenAI / GPT | 54 | 87% | | Docker | 51 | 84% | | Discord | 40 | 93% | | Cron / Scheduler | 37 | 92% | | WhatsApp | 16 | 94% | | Google / Gemini | 15 | 100% | | Ollama / Local LLM | 14 | 93% |
A-Rate = percentage of fixes rated S (perfect) or A (good) by independent AI verification.
analyze and contribute, optional for search):```bash export CONFUCIUS_LOBSTER_ID="your-username" ```
```bash curl -s https://api.washinmura.jp/api/v2/debug-ai/search \ -X POST -H "Content-Type: application/json" \ -d '{"query": "test", "limit": 1}' ```
When OpenClaw throws an error:
confucius_search("your error message")confucius_analyze("description", "error message")confucius_contribute(...) to help others| Service | URL | Purpose | |---------|-----|---------| | Confucius Debug API | https://api.washinmura.jp/api/v2/debug-ai | Search, Analyze, Contribute | | Confucius MCP | https://api.washinmura.jp/mcp/debug | MCP protocol endpoint |
Powered by Claude (Anthropic) and the Confucius philosophy: learn from mistakes, never repeat them.
🦞 The bigger the Knowledge Base, the stronger Confucius becomes.
安装 Confucius Debug 后,可以对 AI 说这些话来触发它
Help me get started with Confucius Debug
Explains what Confucius Debug does, walks through the setup, and runs a quick demo based on your current project
Use Confucius Debug to aI debugging assistant that never repeats a mistake
Invokes Confucius Debug with the right parameters and returns the result directly in the conversation
What can I do with Confucius Debug in my developer & devops workflow?
Lists the top use cases for Confucius Debug, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/confucius-debug/ 目录(个人级,所有项目可用),或 .claude/skills/confucius-debug/(项目级)。重启 AI 客户端后,用 /confucius-debug 主动调用,或让 AI 根据上下文自动发现并使用。
Confucius Debug 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Confucius Debug 可免费安装使用。请查阅仓库了解许可证信息。
AI debugging assistant that never repeats a mistake. Searches the YanHui Knowledge Base (6,800+ scraped issues, 980+ imported solutions) for instant fixes, o...
Confucius Debug 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Confucius Debug
Identifies repetitive steps in your workflow and sets up Confucius Debug to handle them automatically