Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jongwony/epistemic-protocols --skill elicitgit clone --depth 1 https://github.com/jongwony/epistemic-protocolsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jongwony/epistemic-protocols/elicit)<a href="https://agentmods.dev/skills/jongwony/epistemic-protocols/elicit"><img src="https://agentmods.dev/badge/skills/jongwony/epistemic-protocols/elicit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jongwony/epistemic-protocols/elicit"><img src="https://agentmods.dev/badge/skills/jongwony/epistemic-protocols/elicit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.05404 |
| Opus 5.5 | $0.00042 | $0.02162 |
| Sonnet 5.5 | $0.00021 | $0.01081 |
| Haiku 4.5 | $0.00011 | $0.00540 |
Grade A, and why
elicit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 352 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Euporia Protocol
Resolve abstract aporia by surfacing the decisions an intent turns on, so that the person can recognize the intent as theirs. Type: (AbstractAporia, Hybrid, REVERSE-INDUCE-CYCLE, IntentSeed) → ResolvedEndpoint.
Definition
Euporia (εὐπορία): A dialogical act of opening a way through abstract aporia — the person holds a direction but cannot name up front which decisions it turns on. The AI traces those decision coordinates from the person's own material, from their words, and from the decision structure of the domain the intent sits in, and surfaces each with where it comes from and what leaving it open changes. Each round returns the intent as it stands — what the person's words made stand, what is the AI's proposal, what is still open — and owes no answer. That the intent is aligned enough is the person's to say, at any point, with coordinates still open. What stands is the person's intent, not the factual correctness of its parts.
/-!
How to read this block. It is core Lean 4 and elaborates as written, and you are the model it is
written for: you read it, and by inference over the context you settle each element it leaves
open. Every `axiom` is one of those judgments — a black box to the contract, yours to make from
the material in front of you; its doc comment says what you judge there, and nothing in this
block decides it for you. Every `def`, `inductive`, and `structure` is fixed by the contract.
-/
/-! ── FLOW ──
Euporia(I) → start(c) → elicit(c, r, utterances), where c is the fused session context and r is
the last return:
first round(c): the return (`surface`, an Extension) — the read-back of the intent as
understood, with its sources, what stands and what is open; no answer is owed
next utterance u: c' := fuse(c, u), every reading below taken afresh on c' →
[the utterance does not bear on this run] the session answers it; the last return stands
[otherwise] → the return again, read at c'
no further utterance: the last return stands; nothing is taken
-/
/-! ── MORPHISM ──
IntentSeed
→ inventory -- the live coordinates, read over the fused context (focus)
→ surface -- the read-back and the open coordinates, with sources and contrary grounds (focus)
→ fuse(answer) -- where one comes: the answer joins the context whole
→ stand -- a person's turn makes a value stand in the intent, under the record rule (`StandingSupported`)
→ ResolvedEndpoint
requires: aporia(I)
deficit: AbstractAporia -- activation precondition (Layer 1/2)
preserves: I -- the seed turn is never rewritten; the context only grows
invariant: Reverse Induction over Axis-Fixed Extraction -- coordinates emerge from the intent; no fixed axis taxonomy
invariant: Focus never records -- focus is re-read every turn and carries no authority; only the person's words move a value into the record
-/
namespace Euporia
/-! ── GROUND ──
The session primitive this contract reads.
-/
inductive Origin | person | assistant | external | peer | injected | unknown
deriving DecidableEq
/-- A turn is who sent it and what it says. What the turn does — a statement, a request, an
instruction, a report of what was observed — is read from its content, never stored here. -/
structure Turn (P : Type) where
origin : Origin
content : P
abbrev Context (P : Type) := List (Turn P)
/-- An origin that may ground: the harness says who sent a turn, and that is all this admits on.
The assistant's own turns, injected text, and turns of unknown origin ground nothing. -/
def Grounding := {o : Origin // o ≠ .assistant ∧ o ≠ .injected ∧ o ≠ .unknown}
/-- Any turn a person sent, whatever it does. -/
def Utterance (P : Type) := {e : Turn P // e.origin = .person}
def Response (P : Type) := {e : Turn P // e.origin = .assistant}
/-- A turn from outside the conversation: what a tool or the environment returned, or a peer's
report. A person's account of what they observed is an utterance, read as such. -/
def Evidence (P : Type) := {e : Turn P // e.origin = .external ∨ e.origin = .peer}
def fuse {P : Type} (c : Context P) (u : Utterance P) : Context P := c ++ [u.val]
/-- One turn of the context, with the origin it grounds on. -/
structure Cite {P : Type} (c : Context P) where
idx : Nat
lt : idx < c.length
src : Grounding
ok : (c[idx]'lt).origin = src.val
/-- `admits` reads only who sent the cited turn; `supports` is the model's reading of what that
turn says, including what it does — a statement, a request, a report of an observation. -/
structure Coord (P A : Type) where
admits : Grounding → Prop
supports : Context P → Turn P → A → Prop
/-- `open_` may carry a candidate citation whose support is still short. -/
inductive Occ {P A : Type} (q : Coord P A) (c : Context P)
| open_ (candidate : Option (Cite c))
| filled (a : A) (src : Cite c) (allowed : q.admits src.src)
(supported : q.supports c (c[src.idx]'src.lt) a)
/-- The same turn, cited from a longer context; what it supports is judged again against the
context that now stands. -/
def Cite.lift {P : Type} {c : Context P} (s : Cite c) (t : Context P) : Cite (c ++ t) :=
{ idx := s.idx
lt := by have := s.lt; simp; omega
src := s.src
ok := by rw [List.getElem_append_left s.lt]; exact s.ok }
/-! ── TYPES ── -/
noncomputable section
variable {P : Type}
/-- `I`, the intent seed: the utterance that carries the intent and the context it lands in.
Source-neutral; read from the context. -/
abbrev IntentSeed (P : Type) := Context P
/-- The deficit: the person holds a direction but has not fixed which decisions it turns on — a
coordinate that their material, their words, or the decision structure of the domain the intent
sits in raises is still open. Invoking `/elicit` is the person's declaration of it, and you do
not judge it away. **Your judgment** on the AI-guided path only, as the entry judgment: finding
none means not starting, which leaves no outcome of this protocol; finding it makes the first
surface a proposal the person confirms or declines. -/
axiom aporia : Context P → Prop
/-- A coordinate or a value, named as the presentation shows it. -/
abbrev Entry := String
/-- **Your judgment**, the live inventory: every coordinate the intent turns on that this run has
raised and the person's words have not since merged into another — read over the whole fused
context: the seed, every answer, what reads of the person's material returned, and the
decision structure of the domain the intent sits in. A coordinate raised once stays here
whether or not the current surface shows it; one the person's words retired stays too, marked
as retired in their words, and is not raised again unless they return to it. The person may
add, merge, reword, or retire any coordinate, the axis itself included. The person's own word on
the intent as a whole — that it is aligned enough — is carried as an entry here once they give
it. Whether a reworded coordinate is the same coordinate is
your judgment; rewording it does not drop the value that stands on it. Guidance for the reading, not steps it must take: read
the person's material where the intent turns on it rather than from scratch each round, and a
coordinate whose basis is still thin may wait before it is raised. -/
axiom coordinates : Context P → List Entry
/-- Who first put a value forward: you, or the person. -/
inductive Proposer | draft | person
inductive Standing | set | adopted | granted
structure Determination where
value : Entry
proposer : Proposer
standing : Standing
/-- **Your judgment**, the record rule: the cited turn makes coordinate `x` stand as `d`, read
against the context as it now stands, on the scope the turn's words reach. Who proposed the
value and how it stood are read separately. The proposer is whoever first put the value forward
in the context, however the cited turn words it; a value you drew from evidence or from the
person's material and put to them was put forward by you. The standing is what the cited turn
itself did: gave the value in its own words (`set`) — a person repeating their own earlier
value keeps it `set`; took a value put forward before (`adopted`) —
where you put it forward, only if it was visible as yours before this turn; or gave a grant
whose words reach your choice (`granted`).
An addition of yours the person did not see — a default for an unanswered coordinate, a merge,
a rejected alternative or a reason they did not state, a question read as a decision — stands
on nothing and stays your proposal, unless a grant whose words reach it covers it. A question, a request to look
something up, an observation, a deferral, or a bare mention makes nothing stand. The value is in the words of
the turn that set it, or of the proposal as it was shown; a read-back that paraphrases never
replaces it, and never turns the person's value into an adoption. That the intent is aligned
enough stands only where a turn of the person's says it, read against the context as it now
stands: filled coordinates, or your own reading, say nothing of it, and a turn whose intent is
unclear does not make it stand. -/
axiom StandingSupported : Entry → Context P → Turn P → Determination → Prop
/-- Only a person's turn makes a value stand in the intent. Evidence fixes facts and informs the
person; it fills no coordinate here. -/
def standingCoord (x : Entry) : Coord P Determination :=
{ admits := (·.val = .person), supports := StandingSupported x }
/-- **Your reading**: how coordinate `x` stands in `c` — filled by the person's latest turn that
makes it stand; open where none does, carrying as candidate only a turn of the person's or
evidence that points toward a value not yet taken. A value a person's turn made stand changes
only by their later words: evidence against it is shown, and the value stands. A coordinate
the person retired is open from the turn that retired it, and nothing stands on it until their
later words make a value stand on it again. -/
axiom operative : (c : Context P) → (x : Entry) → Occ (standingCoord (P := P) x) c
def isFilled {A : Type} {q : Coord P A} {c : Context P} : Occ q c → Bool
| .open_ _ => false
| .filled .. => true
/-- One recorded value: the coordinate, what stands on it, and the person's turn it stands on,
with that turn's support. -/
structure Recorded (c : Context P) where
coord : Entry
det : Determination
src : Cite c
byPerson : src.src.val = .person
supported : StandingSupported coord c (c[src.idx]'src.lt) det
def recordOf {c : Context P} (x : Entry) : Occ (standingCoord (P := P) x) c → List (Recorded c)
| .open_ _ => []
| .filled d s allowed supported => [⟨x, d, s, allowed, supported⟩]
/-- The record: every filled occurrence over the live inventory. An open one adds nothing; a
proposal of yours the person has not taken lives only in the context and its presentation. -/
def record (c : Context P) : List (Recorded c) :=
(coordinates c).flatMap (fun x => recordOf x (operative c x))
/-- What is still open: every coordinate of the live inventory whose occurrence is open, whether
it was deferred, left unanswered, never reached, or retired by the person — a deferred or
retired one shown as deferred or retired, in their words. None closes by default. -/
def residual (c : Context P) : List Entry :=
(coordinates c).filter (fun x => !isFilled (operative c x))
/-- **Your judgment**: the latest utterance bears on this run — a value, a deferral, a question
about the return, a new frame, that the intent is aligned enough — read whole against the
context as it now stands. An utterance that does not bear on it leaves the last return
standing: the session answers it, that answer stays in the context, and no return of this run
is drawn. Where a turn could be read either way, the answer says briefly how it took it. An
AI-guided run the person has not confirmed has not started: nothing they say is recorded into
it. -/
axiom Reaches : Context P → Prop
/-- **Your record**: the contrary grounds you presented and still hold —
a value you doubt, a premise that may not hold, a sibling deficit you read — attached to the
return; empty when there were none. -/
axiom dissent : Context P → List String
/-- Once it has run, the person can say: this is my intent, aligned enough — the decisions it
turns on were surfaced to me, each value in the record stands on my own words or on a proposal
shown as yours that I took, with who proposed it and how it came to stand, and what I left
open is carried as residual. `ResolvedEndpoint`: the intent as it stands at the latest return
— the context it was read at, the recorded values, what is still open, and the dissent
attached to the return. -/
structure ResolvedEndpoint (P : Type) where
context : Context P
record : List (Recorded context)
residual : List Entry
dissent : List String
/-- The return read at `c`: the record and the residual as read there, where its citations point,
with the dissent the turn that shows it at `shown` attaches. -/
def endpoint (c shown : Context P) : ResolvedEndpoint P :=
{ context := c, record := record c, residual := residual c, dissent := dissent shown }
/-! ── A-BINDING ──
bind(I) = explicit_arg ∪ recent_intent_seed ∪ surfaced_aporia
Priority: explicit_arg > recent_intent_seed > surfaced_aporia
/elicit "intent" → I = the utterance, with the context it lands in
/elicit (alone) → I = the most recent intent seed in the session
"I want to..." → I = the utterance under discussion (AI-detected path: the first surface
confirms or declines the run; a decline leaves it unstarted)
-/
/-! ── MODE STATE ──
Λ is the fused context; every reading above is taken from it. The recursion also
carries the last return, which PHASE TRANSITIONS threads beside it.
-/
/-! ── PHASE TRANSITIONS ──
A step is one arm of a structural recursion over the person's utterances, carrying the context as
it stands and the last return. `respond` is the next return's turn, as TOOL GROUNDING's `surface`
entry names it; `session` is the session's own answer to an utterance that does not bear on the
run, which stays in the context without being a return of this run, and the last return is
carried past it unchanged.
-/
open Classical in
def elicit (respond session : Context P → Response P) :
Context P → ResolvedEndpoint P → List (Utterance P) → ResolvedEndpoint P
| _, r, [] => r
| c, r, u :: us =>
let c' := fuse c u
if ¬ Reaches c' then elicit respond session (c' ++ [(session c').val]) r us
else
let shown := c' ++ [(respond c').val]
elicit respond session shown (endpoint c' shown) us
/-- The run opens on its first return. -/
def start (respond session : Context P → Response P) (c : Context P)
(us : List (Utterance P)) : ResolvedEndpoint P :=
let shown := c ++ [(respond c).val]
elicit respond session shown (endpoint c shown) us
/-! ── CONVERGENCE ──
returned: every round's turn is a return, whether or not the person answered anything; none owes
an answer, and no closing turn is asked. Convergence evidence: each return, as `surface` states
it. Demonstrated, not asserted.
-/
/-! ── TOOL GROUNDING ──
What each operation of this contract does. An interaction with the person is one of two kinds,
and its kind fixes how it continues once its text is presented. A Constitution settles a judgment
through the person's turn. An Extension settles none for the person: it passes on a result its
cited ground fixes, or carries reversible work forward on a judgment the AI states, which stays
the AI's proposal until the person takes it. Beyond the Constitution operations a contract
annotates, whether work goes forward this way or waits for the person's answer is the AI's
judgment in the situation, and work that cannot be undone waits for the authorization it needs.
Work carried forward, on a grant or a stated judgment or as clear work, returns with an account
of how the request was read, what was judged on what basis — naming an alternative set aside
where it may be preferred — and how far the work went.
-/
inductive Interaction | constitution | extension
inductive Continuation | stop | proceed
inductive Annot | sense | observe | track | transform | dispatch | interaction (kind : Interaction)
/-- Every interaction presents its text; a Constitution then stops for the person's turn, and an
Extension proceeds. -/
def Interaction.realization : Interaction → Continuation
| .constitution => .stop
| .extension => .proceed
inductive Op | detect | read | trace | surface | readAnswer | converge | seam
def grounding : Op → Annot × String
| .detect => (.sense, "Internal analysis, on the AI-guided path only: whether the person has fixed which decisions the intent turns on, read from the utterance, their material, and the domain's decision structure; an invocation of /elicit declares the deficit and is not judged")
| .read => (.observe, "artifact read, artifact search, record read: read-only reads of the person's own material where the intent turns on it")
| .trace => (.sense, "Internal analysis: the live inventory over the whole fused context and the domain's decision structure, each coordinate with where it comes from and what leaving it open changes")
| .surface => (.interaction .extension, "a read-back of the intent as understood, every round the first included, with its sources and each recorded value in the words that made it stand, marked by who proposed it and how it stood; where the read-back, or your reading of the person's turn, settles something their words left open — a referent, a sense — it is shown as your reading; each open coordinate the round shows, with its question, where it comes from — the person's material cited, their words quoted as said without an unstated mental model, or the domain's decision structure marked as yours — what leaving it open changes, and any default as your proposal; your contrary grounds before the questions. Guidance for the showing: coordinates the domain raises come after the ones the person's material and words raise, as open questions rather than filled examples; a deferred coordinate returns in the same wording with the same basis, marked as returning. The answer may give values, defer, or say the intent is aligned enough, in any form; an answer beyond the open coordinates joins the context whole")
| .readAnswer => (.sense, "Internal analysis: whether the latest utterance bears on this run, and what it does there — the values it makes stand — read whole against the fused context as it now stands, whatever form it takes")
| .converge => (.interaction .extension, "the convergence evidence CONVERGENCE names, which each return carries")
| .seam => (.interaction .extension, "after a return, proceed to the next move the person declared, citing that turn")
/-! ── COMPOSITION ──
*: product — (D₁ × D₂) → (R₁ × R₂). Intent resolution emergent via session context.
-/
end
end Euporia
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 15d ago Changed · -34 lines 6db8936dc443
- 21d ago Changed · -3 lines 88bc91d492b1
- 29d ago Changed · +61 tokens per session ed891e110b50
- 1mo ago Changed 30f8d98e739b
- 1mo ago Changed 541727b05ab9
- 1mo ago Changed 99e01c28319e
- 1mo ago Changed · +8 lines f94df164377b
- 1mo ago Changed · -13 lines 8378407c2e87
- 1mo ago Changed · +3 lines 8a8b7f598fea
- 1mo ago First seen · 391 lines · 44 tokens per session scan A 35098eef9a83
elicit is a skill published in the GitHub repository jongwony/epistemic-protocols (176 stars, last pushed 6d ago), licensed MIT. It adds 105 tokens to every session and 5,404 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
elicit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| elicitjongwony/epistemic-protocols | Skill | 176 | 6d ago | MIT | A | 105 | Claude Code |
| flow-next-tracker-syncgmickel/flow-next | Skill | 735 | yesterday | MIT | A | 44 | Claude Code, Codex |
| flow-next-resolve-prgmickel/flow-next | Skill | 735 | yesterday | MIT | A | 36 | Claude Code, Codex |
| plugin-code-review-orchestratedexplyt/spring-plugin | Skill | 170 | 7d ago | Apache-2.0 | A | 72 | Claude Code, Codex |
| docsThe01Geek/prflow | Skill | 101 | 5d ago | MIT | A | 97 | Claude Code |
| fix-js-globalsUI5/plugins-coding-agents | Skill | 48 | 2d ago | Apache-2.0 | A | 243 | Claude Code, Codex |
| fix-control-rendererUI5/plugins-coding-agents | Skill | 48 | 2d ago | Apache-2.0 | A | 196 | Claude Code, Codex |