Answers hard questions by building a persistent graph of atomic claims, each scored 0-1 by Jev from a shared evidence ledger. Keeps false and unexamined claims on record. For research, codebase questions, or hypothesis testing needing skeptical support.
Ships in lemma. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A question becomes a pyramid of claims. The root is the claim we want to settle. Each claim below it holds the root up or pulls it down. Evidence lives in its own ledger and links to claims. Jev gives each claim one number, its credence. The agent finds evidence, splits claims, and links them. Nothing is deleted.
File: ~/.lemma/<name>.json (set LEMMA_HOME to change the folder).
{
"name": "pyramids-tombs",
"question": "Were the pyramids used as tombs?",
"root": "n0",
"claims": {
"n0": {"text": "...", "evidence": [{"id": "e1"}]}
},
"evidence": {
"e1": {"source": "citation or URL", "says": "...", "origin": "the underlying source, e.g. Lehner 1997", "kind": "find|primary|measurement|secondary|testimony", "access": "how the source could know this"}
},
"edges": [{"from": "n1", "to": "n0", "type": "required_by"}]
}
was list. Do not delete it.origin names the underlying source, not the website. A Wikipedia page that summarizes Lehner has origin Lehner. next warns when half the evidence under a claim shares one origin.from <type> to:
required_by: if from is false, to falls. Code caps to at the credence of from. Use it only for a necessary premise that a rival disputes.sufficient_for: if from is true, to is true. Code raises to to at least the credence of from. Use it for "one case proves it".supports, undermines: evidence-like weight. Jev weighs these.undermines.One number from 0 to 1. 0 = established false, 0.5 = no lean, 1 = established true. A claim without a judgment shows open.
local).supports or undermines edge a weight from -1 to 1: how the child would bear on the parent if true. A child that a rival also predicts gets about 0.weight x log-odds(child), only when the child leans true. A false supporting child adds nothing.required_by caps the result; sufficient_for sets a floor.judged.jev keeps Jev's own direct judgment for comparison. show prints it when it differs by 0.15 or more. A large gap means an edge weight or the rule needs a look.Each evidence link also gets bears, from -1 (strongly undermines) to 1 (strongly supports).
next prints the question above the root on every loop so drift stays visible.python3 lemma.py next <name>. It prints the shape of the graph and a ranked list of steps. Do step 1. Run next again. Repeat.next gives four actions:
atomic score is a hint. You decide when a claim is small enough: one observation or one source could settle it.Ranking: judge first (deepest claims first), then by leverage on the root and closeness to 0.5. required_by passes full leverage, sufficient_for passes the room its parent has left to rise, supports and undermines pass half. You can do a different step if you have a reason. Say what the reason is.
lemma.py is in this skill's folder.
python3 lemma.py next <name> [k] # graph shape and the top k steps (default 5)
python3 lemma.py judge <name> <id> # one Jev call: credence, atomic, and bears for each linked evidence item
python3 lemma.py show <name> # the pyramid, from the root down
python3 lemma.py explain <name> <id> # what each child added to a parent
Needs TYPESAFE_API_KEY. For large graphs, judging many claims in parallel with Python's ThreadPoolExecutor is a possible future step.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
research, hypothesis-testing, evidence, epistemics, knowledge-graph
Other plugins' skills for the same job
/lemma:lemmafrom lemma
npx claudepluginhub ratacat/ratacats-skills --plugin lemma