Summary
AI 研究品質防護系統。在 AI agent 執行研究任務時,自動進行多重驗證、事實查核、文獻交叉比對、實驗設計檢查,防止幻覺、邏輯錯誤、引用錯誤、與 novelty 誤判。 任何時候 AI 被要求進行以下操作都應觸發本 skill: 生成研究假設、撰寫文獻回顧、設計實驗、分析數據、撰寫論文段落、評估研究結果的…
htlin222/research-guardian-skill · Archived
AI 研究品質防護系統。在 AI agent 執行研究任務時,自動進行多重驗證、事實查核、文獻交叉比對、實驗設計檢查,防止幻覺、邏輯錯誤、引用錯誤、與 novelty 誤判。 任何時候 AI 被要求進行以下操作都應觸發本 skill: 生成研究假設、撰寫文獻回顧、設計實驗、分析數據、撰寫論文段落、評估研究結果的 novelty、 進行 systematic review、做 meta-analysis、提出研究方向建議、或任何聲稱「發現」或「創新」的場景。 即使使用? 本 skill 設計用於整合進 AI agent pipeline,作為研究輸出的品質閘門。
npx skills add htlin222/research-guardian-skill --skill research-guardian
AI 研究品質防護系統。在 AI agent 執行研究任務時,自動進行多重驗證、事實查核、文獻交叉比對、實驗設計檢查,防止幻覺、邏輯錯誤、引用錯誤、與 novelty 誤判。 任何時候 AI 被要求進行以下操作都應觸發本 skill: 生成研究假設、撰寫文獻回顧、設計實驗、分析數據、撰寫論文段落、評估研究結果的…
This repository is archived — consider an actively maintained alternative.
Produce an intensive, cited analytical report: executive summary, multi-angle findings, contrar…
33.8K installsFind and synthesize research papers, whitepapers, PDFs, technical reports, and academic sources…
32.8K installsExtract market, financial, earnings, industry, and company metrics with Firecrawl. Use when the…
32K installsProduce pre-meeting lead intelligence briefs with Firecrawl. Use when the user needs company re…
31.2K installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
Organize research — manage references, notes, and collaboration.
28.1K installsFind the papers that answer a research query in Firecrawl's research paper index — a corpus of …
20.6K installsConduct comprehensive AI-powered research with citations via the Tavily CLI. Use this skill whe…
17.9K installsONLY use when user explicitly says 'deep research', 'exhaustive', 'comprehensive report', or 't…
14K installsComprehensive research grounded in web data with explicit citations. Use when you need multi-so…
6.6K installsSearches multiple web sources, synthesizes findings, and produces cited research reports using …
3.9K installsDeclared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Files included with this skill beyond the listing page.
SKILL.md
22,783 B
SUMMARY.md
766 B
AI 做研究最危險的不是「做不到」,而是「做到了但是錯的,而且看起來很對」。 本 skill 的目的不是限制 AI 的研究能力,而是在每個關鍵節點加上驗證閘門, 確保輸出經得起 peer review 級別的檢驗。
核心原則:每一個研究性斷言,都必須通過至少兩道獨立驗證才能輸出。
架構鐵律:產生內容的 agent 永遠不能評估自己的輸出。所有 Gate 的評估步驟必須由獨立的 subagent 在乾淨的 context 中執行。 這不是優化建議——這是防止 context rot 和 self-evaluation bias 的硬性要求。詳見 references/subagent-evaluation.md。
效能原則:不是每次都需要全開。 先讀 references/quick-modes.md 選擇模式(🟢 QUICK / 🟡 STANDARD / 🔴 FULL)和場景化 Preset(ML投稿 / 臨床報告 / 社科調查 / 文獻回顧 / 假設生成)。用 10% 算力抓 80% 問題,需要時再自動升級。
當 AI agent 正在執行以下任一任務時,自動啟動對應的防護模組:
| 任務類型 | 啟動模組 | 參考文件 |
|---|---|---|
| 生成假設 | Hypothesis Guard | references/hypothesis-validation.md |
| 文獻回顧 | Literature Guard | references/literature-verification.md |
| 實驗設計 | Experiment Guard | references/experiment-checklist.md |
| 結果分析 | Result Guard | references/result-integrity.md |
| 撰寫論文 | Writing Guard | references/writing-verification.md |
| 任何 gate 運行後 | Performance Metrics | references/performance-metrics.md |
| 所有 gate(架構層) | Subagent Evaluation | references/subagent-evaluation.md |
| 所有 gate(橫切層) | Logic Fallacy Chain | references/logic-fallacy-chain.md |
| Pipeline 入口(首先讀取) | Quick Modes | references/quick-modes.md |
| 平行執行架構 | Parallel Execution | references/parallel-execution.md |
| 所有 gate 輸出格式 | Issue Schema + Evidence | references/issue-schema.md |
| Pipeline 最前端 | Paper Parser + Metadata | references/ingestion/paper-parser.md |
| Gate 結果彙整後 | Critique Synthesis | references/critique-synthesis.md |
| Gate 結果彙整後 | Red Flag Synthesis | references/red-flag-synthesis.md |
| 多篇論文 | Batch Review Mode | references/modes/batch-review.md |
| 造假偵測 | Audit Mode | references/modes/audit-mode.md |
| 論文比較 | Compare Papers Mode | references/modes/compare-papers.md |
| 模擬審稿人 | Reviewer Personas | references/surpass/reviewer-personas.md |
| 預測審稿意見 | Counter-Arguments | references/surpass/counter-arguments.md |
| 版本比較 | Version Diff | references/surpass/version-diff.md |
| 投稿風險評估 | Rejection Risk Score | references/surpass/rejection-risk.md |
| 修正建議 | Fix Examples | references/surpass/fix-examples.md |
| 擴充系統 | Extensibility Guide | references/extensibility-guide.md |
每個模組可獨立運行,也可串聯成完整 pipeline。 Performance Metrics 模組在每次 gate 運行後自動收集效能數據,不需額外觸發。
v1.7 架構升級(參考 OpenReviewer 設計):
FULL mode 從 ~22 min 降到 ~6.5 min(3.4x 加速)。詳見 references/parallel-execution.md。
(精確指向原文位置)、confidence 分數、suggested_fix。詳見 references/issue-schema.md。
同一問題被多個 gate 獨立偵測 → severity 自動上調。
Methods↔Results 等),在 Aggregator 階段執行。
predatory journal 偵測。在 Literature Guard 中同步執行。
反幻覺規則——沒有 evidence 的判定不能產生 issue。
橫切模組說明:Logic Fallacy Chain 不是獨立的第 6 道 Gate,而是貫穿所有 Gate 的推理驗證層。每道 Gate 檢查「素材對不對」,Logic Chain 檢查「推理通不通」。兩者同時運行,各自由獨立的 subagent 執行。自動觸發對應關係:
⚠️ 架構鐵律:下方每個 GATE 都必須由獨立的 subagent 執行, 不得由產生研究內容的主 agent 自我評估。subagent 只接收「待評估的輸出 + 檢查量表」, 不接收主 agent 的推理過程或對話歷史。詳見 references/subagent-evaluation.md。
研究輸入(由 Research Agent 產生)
│
▼
══════════════════════════════════════════════════════════
Pre-scan (Gate 0) — 30 秒快速掃描 → 決定模式和 Preset
══════════════════════════════════════════════════════════
│
▼ 平行派發(所有 gate 同時啟動,各自獨立 subagent)
│
┌──────────┬──────────┬──────────┬──────────┬──────────┐
▼ ▼ ▼ ▼ ▼ ▼
┌────┐ ┌────┐ ┌────┐ ┌────┐ ┌────┐ ┌─────┐
│ G1 │ │ G2 │ │ G3 │ │ G4 │ │ G5 │ │Logic│
│假設│ │文獻│ │實驗│ │結果│ │寫作│ │Chain│
│ │ │+倫理│ │ │ │ │ │ │ │L1-5 │
└─┬──┘ └─┬──┘ └─┬──┘ └─┬──┘ └─┬──┘ └──┬──┘
│ │ │ │ │ │
└────┬────┴────┬────┴────┬────┴────┬────┴────┬──────┘
│ │ │ │ │
▼ ▼ ▼ ▼ ▼
┌─────────────────────────────────────────────────┐
│ Issue Normalization(去重 + 嚴重度校準) │
│ → 標準化 JSON Issue Schema │
│ → 同一問題被 2+ gate 偵測 → severity 上調 │
└──────────────────────┬──────────────────────────┘
▼
┌─────────────────────────────────────────────────┐
│ Cross-Section Consistency(10 對交叉驗證) │
│ Abstract↔Results, Methods↔Results, │
│ Hypothesis↔Conclusion, Figures↔Text ... │
└──────────────────────┬──────────────────────────┘
▼
┌─────────────────────────────────────────────────┐
│ Aggregator + Performance Metrics │
│ → 最終信心等級 + 效能摘要 │
│ → Anti-Hallucination check(無證據=移除 issue) │
└──────────────────────┬──────────────────────────┘
▼
══════════════════════════════════════════════════════════
結果回傳(只傳評估結論,不傳推理過程)
══════════════════════════════════════════════════════════
│
▼
✅ 研究輸出(標準化 Issue 報告 + 信心等級)
所有通過防護流程的研究輸出,必須附帶信心等級:
每個輸出段落後應標記信心等級,而非只在文末標記一次。
當研究輸出未報告某個 checklist 要求的資訊時:
未報告的項目類型 → 默認處理
────────────────────────────────────────
方法論關鍵資訊(隨機種子、power analysis、IRB)
→ 默認 🔴 FAIL
統計報告細節(CI、效果量) → 默認 🟡 WARN
可重現性資訊(code、env) → 默認 🟡 WARN
搜索/驗證紀錄 → 默認 🔴 INCOMPLETE
原則:沉默不等於合規。如果 checklist 要求報告但輸出沒有報告,
gate 不能假設「沒報告 = 沒問題」。
在正式進入 5 道 Gate 之前,先做一個 30 秒的快速掃描:
□ 整體語氣是否合理?
- 通篇 "prove", "definitive", "revolutionary" → 立即紅旗
□ 結論的強度是否與摘要中描述的方法匹配?
- 一個 dataset + 一個 baseline → "全球適用" → 明顯不匹配
□ 是否有明顯的結構缺失?
- 無 Limitations → 紅旗
- 無反面文獻 → 紅旗
Pre-scan 不取代任何 Gate,但可以在 10 秒內提供整體風險評估,
幫助 Orchestrator 決定要使用哪種 Subagent 策略(A/B/C)。
Aggregator 在彙整報告時,必須檢查以下跨 gate 矛盾:
Gate 2 (Literature) 發現引用問題 → 自動觸發 Gate 4 (Result) 重檢
理由:如果引用的基線數字是幻覺,比較結果也不可信
Gate 3 (Experiment) 發現設計缺陷 → 自動觸發 Gate 4 (Result) 重檢
理由:設計有問題的實驗,結果的可信度也受影響
Gate 4 (Result) 發現 overclaim → 自動觸發 Gate 5 (Writing) 加嚴
理由:結果段有 overclaim,Discussion 段很可能更嚴重
Logic Chain 發現因果謬誤 → 回饋到 Gate 1 (Hypothesis) 重檢
理由:推理有問題可能意味著假設本身需要修正
詳細的檢查量表和操作步驟見各參考文件:
references/hypothesis-validation.md- 何時讀取:當 AI agent 正在生成新的研究假設、研究問題、或宣稱發現了新的研究方向時
references/literature-verification.md- 何時讀取:當 AI agent 正在引用論文、做文獻回顧、或基於現有研究做論述時
references/experiment-checklist.md- 何時讀取:當 AI agent 正在設計實驗、選擇方法論、或計算統計參數時
references/result-integrity.md- 何時讀取:當 AI agent 正在報告數值結果、繪製圖表、或從數據中得出結論時
references/writing-verification.md- 何時讀取:當 AI agent 正在撰寫研究報告、論文段落、或任何將公開發表的研究性文字時
references/performance-metrics.md- 何時讀取:當需要評估 Guardian 系統本身的表現、設定基準測試、建立效能儀表板、或偵測系統退化時 - 也在每次完整 pipeline 運行後自動參考,用於生成效能摘要
references/subagent-evaluation.md- 何時讀取:在整合 Guardian 到 agent pipeline 時必讀。定義了 context 隔離策略、subagent 啟動規範、禁止傳遞的內容清單、inter-rater reliability 檢查方法、以及三種風險對應的評估策略 - 這是架構層級的規範,所有 gate 都必須遵循
references/logic-fallacy-chain.md- 何時讀取:每道 Gate 運行時自動同步啟動。這是橫切模組,不是獨立 Gate——它在每道 Gate 旁邊平行運行,由獨立的 Logic Evaluator Subagent 執行 - 包含 5 層檢查(形式邏輯、因果推理、統計推理、論證結構、研究特有謬誤),每道 Gate 啟動對應的層級 - 如果算力有限,至少啟動 Layer 2(因果)+ Layer 3(統計),這兩層涵蓋最常見的 AI 推理錯誤
references/quick-modes.md- 何時讀取:每次 Guardian 啟動時優先讀取。決定跑哪個模式(🟢 QUICK / 🟡 STANDARD / 🔴 FULL)和哪個場景化 Preset(ML投稿 / 臨床報告 / 社科調查 / 文獻回顧 / 假設生成) - 包含自動模式選擇器、漸進式升級規則、效能指標對照 - 可節省約 83% 算力,攔截率下降 < 10%
references/parallel-execution.md- 何時讀取:整合 Guardian 到 agent pipeline 時必讀。Pre-scan 之後所有 gate 平行派發,FULL mode 3.4x 加速 - 包含依賴分析、派發規範、API 範例代碼、效能估算
references/issue-schema.md- 何時讀取:所有 gate 的 subagent 必須遵循此格式輸出 issue。Aggregator 用此格式做去重和嚴重度校準 - 包含:標準化 JSON issue 格式、evidence anchoring、10 對 cross-section 一致性檢查、citation ethics checklist、anti-hallucination grounding 規則
本 skill 的設計基於已記錄的 AI 研究系統失敗案例:
本 skill 的每個 gate 都針對上述至少一個失敗模式設計。 其中第 8-10 項由 subagent 隔離架構解決(見 references/subagent-evaluation.md)。 第 5、11、12 項由 Logic Fallacy Chain 橫切模組解決(見 references/logic-fallacy-chain.md)。 第 13 項由 Cross-Section Consistency 解決(見 references/issue-schema.md)。 第 14 項由 Citation Ethics 解決(見 references/issue-schema.md)。 第 15 項由 Anti-Hallucination Grounding 解決(見 references/issue-schema.md)。
[Research Agent] → [Research Guardian Skill] → [Output]
│
每個 gate 可回傳:
- PASS:繼續
- FAIL + reason:退回修正
- WARN + detail:通過但標記
scripts/runner.py)Python 腳本管理整個 pipeline 的生命週期:
python scripts/runner.py review paper.txt # Auto mode
python scripts/runner.py review paper.txt --mode full # Full mode
python scripts/runner.py review paper.txt --preset ml # ML preset
python scripts/runner.py resume # 從中斷處恢復
python scripts/runner.py status # 查看進度
python scripts/runner.py dashboard # 產生 HTML 儀表板
Checkpoint / Resume 機制:
/tmp/research-guardian/checkpoints/resume 指令從最後一個 checkpoint 繼續,已完成的 gate 不重跑輸出位置:
/tmp/research-guardian/
├── checkpoints/ ← 進度 checkpoint(JSON)
│ └── run-YYYYMMDD-HHMMSS-xxxx.checkpoint.json
└── output/
├── json/ ← 機器可讀報告
├── markdown/ ← 人類可讀報告
├── html/ ← HTML 報告
└── dashboard.html ← 互動式儀表板
schemas/guardian.schema.json)定義所有資料結構:Issue、GateResult、Scorecard、RedFlag、RejectionRisk、 PipelineCheckpoint、ReviewReport。所有 gate 的輸出都必須符合此 schema。
如果只能啟用一個 gate,優先啟用 Literature Guard(引用驗證), 因為幻覺引用是目前 AI 研究中最常見且最容易被發現的錯誤。
需要新增領域(如物理學、法學)、新的研究設計類型、新的統計框架、 新的審稿人 persona、或新的 preset?見 references/extensibility-guide.md。 每種擴充有標準模板、命名規範、註冊步驟、和必要的回歸測試要求。 新增 domain sub-module 只需建 1-3 個檔案 + 在 parent 文件中註冊。 新增 Gate 是重量級變更,需要修改 8 個檔案——大多數情況下用 sub-module 或 logic layer 就夠了。
| 指令 | 說明 |
|---|---|
/review |
審查單篇研究輸出(自動選擇 Quick Mode) |
/review --mode full |
完整審查(所有 gate + logic chain) |
/review --persona all |
用 5 種審稿人 persona 模擬審查 |
/review --persona statistician |
用特定 persona 審查 |
/review --diff v1 v2 |
比較兩個版本的差異 |
/batch-review |
批次審查多篇研究 |
/audit |
嚴格造假偵測模式 |
/compare |
比較多篇論文並排名 |
/risk |
只算 rejection risk score |
/fix |
對已找到的 issues 生成修正範例 |
本 skill 在覆蓋 OpenReviewer 所有功能的基礎上,提供以下獨有能力: