cite
Skill15 starsChanged 6 months agoApache-2.0View on GitHub
Given an essay or draft, detect every Jewish source citation in it, verify each against the corpus, and return the essay with each verified reference turned into a hyperlink to the source. The job is narrow and mechanical: link what's real, leave the rest as plain text. - The user pastes an essay, dvar torah, or article and wants its citations hyperlinked and verified. - Not for: writing new prose (use dvar-torah) or finding new sources (use research). This skill…
In this repository5 other files it gives its agents.
- dvar-torahSkill
- outlineSkill
- researchSkill
- source-sheetSkill
- _templateSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Resolve ambiguous references with one clarification: If a reference is ambiguous (*"the Guide"*, *"the Rambam"* with no locus), don't guess.
- Very specific: line 69
Never invent a link, slug, or anchor.
- Distinctive: line 71
Never add or alter the essay's content.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cite
Purpose
Given an essay or draft, detect every Jewish source citation in it, verify each against the corpus, and return the essay with each verified reference turned into a hyperlink to the source. The job is narrow and mechanical: link what's real, leave the rest as plain text.
When to use
- The user pastes an essay, dvar torah, or article and wants its citations hyperlinked and verified.
- Not for: writing new prose (use dvar-torah) or finding new sources (use research). This skill adds zero new content.
MCP tools used
lookup_passage(reference)— verify each detected citation and obtain its deep-link. Deterministic lookup by reference.
Method
- Detect every citation. Scan the essay for canonical Jewish references in all their forms: Tanakh ("Genesis 22:2", "Vayikra 19:18"), Talmud ("Sanhedrin 56a", "Berakhot 2a:4"), Mishnah ("Pirkei Avot 3:14"), commentaries ("Rashi on Genesis 22:2", "Ramban on Numbers 13:27"), and codes ("Mishneh Torah, Hilchot Teshuvah 3:5"). Build a list of the exact reference strings as they appear.
- Verify each one. For every detected reference, call
lookup_passage(reference="Sanhedrin 56a"). A hit confirms the citation is real and gives you its deep-link. A miss means the citation does not cleanly resolve in the corpus. - Resolve ambiguous references with one clarification. If a reference is
ambiguous ("the Guide", "the Rambam" with no locus), don't guess. List the
ambiguous items and ask the user to pick the canonical form ("Guide for the
Perplexed 3:13?") or to skip it. On their reply, run
lookup_passageonce more per resolved reference. - Rewrite minimally. Return the essay verbatim except that each verified reference becomes a link to its passage. Leave unresolved references as plain text. Change nothing else — no new prose, no intro, no outro, no commentary.
Output format
The user's essay, unchanged, with each verified citation hyperlinked inline to its deep-link. No preamble ("Here's your essay…"), no summary ("Sources linked!"). If any references were ambiguous, list them once for disambiguation before linking.
Worked example
Request: "As Rashi notes on Genesis 22:2, the command is deliberately ambiguous; the Gemara in Sanhedrin 56a counts the Noahide laws." — (paste, link the sources)
- Detect:
Rashi on Genesis 22:2,Sanhedrin 56a. lookup_passage(reference="Rashi on Genesis 22:2")→ hit, deep-link returned.lookup_passage(reference="Sanhedrin 56a")→ hit, deep-link returned.
Result:
As Rashi notes on Genesis 22:2, the command is deliberately ambiguous; the Gemara in Sanhedrin 56a counts the Noahide laws.
(If the essay had said "as the Guide explains", you'd first ask: "By 'the Guide,' do you mean Guide for the Perplexed — and which part?")
Notes / limits
- Never invent a link, slug, or anchor. If
lookup_passagedoesn't resolve a reference, leave it as plain text — don't fabricate a target. - Never add or alter the essay's content. This skill links; it does not edit, improve, or fact-check the argument.
- A reference that comes from the right work but the user cited the wrong locus
will still link to whatever
lookup_passagereturns for the string given — verify the locus, don't second-guess the author's intent silently.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

