Gold-first AI-agent traceback diagnosis, exact fixes, verification, and reusable prescriptions.
Your agent is sick. The traceback is long, the tabs are multiplying, and every answer looks half-right. CyberHuaTuo turns that moment into a clinic visit: name the wound, prescribe the fix, verify the cure.
The lightest route needs no model key and does not start the vector database: install once, paste the error, and receive a reviewed root cause, exact fix, verification command, safety notes, and evidence.
python -m pip install --upgrade "cyberhuatuo>=0.2.5"
cyberhuatuo cure "ImportError: cannot import name ChatOpenAI from langchain" --framework langchain
# Returned exact fix:
python -m pip install -U langchain-openai
cure is Gold-first and never executes the fix. If no Gold signature matches, it may return exactly one high-confidence Reviewed candidate, visibly marked VERIFY BEFORE APPLYING; use --gold-only for strict Gold-only retrieval. Use diagnose later when you want broader retrieval and optional LLM analysis.
The agent-native route remains available: connect CyberHuaTuo MCP once, then let the agent call diagnose when it fails. After a fix works, save_prescription keeps it as a local draft; upload_prescription submits that draft for public reproduction and review. Only accepted reviewed or gold prescriptions count toward Soul Rings.
No MCP installed yet? Bring the case to the Agent Traceback Clinic. Paste a real redacted traceback; no root cause or finished prescription required.
cyberhuatuo diagnose "Traceback ... from langchain import ChatOpenAI ..." --framework langchain --top-k 1
Real CLI recording from this repository:
The cure returned by the recorded run:
python -m pip install -U langchain-openai
from langchain_openai import ChatOpenAI
This first Gold cure was reproduced in an isolated environment with langchain==1.3.13 and langchain-openai==1.3.5. Add a model key later for deeper AI diagnosis.
The package-matching MCP entry point is also available for registry clients:
python -m pip install --upgrade "cyberhuatuo>=0.2.5"
cyberhuatuo mcp
It starts the same stdio server as cyberhuatuo-mcp. The official Registry identity is io.github.JinNing6/cyberhuatuo; server.json pins the PyPI package, exact version, uvx runtime, and fixed mcp argument.
Prescriptions also have stable clinical departments. List them with cyberhuatuo departments, then query a reviewed historical case through the normal Gold-first path:
cyberhuatuo cure "Unexpected UTF-8 BOM" --category data-and-serialization
cyberhuatuo cure-feedback general-ai-jsonl-bom-001 partial \
--verification "first record is preserved; downstream validation still fails" \
--verification-method targeted-parser-test
The feedback command writes a case-bound local JSONL event and stores neither the original traceback nor the query. Department filtering never changes the trust label: Gold is a verified cure, Reviewed is a verify-first candidate, and Draft is reference-only.
CyberHuaTuo now includes a deterministic, read-only preflight for destructive Agent commands. The plugin bundles a PreToolUse hook for supported Codex and Claude Code shell calls, plus the same policy through MCP and CLI.
60-second start (available in 0.2.5):
python -m pip install --upgrade "cyberhuatuo>=0.2.5"
cyberhuatuo guard --self-test --workspace-root .
The self-test only reviews three built-in command strings. It executes nothing and must finish with SELF-TEST PASSED plus one ALLOW, one ASK, and one BLOCK.
For Codex, add this repository as a marketplace, open /plugins, install cyberhuatuo-plugin, start a new session, then review and trust the plugin in /hooks:
codex plugin marketplace add JinNing6/CyberHuaTuo-Plugin
For Claude Code:
claude plugin marketplace add JinNing6/CyberHuaTuo-Plugin
claude plugin install cyberhuatuo-plugin@cyberhuatuo
Then start a new session and review /hooks. See the one-screen Agent Guard quickstart for verification and troubleshooting.
Review any exact command manually with:
cyberhuatuo guard "rm -rf /" --workspace-root .
Turn a real mismatch into a local, redacted case report without executing or uploading the command:
cyberhuatuo guard "rm -rf /" --workspace-root . --expected BLOCK --report reports/guard-report.md
The CLI shows the complete redacted preview before writing. It requires confirmation, refuses implicit overwrite, performs no network request, and supports repeated --redact <literal> values for private project identifiers. In non-interactive use, add --confirm-report only after reviewing the emitted preview. With --expected, a match exits 0 and a mismatch exits 1; operational/report failures still exit 4 even with --exit-zero.
Route public, redacted cases through Guard False Positive, ordinary Guard False Negative, or Guard Integration Gap. Reliable Hook/parser/wrapper/protocol bypasses belong in private vulnerability reporting, not a public Issue.
The result is one of three decisions:
ALLOW: no destructive signature was detected.ASK: the action is destructive but bounded to the declared workspace; require exact human approval.BLOCK: the target is machine-wide, identity-wide, outside the workspace, dynamic, wildcarded, unresolved, or otherwise unsafe to bound.MCP agents can call agent_action_guard. Installed plugins load hooks/hooks.json; review and trust the hook in the host's /hooks screen before relying on it. Codex does not currently support permissionDecision: "ask", so CyberHuaTuo converts ASK to deny there instead of risking a failed-open hook.
This is a guardrail, not a sandbox. It cannot intercept shell paths for which the host does not emit PreToolUse, and it does not claim a rollback for permanent deletion. See Agent Action Guard design and limits.
| ๐ ็ฌฌไธ็ซ ยท ไฟฎ็ผ โ Chapter I: Cultivation | |
๐ฅ ไธไธนๅฝๅ
ยท ไปฅ็ซ็ผ้ |
โจ ็พ่้็ฅ ยท ไธๆณๅฝๅฎ |
๐ฎ ้ญ็ฏๅ
จๆฏๆๅฝฑ ยท ๅทฎ้ๆ่ฝฌ |
|
| ๐ ็ฌฌไบ็ซ ยท ้ฃๅ โ Chapter II: Ascension | |
๐ ไธนๅธ้ฃๅ ยท ไธไธนๆๅฎ |
|
| ๐ ็ฌฌไธ็ซ ยท ๆตไธ โ Chapter III: Healing the World | |
โก ไธๆพๅผไปปไฝไธไธช AI |
๐จ ้จๅคๆฅๆ ยท ๅ็งๅฟ
ไบ |
๐ซ ๅผ่็ ด่ ยท ็ดๅป็
็ถ |
๐ฅ ๅบทๅค็
ๆฟ ยท ๆปก่กๅคๆดป |
๐งช ่ตๅ็ผไธน ยท ๅฆๆๅๆฅ |
|
๐ ๆดๅ้ฉพๅฐ ยท ๅๆนๆฅๆ |
|
A great doctor doesn't wait for you to collapse โ they keep you from falling in the first place.
ๅคงๅปๆฒปๆช็ ใ
๐จ Emergency Roomๆฅ่ฏ็ง Paste your error. Get a cure. In seconds, not hours. AI diagnosis powered by 2,000 years of medical wisdom. |
๐ฟ Wellness Clinicๅ ป็ๅ Security audit. Health scoring. Prevent before it breaks. Nourishing prescriptions for your AI's long-term health. |
๐ Pharmacy่ฏๆฟ Browse the prescription library. Find proven cures & nourishing recipes. All prescriptions, one counter. Dual-layer architecture: ๐ Permanent Expert + โก Temporary Intern Upload โ instantly searchable. |
# Clone โ Install โ Run. Three steps to your first cure.
git clone https://github.com/JinNing6/CyberHuaTuo-Plugin.git
cd CyberHuaTuo && pip install -r requirements.txt
python -m cyberhuatuo serve
# โ Browser opens http://127.0.0.1:8000
Paste your error. Watch the ancient four-step diagnosis unfold:
๐ ๆ (Look) โ Detected: LangChain 0.3, Python 3.11, ImportError
๐ฉบ ้ป (Listen) โ Matched: Breaking change โ package split in 0.2+
๐ฌ ้ฎ (Ask) โ No further questions needed
๐ ๅ (Diagnose) โ Prescription #1 (95% cure rate):
pip install langchain-openai
from langchain_openai import ChatOpenAI # โ
Fixed
Root cause: LangChain 0.2 split into langchain-core,
langchain-community, and langchain-openai.
The old import path no longer exists.
3 seconds. Not 3 hours. That's the difference.
ไธ็ง้ใ ไธๆฏไธๅฐๆถใ่ฟๅฐฑๆฏๅบๅซใ
Hua Tuo didn't just cure disease โ he invented the Five-Animal Exercises (ไบ็ฆฝๆ) to prevent it.
ๅไฝไธไป ๆฒป็ ๏ผๆดๅๆไบไบ็ฆฝๆๅผบ่บซๅฅไฝโโ้ข้ฒ่ไบๆฒป็ใ
Submit your AI agent code for a Six-Meridian Security Checkup๏ผๅ ญ็ป่ๅฎๅ จไฝๆฃ๏ผ:
๐ก๏ธ Meridian 1: Sandbox Isolation โ 30/100 โ ๏ธ CRITICAL
๐ Meridian 2: Key Management โ 85/100 โ
Healthy
๐ง Meridian 3: Prompt Security โ 45/100 โ ๏ธ At risk
๐ Meridian 4: Output Sanitization โ 60/100 ๐ก Needs care
โฑ๏ธ Meridian 5: Resilience Design โ 72/100 ๐ต Good
๐ Meridian 6: Observability โ 55/100 ๐ก Needs care
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Overall Health Score: 58/100 ๐ก Needs Nourishing
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Top Nourishing Prescriptions:
1. ๐ญ MCP & Skills Supply Chain Audit (100% Industrial Grade Sigstore/OSV/LLM) โจ NEW
2. Add execution sandboxing (RestrictedPython / Docker)
3. Implement prompt injection defenses
4. Add structured logging and tracing
Your AI is running naked in production. Do you know it?
Every day, thousands of AI systems go into production already infected:
This is not a future risk. This is an active pandemic.
And when things break? Developers spend hours digging through GitHub Issues, Discord threads, Reddit posts, and half-abandoned blog articles.
The cure exists. Buried under seven layers of irrelevant search results.
Stack Overflow waits for someone to answer. ChatGPT might hallucinate a treatment. GitHub Issues drown in duplicate reports.
CyberHuaTuo is the WHO of the AI world โ tracking the epidemic, prescribing battle-tested cures, and vaccinating before the next outbreak.
| ๐ฉบ CyberHuaTuo | ๐ Stack Overflow | ๐ค ChatGPT | ๐ GitHub Issues | |
|---|---|---|---|---|
| AI-specific knowledge | โ Purpose-built | โ ๏ธ General | โ ๏ธ Generic | โ ๏ธ Scattered |
| Version-aware diagnosis | โ Auto-detect | โ Manual | โ Outdated cutoff | โ Manual |
| Structured prescriptions | โ Root cause + fix + verify | โ ๏ธ Varies | โ ๏ธ May hallucinate | โ ๏ธ Varies |
| Cross-framework mapping | โ LangChain โ LlamaIndex โ CrewAI | โ Siloed | โ ๏ธ Inconsistent | โ Siloed |
| Security health check | โ Six-meridian scan | โ None | โ None | โ None |
| Preventive nourishing | โ Proactive hardening | โ Reactive only | โ Reactive only | โ Reactive only |
| Official doc retrieval | โ Context7 real-time docs | โ None | โ Outdated | โ None |
| Speed to cure | โก Seconds | ๐ Hours | โก Fast but risky | ๐ Hours |
Inspired by traditional Chinese medicine's four-step diagnosis, refined for the AI age:
Your Error / Your Code
โ
โผ
โโโโโโโโโโโโ
โ ๆ Look โโโโ Parse stack trace, detect framework, version & environment
โโโโโโโฌโโโโโ
โผ
โโโโโโโโโโโโโ
โ ้ป Listen โโโโ Correlate with known issues, breaking changes & CVEs
โโโโโโโโฌโโโโโ
โผ
โโโโโโโโโโโ
โ ้ฎ Ask โโโโ Smart follow-up (only when critical info is missing)
โโโโโโฌโโโโโ
โผ
โโโโโโโโโโโโโโ
โ ๅ Diagnose โโโโ Semantic search โ LLM reasoning โ Ranked prescriptions
โโโโโโโโฌโโโโโโ
โผ
๐ Prescriptions (ranked by cure rate)
๐ฟ Nourishing advice (preventive recommendations)
Every prescription includes:
If it has AI in it, CyberHuaTuo sees it. No framework left behind.
| Framework | Cases | Status | Join ๐ |
|---|---|---|---|
| LangChain | 10+ | ๐ข Live | Add a case โ |
| MCP (Anthropic) | 5+ | ๐ข Live | Add a case โ |
| CrewAI | 5+ | ๐ข Live | Add a case โ |
| LlamaIndex | โ | ๐ก Accepting PRs | Be the first โ |
| OpenAI Agents SDK | โ | ๐ก Accepting PRs | Be the first โ |
| AutoGen | โ | ๐ก Accepting PRs | Be the first โ |
| DSPy | โ | ๐ต Planned | Vote โ |
| Technology | Cases | Status | Join ๐ |
|---|---|---|---|
| PyTorch | โ | ๐ก Accepting PRs | Be the first โ |
| Transformers (HuggingFace) | โ | ๐ก Accepting PRs | Be the first โ |
| TensorFlow | โ | ๐ก Accepting PRs | Be the first โ |
| Platform | Cases | Status | Join ๐ |
|---|---|---|---|
| GPTs / Coze / Dify | โ | ๐ก Accepting PRs | Be the first โ |
| Custom-built Agents | โ | ๐ก Accepting PRs | Be the first โ |
| Category | Cases | Status | Join ๐ |
|---|---|---|---|
| ๐ก๏ธ Security Sandbox | 2+ | ๐ข Live | Add โ |
| ๐ Security Hardening | 3+ | ๐ข Live | Add โ |
| ๐ Supply Chain Audit | 1 | ๐ข Live | Add โ |
| โก Performance Tuning | โ | ๐ก Accepting PRs | Be the first โ |
Every framework starts with one case. Every nourishing recipe starts with one insight. Yours could be the first.
git clone https://github.com/JinNing6/CyberHuaTuo-Plugin.git
cd CyberHuaTuo
# Windows
start.bat
# macOS / Linux
chmod +x start.sh && ./start.sh
Auto-installs dependencies and opens the Web UI at http://127.0.0.1:8000
git clone https://github.com/JinNing6/CyberHuaTuo-Plugin.git
cd CyberHuaTuo
pip install -r requirements.txt
# (Optional) Configure LLM for AI diagnosis
cp .env.example .env
# Edit .env โ add your API Key
python -m cyberhuatuo serve
# โ Browser auto-opens http://127.0.0.1:8000
CyberHuaTuo supports two access modes โ pick the one that fits your workflow:
| Mode | Entry Point | For |
|---|---|---|
| โจ๏ธ CLI | cyberhuatuo <command> | Developers using terminal directly |
| ๐ MCP | cyberhuatuo-mcp | AI editors (Cursor / Claude / VS Code) |
# ๐ฉบ Core Diagnosis / ๆ ธๅฟ่ฏๆญ
cyberhuatuo diagnose "ImportError: cannot import 'ChatOpenAI'" # AI ่ฏๆญ
cyberhuatuo search "CUDA out of memory" --framework pytorch # ๆ็ดข็ฅ่ฏๅบ
cyberhuatuo checkup --file my_agent.py # ๅฎๅ
จไฝๆฃ
cyberhuatuo docs langchain "How to configure RAG pipeline" # ๅฎๆนๆๆกฃๆฃ็ดข
# ๐ Knowledge & Analytics / ็ฅ่ฏไธๅๆ
cyberhuatuo stats # ็ฅ่ฏๅบ็ป่ฎก
cyberhuatuo frameworks --search pytorch # ๆฏๆๆกๆถๅ่กจ
cyberhuatuo taxonomy list # CHT ๆ นๅ ็ผ็ ็ณป็ป
cyberhuatuo trends --framework langchain # CHT ่ถๅฟๅๆ
cyberhuatuo digest # ๆฌๅจ่ฏๆนๆ่ฆ
cyberhuatuo epidemic --action check # ็ซๆ
้ข่ญฆ
# ๐งฌ Alchemist System / ็ผไธนๅธไฝ็ณป
cyberhuatuo challenge --username your-github-username --framework langchain
cyberhuatuo mission --username your-github-username --framework langchain --sect Azure-Sect --members your-github-username friend-github-username
cyberhuatuo bounty --username your-github-username --framework auto --top-n 8 --release-tag v0.2.5 --target-contributors 3
cyberhuatuo launch --username your-github-username --framework langchain --release-tag v0.2.5
cyberhuatuo launch-campaign --username your-github-username --framework langchain --release-tag v0.2.5 --target-contributors 3
cyberhuatuo traction-proof --username your-github-username --framework langchain --release-tag v0.2.5 --target-contributors 3
cyberhuatuo traction-proof --username your-github-username --framework langchain --release-tag v0.2.5 --target-contributors 3 --record-snapshot
python -m cyberhuatuo candidate-install-smoke --username your-github-username --framework langchain --release-tag v0.2.5 --target-contributors 3
cyberhuatuo market-copy --username your-github-username --framework langchain --release-tag v0.2.5 --target-contributors 3
cyberhuatuo record-market --username your-github-username --framework langchain --channel pypi --status submitted --submission-url <reviewable public URL> --release-tag v0.2.5
cyberhuatuo market-status --username your-github-username --framework langchain --release-tag v0.2.5
cyberhuatuo first-invite --username your-github-username --invitee external-contributor-github-username --framework langchain --release-tag v0.2.5 --target-contributors 3 --source-url https://github.com/JinNing6/CyberHuaTuo-Plugin/issues/123
cyberhuatuo record-return --username your-github-username --framework langchain --surface "PyPI release" --source-url https://example.com/post
cyberhuatuo activation --username your-github-username --framework langchain --sect Azure-Sect --members your-github-username friend-github-username --top-n 10
cyberhuatuo flywheel --username your-github-username --framework langchain --sect Azure-Sect --members your-github-username friend-github-username --top-n 10
cyberhuatuo record-share --username your-github-username --framework langchain --share-url https://example.com/share
cyberhuatuo share-report --username your-github-username --framework langchain --top-n 10
cyberhuatuo share-leaderboard --framework langchain --top-n 10
cyberhuatuo ladder your-github-username --framework langchain
cyberhuatuo ranking your-github-username # ๆฅ็ไธชไบบๆๅ
cyberhuatuo leaderboard # ๅ
จ็ๅฐ็ฅๆฆ
cyberhuatuo card your-github-username # ็ๆๅไบซๅก็
cyberhuatuo badge your-github-username # ็ๆ GitHub Profile ้ญ็ฏๅพฝ็ซ
cyberhuatuo quest your-github-username --framework langchain
cyberhuatuo campaign your-github-username --framework langchain
cyberhuatuo duel your-github-username friend-github-username --framework langchain
cyberhuatuo mentor mentor-github apprentice-github --framework langchain
# GitHub mentor pact IssueOps: .github/ISSUE_TEMPLATE/soul-ring-mentor.yml
# GitHub mentor pact workflow: .github/workflows/soul-ring-mentor.yml
cyberhuatuo tournament alice bob carol dave --framework langchain --event Agent-Cup
cyberhuatuo tournament-settle alice bob carol dave --framework langchain --event Agent-Cup
# GitHub tournament IssueOps: .github/ISSUE_TEMPLATE/soul-ring-tournament.yml
# GitHub tournament workflow: .github/workflows/soul-ring-tournament.yml
# GitHub sect recruitment IssueOps: .github/ISSUE_TEMPLATE/soul-ring-sect-recruit.yml
# GitHub sect recruitment workflow: .github/workflows/soul-ring-sect-recruit.yml
cyberhuatuo arena your-github-username --top-n 10
cyberhuatuo season --framework langchain --top-n 10
# GitHub season board IssueOps: .github/ISSUE_TEMPLATE/soul-ring-season.yml
# GitHub season board workflow: .github/workflows/soul-ring-season.yml
# GitHub growth flywheel IssueOps: .github/ISSUE_TEMPLATE/soul-ring-growth-flywheel.yml
# GitHub growth flywheel workflow: .github/workflows/soul-ring-growth-flywheel.yml
# GitHub bounty board IssueOps: .github/ISSUE_TEMPLATE/soul-ring-bounty-board.yml
# GitHub bounty board workflow: .github/workflows/soul-ring-bounty-board.yml
# GitHub launch campaign IssueOps: .github/ISSUE_TEMPLATE/soul-ring-launch-campaign.yml
# GitHub launch campaign workflow: .github/workflows/soul-ring-launch-campaign.yml
# Public traction proof: cyberhuatuo traction-proof reads GitHub REST API, GitHub Pull Requests API, GitHub Contents API, GitHub Releases API, PyPI JSON API, and the local activation/share ledger.
# Readiness gates: PyPI latest version must not lag local growth tools, and default-branch IssueOps forms/workflows must exist before issues/new?... links count as live acquisition loops.
# Target contributor progress uses real issue/PR/ledger identities; PRs stay separate from IssueOps counts, and stars, forks, watchers, and downloads are not used as contributors.
# Snapshot history is opt-in: add --record-snapshot to append an append-only real JSONL snapshot and compare velocity deltas.
cyberhuatuo sect Azure-Sect your-github-username friend-github-username --framework langchain
cyberhuatuo sect-recruit Azure-Sect your-github-username friend-github-username --invitee new-member-github --framework langchain
cyberhuatuo sect-quest Azure-Sect your-github-username friend-github-username --framework langchain
cyberhuatuo sect-hall Azure-Sect your-github-username friend-github-username --framework langchain
cyberhuatuo sect-duel Azure-Sect Shadow-Sect --challenger-members your-github-username friend-github-username --rival-members rival-a rival-b --framework langchain
cyberhuatuo sect-arena --sect Azure-Sect your-github-username friend-github-username --sect Shadow-Sect rival-a rival-b --framework langchain
cyberhuatuo record # ่ฏ็ๆกฃๆก
cyberhuatuo subscribe subscribe -f langchain # ่ฎข้
ๆกๆถๆดๆฐ
# โ๏ธ Contribution / ็ฅ่ฏ่ดก็ฎ
cyberhuatuo save --title "Fix" --prescription "..." --framework langchain
cyberhuatuo upload --title "Fix" --prescription "..." --framework langchain --contributor your-github-username
cyberhuatuo mine search --repo langchain-ai/langchain
# ๐ Server / ๆๅกๅฏๅจ
cyberhuatuo serve # ๅฏๅจ Web ่ฏๆญๆๅก
cyberhuatuo serve --port 9000 --reload # ่ชๅฎไน็ซฏๅฃ + ๅผๅๆจกๅผ
cyberhuatuo rebuild # ้ๅปบๅ้็ดขๅผ
Every MCP tool has a CLI counterpart. Same engine, same knowledge base, different interface.
ๆฏไธช MCP ๅทฅๅ ท้ฝๆๅฏนๅบ็ CLI ๅฝไปคใ ๅไธไธชๅผๆ๏ผๅไธไธช็ฅ่ฏๅบ๏ผไธๅ็็้ขใ
Copy .env.example to .env:
# LLM Provider (choose one)
OPENAI_API_KEY=sk-your-key # OpenAI
ANTHROPIC_API_KEY=sk-ant-your-key # Anthropic
DEEPSEEK_API_KEY=sk-your-key # DeepSeek
GEMINI_API_KEY=your-key # Google Gemini
OLLAMA_BASE_URL=http://localhost:11434 # Ollama (local, free)
# Diagnosis model
DIAGNOSIS_MODEL=gpt-4o-mini # or claude-sonnet-4-20250514 / deepseek-chat / gemini-1.5-pro
# Server
PORT=8000
No API Key? No problem. Vector search works without any key. AI-powered ๆ้ป้ฎๅ diagnosis and ๐ฟ nourishing checkup require one of the above.
A living dashboard tracking what's breaking across the AI ecosystem right now:
| Layer | Technology |
|---|---|
| CLI | Python argparse (marketplace, MCP, and soul-ring subcommands; zero extra dependencies) |
| MCP Server | FastMCP (stdio transport for AI editor integration) |
| Backend | Python ยท FastAPI ยท Uvicorn |
| Frontend | Jinja2 Templates (server-rendered) |
| Vector DB | ChromaDB (embedded, zero-config) |
| Ephemeral Layer | GitHub Issues API (dual-layer prescription search) |
| LLM Gateway | LiteLLM (OpenAI / Anthropic / DeepSeek / Gemini / Ollama) |
| Doc Retrieval | Context7 API (real-time official framework docs) |
| Security Engine | Six-Meridian Audit (AI-powered code analysis) |
| GitHub Bot | GitHub Actions + lightweight text matching |
| CI/CD | GitHub Actions (auto-promotion, validation, labeling) |
The greatest doctor doesn't wait in the clinic โ they meet patients where they are.
ๅคงๅปไธๅๅ ๅ่ฏโโ่ๆฏ่ก่ตฐไบๆฐ้ด๏ผๅช้ๆ็ ็๏ผๅช้ๅฐฑๆๅไฝใ
Install the CyberHuaTuo Bot on any repo โ automatic prescription recommendations on every Issue.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ New Issue opened โ
โ "ImportError: cannot import ChatOpenAI" โ
โ โ
โ ๐ฌ @CyberHuaTuo Bot replies: โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ ๐ฉบ ่ตๅๅไฝ ยท ่ชๅจ่ฏๆญ โ โ
โ โ โ โ
โ โ ๐ ่ฏๆน 1 (92% match): โ โ
โ โ pip install langchain-openai โ โ
โ โ from langchain_openai import ... โ โ
โ โ โ โ
โ โ ๐ Full prescription โ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Trigger | Action |
|---|---|
| ๐ New Issue opened | Auto-match prescriptions from the knowledge base |
๐ฌ @CyberHuaTuo in any comment | On-demand diagnosis |
# Copy the Bot workflow to your repo
mkdir -p .github/workflows
curl -o .github/workflows/bot-prescribe.yml \
https://raw.githubusercontent.com/JinNing6/CyberHuaTuo-Plugin/main/.github/workflows/bot-prescribe.yml
Developers see Bot is useful โ Contribute more prescriptions
โ Bot becomes more accurate โ More repos install Bot
โ CyberHuaTuo brand appears before thousands of developers daily
Imagine: If LangChain's official repo installs this Bot, every new Issue gets a prescription recommendation. CyberHuaTuo's brand appears before thousands of developers every day. ๐
The terminal is the alchemist's cauldron โ raw, powerful, and always ready.
็ป็ซฏๅฐฑๆฏ็ผไธนๅธ็้ผ็โโๅๅงใๅผบๅคงใ้ๆถๅพ ๅฝใ
CyberHuaTuo ships a full-featured CLI with marketplace, MCP, and soul-ring subcommands โ every MCP tool has a terminal counterpart. No AI editor required. No GUI needed. Just type and heal.
่ตๅๅไฝๆไพๅฎๆด็ CLI ๅฝไปค่ก็้ข๏ผๅ ๅซ 21 ไธชๅญๅฝไปคโโๆฏไธช MCP ๅทฅๅ ท้ฝๆๅฏนๅบ็็ป็ซฏๅฝไปคใๆ ้ AI ็ผ่พๅจ๏ผๆ ้ๅพๅฝข็้ข๏ผๆฒๅฝไปค๏ผๆฒป็พ็ ใ
# Install
python -m pip install --upgrade "cyberhuatuo @ git+https://github.com/JinNing6/CyberHuaTuo-Plugin.git@v0.2.5"
python -m pip install --upgrade cyberhuatuo # after PyPI latest matches v0.2.5
# Or run from source
python -m cyberhuatuo --help
| Command | Description |
|---|---|
| ๐ฉบ Core Diagnosis / ๆ ธๅฟ่ฏๆญ | |
diagnose <query> | ๐ฉบ ๆ้ป้ฎๅ AI ่ฏๆญ โ paste your error, get a cure |
search <query> | ๐ ๅๅฑ่ฏญไนๆ็ดข (ChromaDB + GitHub Issues) |
checkup --file <path> | ๐ก๏ธ ๅ ญ็ป่ๅฎๅ จไฝๆฃ โ audit your Agent code |
docs <framework> <query> | ๐ ๅฎๆถๅฎๆนๆๆกฃๆฃ็ดข (50+ frameworks via Context7) |
| ๐ Analytics / ็ฅ่ฏๅๆ | |
stats | ๐ฆ ็ฅ่ฏๅบ็ป่ฎก โ case counts by framework |
frameworks | ๐ ๆฏๆๆกๆถๅ่กจ โ filterable by category / keyword |
taxonomy <action> | ๐งฌ CHT ๆ นๅ ็ผ็ โ list, lookup, classify |
trends | ๐ CHT ่ถๅฟๅๆ โ heatmaps & surge alerts |
digest | ๐ฐ ๆฌๅจ่ฏๆนๆ่ฆ โ weekly prescription digest |
epidemic | ๐ฆ ็ซๆ ้ข่ญฆ โ framework health monitoring |
| ๐งฌ Alchemist System / ็ผไธนๅธไฝ็ณป | |
challenge --username <username> --framework <framework> | ๐ฎ first Soul Ring onramp โ submit, rank, share |
mission --username <username> --framework <framework> --sect <sect-name> --members <members...> | ๐ฎ Soul Ring mission hall โ one-screen Issue, PR, personal ring, and sect/team onboarding |
bounty --username <username> --framework auto --top-n <N> --release-tag <tag> --target-contributors <N> | Soul Ring Bounty Board from real local framework coverage gaps, claimable First Soul Ring Issue routes, and no fake rewards |
launch --username <username> --framework <framework> --release-tag <tag> | Soul Ring launch scroll for PyPI, Claude, Codex, MCP, and First Soul Ring routing |
launch-campaign --username <username> --framework <framework> --release-tag <tag> --target-contributors <N> | Soul Ring Launch Campaign for turning PyPI, Claude, and Codex attention into a target first-ring contributor loop with recap and next sprint |
traction-proof --username <username> --framework <framework> --release-tag <tag> --target-contributors <N> | Soul Ring Traction Proof from GitHub REST API, GitHub Pull Requests API, GitHub Contents API IssueOps readiness, GitHub Releases API release.published readiness, PyPI JSON API package readiness, and local ledger identities |
traction-proof --username <username> --framework <framework> --release-tag <tag> --target-contributors <N> --record-snapshot | Opt-in append-only Soul Ring Traction Proof history with velocity deltas from prior real snapshots |
cyberhuatuo install-command --username <username> --framework <framework> --release-tag <tag> --target-contributors <N> | CyberHuaTuo Install Command: fetches real PyPI JSON API latest-version proof, recommends canonical python -m pip install --upgrade cyberhuatuo only when the registry is current, otherwise prints the bounded Git Tag Candidate Install Bridge plus candidate-install-smoke, then routes to challenge, proof-pack, market-copy, and traction-proof; MCP equivalent: current_install_command |
python -m cyberhuatuo candidate-install-smoke --username <username> --framework <framework> --release-tag <tag> --target-contributors <N> | Candidate Install Smoke Gate: creates a disposable venv, installs the exact public Git tag with pip Direct URL syntax, verifies installed version, console command, Install Decision Surface, and proof/invite route, cleans up on success, and retains the temp dir on failure; it is not run automatically inside lightweight CI and does not close the PyPI install loop |
first-invite --username <username> --invitee <github> --framework <framework> --release-tag <tag> --target-contributors <N> --source-url <https-url> | First Contributor Invite Pack for targeting one external contributor with First Soul Ring issue URLs, record-session / challenge commands, proof rechecks, and no fake progress |
market-ready --no-remote / market-ready --remote --strict-remote | Marketplace Readiness Gate with a first-screen Flywheel Closure Verdict (closed, not closed, or unverified), Ready gates / total gate counts, a Launch Closure Checklist, and a First Public Proof Kit for PyPI, Claude, Codex, MCP, version sync, IssueOps files, release trigger or protected publish fallback, registry proof, a Git Tag Candidate Install Bridge for stale PyPI recovery, public launch blockers, proof Issue URLs, Community Challenge Pack, ledger commands, a Public Release Operator Runbook, and copy-ready proof copy |
launch-assets [--username <username> --framework <framework> --release-tag <tag> --target-contributors <N>] | Local Launch Asset Audit for issue forms, comment-only workflows, package metadata, plugin manifests, MCPB assets, a Full Public Growth Release Bundle, Dirty Worktree Release Coverage, and exact review-only git add commands. When release context is supplied, the Public Release Operator Runbook preserves the same release/user/target context; it does not stage files, publish releases, upload to PyPI, mutate remotes, or claim traction |
proof-pack --username <username> --framework <framework> --release-tag <tag> --target-contributors <N> | No-Network First Public Proof Pack with Growth/Share/Bounty Issue URLs, created-Issue placeholders, Community Challenge Pack for Tournament/Mentor/Sect/Season routes, a Protected Publish Fallback command, Git Tag Candidate Install Bridge plus Candidate Install Smoke Gate, Install Decision Surface / current_install_command route, Growth and Bounty record-return CLI ledger commands, Share record-share attribution, an External Contributor Path with pasted Recommended Install / first-session command / first contribution command / Share Proof Issue URL / contributor-counting rule, recheck commands, and copy-ready proof text; it does not fetch public metrics, close the PyPI install loop, or invent traction |
market-copy --username <username> --framework <framework> --release-tag <tag> --target-contributors <N> | Marketplace Submission Copy Pack with PyPI listing copy, Claude MCPB listing copy, Codex plugin listing copy, GitHub Release post, public proof CTA, Community Challenge Pack, Git Tag Candidate Install Bridge plus Candidate Install Smoke Gate, project URLs, install/validation commands, Marketplace Submission Ledger commands, and non-fabrication rules for market submission |
record-market --username <username> --framework <framework> --channel <channel> --status <status> --submission-url <https-url> --release-tag <tag> | Record a reviewable public URL for PyPI, Claude Code, Claude Desktop MCPB, Codex, GitHub Release, or agent-marketplace submission evidence into the local Marketplace Submission Ledger |
market-status --username <username> --framework <framework> --release-tag <tag> | Report latest Marketplace Submission Ledger status by channel with missing record-market commands and traction-proof rechecks |
flywheel --username <username> --framework <framework> --sect <sect-name> --members <members...> | Soul Ring Growth Flywheel with real bottleneck, next commands, and missing metric disclosure |
ladder <username> --framework <framework> | ๐ฎ Soul Ring breakthrough ladder โ real next gate, full thresholds, and copy-ready chase commands |
evidence <username> --framework <framework> --amount <N> --source-url <https-url> | Soul Ring Evidence Card with append-only reviewable public evidence for high-realm gates; progress, ranks, rewards, downloads, and contributors are not invented |
ranking <username> | ๐ ไธชไบบๆๅ โ title, rank & soul rings |
leaderboard | ๐ ๅ จ็ๅฐ็ฅๆฆ โ top alchemists ranked |
card <username> | ๐ ๅไบซๅก็ โ cyberpunk cultivation archive |
badge <username> | ๐ฎ GitHub Profile badge kit โ pasteable soul-ring badge |
visual <username> --framework <framework> --output-dir <dir> | Soul Ring Visual Artifact โ writes a chat-visible animated GIF plus PNG fallback and returns Markdown image embeds for Codex, Claude, and other agent chats |
quest <username> --framework <framework> | ๐ฎ Soul Ring quest board โ mine, upload, share |
campaign <username> --framework <framework> | ๐ฎ Soul Ring campaign pack โ GitHub Profile, X/Weibo, PR comment & agent prompt |
duel <challenger> <rival> --framework <framework> | ๐ฎ Soul Ring duel card โ invite a real GitHub user into a verified contribution race |
mentor <mentor> <apprentice> --framework <framework> | ๐ฎ Soul Ring mentor pact โ turn a senior contributor into a first-ring onboarding guide |
arena <username> --top-n <N> | ๐ฎ Soul Ring arena snapshot โ shareable real leaderboard with your next rival |
season --framework <framework> --top-n <N> | ๐ฎ Soul Ring season board โ current real leaderboard event pack with champion, next chase, and share copy |
sect <sect-name> <members...> --framework <framework> | ๐ฎ Soul Ring sect card โ aggregate real GitHub members into a shareable team banner |
sect-recruit <sect-name> <members...> --invitee <github> --framework <framework> | ๐ฎ Soul Ring sect recruitment scroll โ invite one real GitHub user with an admission trial and join command |
sect-quest <sect-name> <members...> --framework <framework> | ๐ฎ Soul Ring sect quest board โ assign real next actions across team members |
sect-hall <sect-name> <members...> --framework <framework> | ๐ฎ Soul Ring sect hall โ assign Outer / Inner / Core / Deacon / Elder posts from real member counts |
sect-duel <challenger-sect> <rival-sect> --challenger-members <members...> --rival-members <members...> --framework <framework> | ๐ฎ Soul Ring sect duel card โ compare two real GitHub teams and invite a team challenge |
sect-arena --sect <sect-name> <members...> --sect <sect-name> <members...> --framework <framework> | ๐ฎ Soul Ring sect arena snapshot โ rank multiple real GitHub teams and publish the next chase |
record | ๐ ่ฏ็ๆกฃๆก โ diagnosis history & follow-ups |
subscribe | ๐ฌ ๆกๆถ่ฎข้ โ get notified about new prescriptions |
| โ๏ธ Contribution / ็ฅ่ฏ่ดก็ฎ | |
save | ๐ฅ ไฟๅญ่ฏๆนๅฐๆฌๅฐ |
upload | ๐ ไธไผ ่ฏๆนๅฐ GitHub (้ GITHUB_TOKEN) |
mine search/batch | โ๏ธ GitHub Issues ๆท้ๆ็ผ |
| ๐ Server / ๆๅก | |
serve | ๐ ๅฏๅจ Web ่ฏๆญๆๅก |
rebuild | ๐ ้ๅปบๅ้็ดขๅผ |
Run cyberhuatuo visual <username> --framework <framework> in the CLI or call MCP soul_ring_visual_artifact to generate a Markdown-rendered GIF plus PNG fallback. The artifact uses current real contribution data and does not invent ranks, downloads, retention, referrals, or rewards.
๐ก Tip: Run
cyberhuatuo <command> --helpfor detailed usage of any command.๐ก ๆ็คบ: ่ฟ่ก
cyberhuatuo <ๅฝไปค> --helpๆฅ็ไปปไฝๅฝไปค็่ฏฆ็ป็จๆณใ
Install once. Every AI editor becomes a CyberHuaTuo clinic.
ไธๆฌกๅฎ่ฃ ๏ผๆๆ AI ็ผ่พๅจ้ฝๅๆ่ตๅๅไฝ่ฏๆใ
python -m pip install --upgrade "cyberhuatuo @ git+https://github.com/JinNing6/CyberHuaTuo-Plugin.git@v0.2.5"
python -m pip install --upgrade cyberhuatuo # after PyPI latest matches v0.2.5
Candidate Git tag install should pass
python -m cyberhuatuo candidate-install-smokebefore outside contributor invites; after PyPI latest-version proof is current, use the registry command. Brand Matrix aliases are for the registry-current path only.
Add this to your AI tool's MCP config (Claude Desktop / Cursor / VS Code / Gemini CLI):
{
"mcpServers": {
"cyberhuatuo": {
"command": "uvx",
"args": ["--from", "cyberhuatuo", "cyberhuatuo-mcp"]
}
}
}
uvxauto-installs from PyPI and starts the MCP Server โ zero manual setup. For GitHub latest dev version, use:"args": ["--from", "git+https://github.com/JinNing6/CyberHuaTuo-Plugin", "cyberhuatuo-mcp"]
This repository is plugin-ready for both major coding-agent hosts:
.codex-plugin/plugin.json points to ./skills/ and ./.mcp.json..claude-plugin/plugin.json points to the same ./skills/ and ./.mcp.json..agents/plugins/marketplace.json lets users add this GitHub repository as a Codex plugin marketplace..claude-plugin/marketplace.json lets users add this GitHub repository as a Claude Code plugin marketplace.Marketplace install:
claude plugin marketplace add JinNing6/CyberHuaTuo-Plugin
claude plugin install cyberhuatuo-plugin@cyberhuatuo
codex plugin marketplace add JinNing6/CyberHuaTuo-Plugin
For local Claude Code testing from the repository root:
claude --plugin-dir .
The release plan is tracked in docs/MARKETPLACE_RELEASE.md:
cyberhuatuo already exists on PyPI, so this repository must be added as an additional Trusted Publisher, then release a version newer than 0.1.0 through .github/workflows/publish-pypi.yml. The workflow supports release.published and a protected manual workflow_dispatch release_tag fallback; both paths require an existing v* tag, verify the tag is reachable from origin/main, verify the package version matches the tag, and publish with OIDC instead of PYPI_TOKEN..claude-plugin/plugin.json and .claude-plugin/marketplace.json, submit to Anthropic's official directory after claude plugin validate ., then package Claude Desktop through claude-desktop/manifest.json plus .github/workflows/package-claude-mcpb.yml for MCPB / Connectors Directory submission..codex-plugin/plugin.json, .agents/plugins/marketplace.json, .mcp.json, and the PyPI uvx --from cyberhuatuo cyberhuatuo-mcp entrypoint stable for workspace rollout.| Tool | Description |
|---|---|
| ๐ฉบ Core Diagnosis / ๆ ธๅฟ่ฏๆญ | |
diagnose | ๐ฉบ ๆ้ป้ฎๅ AI diagnosis โ searches both ๐ permanent expert + โก temporary intern prescriptions |
search_knowledge_base | ๐ Dual-layer semantic search (ChromaDB + GitHub Issues) |
security_checkup | ๐ก๏ธ Six-meridian security audit on your Agent code |
fetch_official_docs | ๐ Real-time official docs via Context7 (50+ frameworks) |
| โ๏ธ Knowledge & Contribution / ็ฅ่ฏ่ดก็ฎ | |
mine_github_issue | โ๏ธ Extract & refine GitHub Issues into standard cases |
save_prescription | ๐ฅ Save prescriptions locally + auto-sync to GitHub |
upload_prescription | ๐ Upload prescriptions โ auto-creates GitHub Issue (โก temporary intern), CI promotes to ๐ permanent expert |
prescription_eval |
Source-derived launch command. Check the maintainerโs required arguments and credentials before running:
uvx cyberhuatuoMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-jinning6-cyberhuatuo": {
"command": "uvx",
"args": [
"cyberhuatuo"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the clientโs tool list, then try a read-only example from its documentation.
Claude Desktop setup referencecyberhuatuopypiCyberHuaTuo works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.