graphify
GRGraphify-Labs/graphify156k2,564 new stars in the last 7 days
Resolve Buddhist canon citations (CBETA T48n2008, SuttaCentral SN 22.59, BDRC W22272, Toh) to title and link; flags ids that do not exist. 佛典出处、经号解析与核对。
Use this skill when a Buddhist canon reference needs to be checked, expanded, or linked: an answer cites T2008 or SN 22.59, a bibliography lists W22272, a user asks "what is T0235", or you are about to write a citation yourself and want to be sure the id exists and belongs to the title you are giving it.
python3 scripts/bcite.py T48n2008 "SN 22.59" "Dhp 5" W22272 "Toh 3871"
python3 scripts/bcite.py T2008 --title 六祖大师法宝坛经 # does the title match the id?
echo '[{"citation": "X0434"}, {"citation": "MN 10"}]' | python3 scripts/bcite.py --json
Standard library only, Python 3.9+. Network: cbdata.dila.edu.tw, suttacentral.net, ldspdi.bdrc.io.
| scheme | accepted forms | checked against |
|---|---|---|
| CBETA | T48n2008, T2008, T235, X0434, J36nB348 | CBETA works API |
| SuttaCentral | DN 16, MN 10, SN 22.59, AN 1.5, Dhp 5, Snp 1.8, Thag 1.1 | suttaplex; verse and short-sutta numbers resolve to their range (Dhp 5 → dhp1-20) |
| BDRC | W22272, MW22272 | ldspdi resource |
| Tohoku | Toh 3871, D3871 | not verified; 84000 link only |
exists: true — the id is real; use canonical, title and url.exists: false — the id does not exist. Do not cite it; tell the user.exists: null — not checked (network failure, or Tohoku). Never treat null as false or as true.title_matches: false — the id exists but is a different work from the declared title (a common error: a real id attached to the wrong book). null means the titles could not be compared (e.g. a Chinese title against Tibetan BDRC labels).Pair with buddhist-quote-trace to check the quoted words themselves, not only the reference.
核对或补全佛典出处时用:经号是否存在、属于哪部书、书名与经号对不对得上、给出可点开的链接。exists: null 表示没核成,既不是存在也不是不存在;title_matches: false 表示经号真实但挂错了书——这是最常见的引用错误。
GRGraphify-Labs/graphify156k2,564 new stars in the last 7 days
PApaperclipai/paperclip119k1,966 new stars in the last 7 days
NEnexu-io/open-design111k1,277 new stars in the last 7 days
HEheygen-com/hyperframes94k4,558 new stars in the last 7 days
BYbytedance/deer-flow86k276 new stars in the last 7 days
BYbytedance/deer-flow86k276 new stars in the last 7 days