CyberHuaTuo

Gold-first AI-agent traceback diagnosis, exact fixes, verification, and reusable prescriptions.

AI & MLPythonv0.2.5

๐Ÿšจ Emergency Room: Cure First, Refine Later

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.


Agent Action Guard: Diagnose Before The Agent Touches Your Disk

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
Cyber Alchemist โ€” Soul Ring Cultivation (Male)

๐Ÿ”ฅ ไธ‡ไธนๅฝ’ๅ…ƒ ยท ไปฅ็ซ็‚ผ้“
Soul Ring Cultivation โ€” PyTorch ยท LangChain ยท TensorFlow
ๆฏไธ€็Žฏ้ญ‚็Žฏ๏ผŒ้ƒฝๆ˜ฏไฝ ๅœจๆŸไธชๆŠ€ๆœฏ้ข†ๅŸŸ็š„ๅƒ้”ค็™พ็‚ผใ€‚

Cyber Alchemist โ€” Soul Ring Cultivation (Female)

โœจ ็™พ่‰้€š็ฅž ยท ไธ‡ๆณ•ๅฝ’ๅฎ—
Soul Ring Cultivation โ€” CrewAI ยท OpenAI ยท HuggingFace
ๆŽŒๆก็š„ๆก†ๆžถ่ถŠๅคš๏ผŒไฝ ็š„ๅ…‰่Š’่ถŠ็››ใ€‚

Soul Ring Hologram โ€” Dynamic Differential Rotation

๐Ÿ”ฎ ้ญ‚็Žฏๅ…จๆฏๆŠ•ๅฝฑ ยท ๅทฎ้€Ÿๆ—‹่ฝฌ
Soul Ring Hologram โ€” Each Ring Rotates at Its Own Speed
็™ฝ็Žฏ โ†’ ้ป„็Žฏ โ†’ ็ดซ็Žฏ โ†’ ้ป‘็Žฏ โ†’ ็บข็Žฏโ€”โ€”ไฝ ็š„้ญ‚็Žฏ๏ผŒ็”ฑไฝ ็š„่ดก็Œฎ้“ธๅฐฑใ€‚

๐Ÿ“– ็ฌฌไบŒ็ซ  ยท ้ฃžๅ‡ โ€” Chapter II: Ascension
Alchemist Ascension โ€” Pill Emperor Tribulation

๐ŸŒŸ ไธนๅธ้ฃžๅ‡ ยท ไธ‡ไธนๆœๅฎ—
When a Pill Emperor Ascends, All Robots Celebrate
ๅฝ“ไฝ ็š„่ฏๆ–นๆ‹ฏๆ•‘ไบ†ไธ€ๅƒไธช AIโ€”โ€”ๆœบๅ™จไบบไปฌไผšไธบไฝ ๆฌขๅ‘ผใ€‚

๐Ÿ“– ็ฌฌไธ‰็ซ  ยท ๆตŽไธ– โ€” Chapter III: Healing the World
No AI Left Behind

โšก ไธๆ”พๅผƒไปปไฝ•ไธ€ไธช AI
No AI Left Behind โ€” Every Error Deserves a Cure

Emergency Rescue

๐Ÿšจ ้›จๅคœๆ€ฅๆ•‘ ยท ๅˆ†็ง’ๅฟ…ไบ‰
Emergency Rescue โ€” 3 Seconds, Not 3 Hours

Open Surgery

๐Ÿซ€ ๅผ€่†›็ ด่‚š ยท ็›ดๅ‡ป็—…็ถ
Open Surgery โ€” Root Cause, Not Band-Aid

Recovery Ward

๐Ÿฅ ๅบทๅค็—…ๆˆฟ ยท ๆปก่ก€ๅคๆดป
Recovery Ward โ€” Back to Full Health

Cyber Alchemy Lab

๐Ÿงช ่ต›ๅš็‚ผไธน ยท ๅฆ™ๆ‰‹ๅ›žๆ˜ฅ
Cyber Alchemy Lab โ€” Where Ancient Elixirs Meet Modern Frameworks

Reinforcements Arrive

๐ŸŒ ๆดๅ†›้ฉพๅˆฐ ยท ๅๆ–นๆฅๆ•‘
Reinforcements Arrive โ€” The Community Answers the Call


๐Ÿฅ Three Departments, One Clinic

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.


๐Ÿšจ Emergency Room โ€” Diagnose in Seconds

# 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.

ไธ‰็ง’้’Ÿใ€‚ ไธๆ˜ฏไธ‰ๅฐๆ—ถใ€‚่ฟ™ๅฐฑๆ˜ฏๅŒบๅˆซใ€‚


๐ŸŒฟ Wellness Clinic โ€” Nourish Before It Breaks

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?


๐Ÿฆ  Epidemic Alert โ€” The AI Pandemic Nobody Talks About

็–ซๆƒ…้€šๆŠฅ โ€” ๆฒกๆœ‰ไบบ่ฐˆ่ฎบ็š„ AI ๅคงๆต่กŒ

Every day, thousands of AI systems go into production already infected:

  • ๐Ÿ”“ No sandbox โ€” agent code executes with full system privileges
  • ๐Ÿ”‘ Hardcoded secrets โ€” API keys sitting in plain text, spreading like a virus
  • ๐Ÿง  No prompt defense โ€” one injection away from a full outbreak
  • ๐Ÿ“Š No observability โ€” zero symptom monitoring, blind until collapse

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.


๐Ÿค” Why CyberHuaTuo?

๐Ÿฉบ 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

๐Ÿ”ฎ How It Works

ๆœ›้—ป้—ฎๅˆ‡ โ€” The 2,000-Year-Old Diagnostic Protocol

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:

  • ๐ŸŽฏ Root cause โ€” not just what to do, but why it broke
  • ๐Ÿ”ง Copy-paste fix โ€” step-by-step with ready-to-run code
  • ๐Ÿ“Œ Version-locked โ€” verified for your exact framework version
  • ๐Ÿ”„ Cross-framework map โ€” "LangChain issue? Here's the LlamaIndex equivalent."
  • ๐Ÿ“š Official docs โ€” pulled from framework's latest documentation via Context7
  • โœ… Community-verified โ€” tested, upvoted, and marked "Cured โœ…"

๐Ÿ“‹ What We Treat โ€” Not Just Agents

If it has AI in it, CyberHuaTuo sees it. No framework left behind.

๐Ÿค– AI Agent Frameworks

FrameworkCasesStatusJoin ๐Ÿ‘‡
LangChain10+๐ŸŸข LiveAdd a case โ†’
MCP (Anthropic)5+๐ŸŸข LiveAdd a case โ†’
CrewAI5+๐ŸŸข LiveAdd a case โ†’
LlamaIndexโ€”๐ŸŸก Accepting PRsBe the first โ†’
OpenAI Agents SDKโ€”๐ŸŸก Accepting PRsBe the first โ†’
AutoGenโ€”๐ŸŸก Accepting PRsBe the first โ†’
DSPyโ€”๐Ÿ”ต PlannedVote โ†’

๐Ÿง  AI / ML / Deep Learning

TechnologyCasesStatusJoin ๐Ÿ‘‡
PyTorchโ€”๐ŸŸก Accepting PRsBe the first โ†’
Transformers (HuggingFace)โ€”๐ŸŸก Accepting PRsBe the first โ†’
TensorFlowโ€”๐ŸŸก Accepting PRsBe the first โ†’

๐Ÿ—๏ธ Platform & Custom Agents

PlatformCasesStatusJoin ๐Ÿ‘‡
GPTs / Coze / Difyโ€”๐ŸŸก Accepting PRsBe the first โ†’
Custom-built Agentsโ€”๐ŸŸก Accepting PRsBe the first โ†’

๐ŸŒฟ Nourishing Prescriptions (ๅ…ป็”Ÿ่ฏๆ–น)

CategoryCasesStatusJoin ๐Ÿ‘‡
๐Ÿ›ก๏ธ Security Sandbox2+๐ŸŸข LiveAdd โ†’
๐Ÿ”’ Security Hardening3+๐ŸŸข LiveAdd โ†’
๐Ÿ”— Supply Chain Audit1๐ŸŸข LiveAdd โ†’
โšก Performance Tuningโ€”๐ŸŸก Accepting PRsBe the first โ†’

Every framework starts with one case. Every nourishing recipe starts with one insight. Yours could be the first.


๐Ÿš€ Quick Start

Prerequisites

  • Python 3.10+
  • (Optional) LLM API Key for AI-powered diagnosis (OpenAI / Anthropic / DeepSeek / Gemini / Ollama)

Option A: One-Click Launch

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

Option B: Manual Setup

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

CLI Commands โ€” Two Modes, One Engine

CyberHuaTuo supports two access modes โ€” pick the one that fits your workflow:

ModeEntry PointFor
โŒจ๏ธ CLIcyberhuatuo <command>Developers using terminal directly
๐Ÿ”Œ MCPcyberhuatuo-mcpAI 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 ๅ‘ฝไปคใ€‚ ๅŒไธ€ไธชๅผ•ๆ“Ž๏ผŒๅŒไธ€ไธช็Ÿฅ่ฏ†ๅบ“๏ผŒไธๅŒ็š„็•Œ้ขใ€‚

Configuration

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.


๐Ÿ“Š Epidemic Report โ€” Live Intelligence

A living dashboard tracking what's breaking across the AI ecosystem right now:

  • ๐Ÿ”ฅ Trending issues and their cure rates
  • ๐Ÿ—บ๏ธ Heatmap of problems across frameworks
  • ๐Ÿ“ˆ Framework health scores โ€” know before you adopt
  • โ›๏ธ Issue mining โ€” real-time extraction from GitHub

๐Ÿ› ๏ธ Tech Stack

LayerTechnology
CLIPython argparse (marketplace, MCP, and soul-ring subcommands; zero extra dependencies)
MCP ServerFastMCP (stdio transport for AI editor integration)
BackendPython ยท FastAPI ยท Uvicorn
FrontendJinja2 Templates (server-rendered)
Vector DBChromaDB (embedded, zero-config)
Ephemeral LayerGitHub Issues API (dual-layer prescription search)
LLM GatewayLiteLLM (OpenAI / Anthropic / DeepSeek / Gemini / Ollama)
Doc RetrievalContext7 API (real-time official framework docs)
Security EngineSix-Meridian Audit (AI-powered code analysis)
GitHub BotGitHub Actions + lightweight text matching
CI/CDGitHub Actions (auto-promotion, validation, labeling)

๐Ÿค– GitHub Bot โ€” Zero-Friction Diagnosis

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 โ†’              โ”‚    โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

How it works

TriggerAction
๐Ÿ†• New Issue openedAuto-match prescriptions from the knowledge base
๐Ÿ’ฌ @CyberHuaTuo in any commentOn-demand diagnosis

Install on your repo (3 minutes)

# 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

๐Ÿ“– Full installation guide โ†’

The Flywheel

  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. ๐Ÿš€


โŒจ๏ธ CLI โ€” Terminal Power at Your Fingertips

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

๐ŸŽฌ Terminal Animations โ€” ็ปˆ็ซฏๅŠจ็”ป็‰นๆ•ˆ

โŒจ๏ธ Available CLI Commands

CommandDescription
๐Ÿฉบ 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-snapshotOpt-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-remoteMarketplace 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๐Ÿ”„ ้‡ๅปบๅ‘้‡็ดขๅผ•

Soul Ring Visual Route

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> --help for detailed usage of any command.

๐Ÿ’ก ๆ็คบ: ่ฟ่กŒ cyberhuatuo <ๅ‘ฝไปค> --help ๆŸฅ็œ‹ไปปไฝ•ๅ‘ฝไปค็š„่ฏฆ็ป†็”จๆณ•ใ€‚


๐Ÿ”Œ MCP Server โ€” AI Editor Integration

Install once. Every AI editor becomes a CyberHuaTuo clinic.

ไธ€ๆฌกๅฎ‰่ฃ…๏ผŒๆ‰€ๆœ‰ AI ็ผ–่พ‘ๅ™จ้ƒฝๅ˜ๆˆ่ต›ๅšๅŽไฝ—่ฏŠๆ‰€ใ€‚

โšก Install โ€” One Command

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-smoke before outside contributor invites; after PyPI latest-version proof is current, use the registry command. Brand Matrix aliases are for the registry-current path only.

๐Ÿ”— Connect to Your AI Editor

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"]
    }
  }
}

uvx auto-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"]

๐Ÿงฉ Plugin Manifests โ€” Codex + Claude Code

This repository is plugin-ready for both major coding-agent hosts:

  • Codex: .codex-plugin/plugin.json points to ./skills/ and ./.mcp.json.
  • Claude Code: .claude-plugin/plugin.json points to the same ./skills/ and ./.mcp.json.
  • Codex marketplace catalog: .agents/plugins/marketplace.json lets users add this GitHub repository as a Codex plugin marketplace.
  • Claude Code marketplace catalog: .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 .

๐Ÿš€ Marketplace Release Path

The release plan is tracked in docs/MARKETPLACE_RELEASE.md:

  • PyPI Trusted Publishing: 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 markets: ship Claude Code through .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 directory: keep .codex-plugin/plugin.json, .agents/plugins/marketplace.json, .mcp.json, and the PyPI uvx --from cyberhuatuo cyberhuatuo-mcp entrypoint stable for workspace rollout.

๐Ÿฉบ Available MCP Tools

ToolDescription
๐Ÿฉบ 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

Installation

Source-derived launch command. Check the maintainerโ€™s required arguments and credentials before running:

bash
uvx cyberhuatuo

Set up in your AI client

Merge 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.

json
{
  "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 reference

Package

cyberhuatuopypi

Compatible MCP Clients

CyberHuaTuo 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.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.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.

Learn More