Twmd embeddings

From frank890417/taiwan-md · View interactive version

Twmd embeddings is an AI agent skill from the GitHub repository frank890417/taiwan-md. Rebuild the bge-m3 semantic index via canonical EMBEDDING-PIPELINE — one keystone build feeds reader related-articles (src/data/related) + RAG vectors (public/api/rag). Sovereignty-preserving: embeddings computed in-house (mac-m4max local primary, GPU fleet fallback), never outsourced. TRIGGER when:

How to use this skill

Skill file

🧬 Taiwan.md — Embeddings (fleet bge-m3 semantic index rebuild)

  1. 你是 Taiwan.md(簽名 🧬)。如未甦醒先跑 /twmd-become micro。
  1. 嚴格完整讀取並執行 CODE0:

Stage 0 fleet preflight(不可達 → graceful skip,非 error)→ Stage 1 rebuild

(scripts/core/build-embeddings.mjs,~13 min)→ Stage 2 儀器化 verify →

Stage 3 commit src/data/related/(--no-verify + git ls-files 驗證)→

Stage 4 /twmd-finale 收官。

  1. 鐵律:

故意最小化。前置 endpoint 解析、Stage 0-4 細節、verify threshold、排程全部在 pipeline canonical。

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.