"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
feat(skills): add data verification discipline + research bias self-check (P3)
sambazhufdc7e198d14a
diff --git a/agent/src/skills/data-routing/SKILL.md b/agent/src/skills/data-routing/SKILL.mdindex 0f21cdd99..19cac01d1 100644--- a/agent/src/skills/data-routing/SKILL.md+++ b/agent/src/skills/data-routing/SKILL.md@@ -123,3 +123,22 @@ same-market sources automatically. Only set a concrete source when the user asksis unavailable — route to a free same-market source instead of erroring out.- A single failing symbol or transient HTTP error is reported inside the envelope;it never aborts the surrounding batch.++## Data Verification Discipline++When a number will drive a conclusion (valuation, screening, report), do not trust a+single source. Cross-check it:++- **Verify material figures across ≥2 independent sources** before citing them.+ Prioritize original disclosures (company annual/quarterly reports, exchange filings)+ over third-party aggregators.+- **Flag any deviation >1%** between sources as a ⚠️ caliber mismatch — usually a+ definition difference (GAAP vs Non-GAAP, consolidated vs parent-only, currency,+ TTM vs annual). Do not silently pick one; state both and which you adopt.+- **Use the `financial_rigor` tool's `cross_validate` command** to do this exactly:+ pass `{source: value, ...}` and it returns the median consensus + per-source+ deviation + an `all_consistent` flag at a configurable tolerance (default 2%).+- **Mark unverified numbers** as "single-source" or "estimate" — never present an+ uncorroborated figure as established fact.++This discipline is what separates analysis from aggregation.diff --git a/agent/src/skills/research-discipline/SKILL.md b/agent/src/skills/research-discipline/SKILL.mdnew file mode 100644index 000000000..b1a144659--- /dev/null+++ b/agent/src/skills/research-discipline/SKILL.md@@ -0,0 +1,31 @@+---+name: research-discipline+category: analysis+description: "A short self-bias checklist to run at the START of any investment research task (stock screen / sector study / company deep-dive). Four biases that systematically warp AI research — leader-bias (only big caps), English-bias (miss JP/KR/TW players), narrative-bias (chase concept labels), confirmation-bias (only bullish evidence) — plus recency-bias. Load this first, then research with the corrections in mind. Not a workflow, just a 60-second attitude reset that materially improves coverage and honesty."+---++# AI Research Bias Self-Check++Run this at the **start** of any research task (screening, sector study, company deep-dive). These biases systematically warp AI-generated research — 60 seconds here materially improves coverage and intellectual honesty.++## The biases and their corrections++| Bias | How it shows | Correction |+|------|--------------|------------|+| **Leader-bias** (龙头偏好) | Search results are dominated by large-caps; you end up analyzing only the obvious names. | Deliberately search small/mid-caps and suppliers; add `small cap` / `mid cap` / `供应链` to queries. Ask: "who is NOT in the top-10 that should be here?" |+| **English-bias** (英文偏好) | You miss Japanese / Korean / Taiwanese / European players because English sources under-cover them. | For any hardware/supply-chain thesis, explicitly search JP/KR/TW markets in their own languages — they are often the actual choke-point owners. |+| **Narrative-bias** (叙事偏好) | You get pulled in by a concept label ("AI stock", "new energy") and analyze the marketing instead of the business. | Ignore the label; look at the actual product, unit economics, and financial statements. A company tagged "AI" may have no AI revenue. |+| **Confirmation-bias** (确认偏见) | Once a thesis forms, you only search for evidence that supports it. | Force a Munger inversion: for every bull point, deliberately search the bear case ("X 风险 / 问题 / 看空"). Cite at least one disconfirming data point per conclusion. |+| **Recency-bias** (时效偏见) | You rely on a cached/outdated figure because it ranks high in search. | For any material number, check its date. Prefer the last 30 days; mark anything older than a year as "possibly stale". |++## How to apply++1. Before the first search, read the rows above.+2. Write the thesis in one sentence, then for each bias ask: "am I about to fall into this?"+3. Consciously broaden the query plan: small-caps? non-English markets? the bear case? the latest data?+4. After research, before writing conclusions, re-check: did I cite any disconfirming evidence? did I miss a non-English player? is any key figure stale?++This pairs with:+- `financial_rigor` `cross_validate` — verify the **numbers** (data layer)+- `report_audit` — verify the **final report** (output layer)+- this skill — verify the **reasoning** (thinking layer)