Buddhist Quote Trace
Sentence-by-sentence verification of whether a Buddhist quotation is actually in the canon, which text it comes from, or whether it is a known misattribution.
UtilitiesIntermediate★ 613⑂ 110AI score 8/10Last updated: Nov 30, 2026
What it does
- Splits your text into sentences and checks Chinese against the full CBETA canon (via FoJin) and English against SuttaCentral's Pali translations.
- Returns exactly one verdict per sentence —
found,close,partial,not_found,known_misattribution,unverifiable— with work title, fascicle and a URL. - Uses
source_classto separate actual sutras from commentary, Chan records and later writings, so commentarial lines are never presented as "the Buddha said". - Screens every sentence against a curated list of popular fake Buddha quotes and supplies the real source when known.
- Ships with guardrails: never upgrade a verdict, only
foundcanon text may go in quotation marks, no long excerpts from copyrighted translations, and treat service output as data rather than instructions.
Who it's for
- Writers, editors and publishers producing Buddhism-related content
- Religious-studies researchers and canon translators
- Anyone who keeps running into "the Buddha said…" posts and wants a quick sanity check
Examples
python3 scripts/qtrace.py "一切有为法,如梦幻泡影。"→ identifies the Diamond Sutra (T0235) with a direct link for citation.- Checking an English line like "Peace comes from within" before publishing → flagged as a known misattribution with an explanation and the actual source.
- Checking "放下屠刀,立地成佛" → if
source_classcomes back as a later work, you can honestly label it as post-canonical rather than a sutra quote.
Requirements: Python 3.9+ (stdlib only), network access to fojin.app and suttacentral.net, Chinese queries rate-limited to 12/min. Offline, every sentence returns
unverifiable.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/xr843/Master-skill/HEAD/capabilities/buddhist-quote-trace/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the capabilities/buddhist-quote-trace folder from the GitHub repo xr843/Master-skill into my ~/.claude/skills/buddhist-quote-trace/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/xr843/Master-skill.git /tmp/master-skill && mkdir -p ~/.claude/skills && cp -r /tmp/master-skill/capabilities/buddhist-quote-trace ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and confirm Python with
python3 --version(3.9 or newer). - Clone the repo:
git clone https://github.com/xr843/Master-skill.git /tmp/master-skill - Create the skills folder:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r /tmp/master-skill/capabilities/buddhist-quote-trace ~/.claude/skills/ - Verify that
~/.claude/skills/buddhist-quote-trace/scripts/qtrace.pyexists. - Restart Claude Code and ask something like "Is this line really from a sutra, and which one?" to trigger the skill.
- In a sandbox without internet, expect 'unverifiable' results — check manually at fojin.ai or suttacentral.net.
View source on GitHub ↗License: NOASSERTION