AI agent?先讀 /llms.txt 取得全站索引。
為 AI Agent
六個官方 skill。裝進你的 AI,它就成為 TWMD 的上手客服,並把台股資料接進你原本就在用的工具。
一行指令裝好六個。repo 為公開開源,安裝前可以先讀過任何一個 skill。
npx skills add https://github.com/Anthonychiu1205/twmd-skill每個 skill 自帶觸發描述,你的 AI 會自己挑對的那個——問 FinMind 就載入搬遷 skill,問 backtrader 就載入回測 skill。只裝其中一個,複製它自己那行指令即可。
twmd-taiwan-market-data所有人・新手零基礎也能上手——貼給你的 AI,它就變成你的台股資料嚮導:建 key、抓第一筆、82 個資料集該用哪個、報錯怎麼救,全部幫你搞定。
npx skills add https://github.com/Anthonychiu1205/twmd-skill --skill "twmd-taiwan-market-data"twmd-quant-recipes量化研究者打開就能跑的因子庫——月營收 YoY 動能、三大法人流向、估值篩選(PER/PBR/殖利率)、多因子排名,每一個都內建 point-in-time 防前視偏誤,你的回測從第一天就不作弊。
npx skills add https://github.com/Anthonychiu1205/twmd-skill --skill "twmd-quant-recipes"twmd-integration工程師production 等級接法一次給齊——自動重試/退避/分頁/async、直接落地 DuckDB/Postgres/BigQuery/Snowflake、接 Airflow/dbt/Dagster,連 Go/Java/Ruby/R 的 client 都有。
npx skills add https://github.com/Anthonychiu1205/twmd-skill --skill "twmd-integration"twmd-migrations切換供應商從 FinMind/yfinance/TEJ/券商 API(永豐/富果)搬過來幾乎不用改 code——drop-in 相容層讓舊 pipeline 直接跑在 TWMD 上。
npx skills add https://github.com/Anthonychiu1205/twmd-skill --skill "twmd-migrations"twmd-backtesting-platforms回測/交易backtrader/vectorbt/zipline、QuantConnect、MT4/MT5 全接得上,還附倖存者偏誤與 point-in-time 提醒——不讓你回測漂亮、實盤破功。
npx skills add https://github.com/Anthonychiu1205/twmd-skill --skill "twmd-backtesting-platforms"twmd-bi-and-agents分析師/agent 開發者Excel/Sheets/Power BI/Tableau 拉進來就有,LangChain/LlamaIndex/function-calling/OpenBB 一鍵接——用 BI 或建 agent,台股資料直接到位。
npx skills add https://github.com/Anthonychiu1205/twmd-skill --skill "twmd-bi-and-agents"