Epistemic Protocols

한국어

When AI collaboration goes off-track, you redo everything. These protocols bring the decisions that set the direction to you early — often at the plan level, before a wrong one hardens into code or other downstream work — and leave each one yours to settle. Fix the direction before the implementation compounds it.

Why

As models improve, a well-written prompt goes a long way: if it already states everything that matters, working with or without a protocol can lead to nearly the same result. Writing that prompt is the hard part. It means recalling every unknown at once and anticipating the cases the work will meet at runtime, alone, before the first reply. What the prompt missed surfaces later, and the later it surfaces the more it costs: a wrong direction corrected at the plan level can cost one conversation turn, while one found after release to a live service costs rework that grows with everything built on it. The protocols make the AI a thinking partner at those decision points. It asks, and you answer with what the question brings to mind; it presents candidates, and you recognize which one fits. Many of the items that end up deciding the work are ones you could not have listed at the start.

For example, "Write the email announcing next week's meeting":

DecisionWithout a protocolWith /inquire
Who receives itThe AI decides aloneAsked — you recall and answer
What the meeting is for (decide or share)The AI decides aloneAsked — you recall and answer
Date and placeAsked — you answerAsked — you recall and answer
Whether to ask for repliesThe AI decides alonePresented — you recognize it
LengthThe AI decides alonePresented — you correct it
ToneThe AI decides aloneThe AI decides alone

This is an illustration, not a run result: which items come up, and how, varies with the model and the person. A decision the AI makes alone is not wrong for that; what differs is whether it passed through you.

Where the protocols help

Use the protocols to catch a wrong direction while planning, before it shapes later work. The same structured checkpoints also help when you hand work to an autonomous run, check a result against your actual situation, recall an earlier discussion, or make sure you understand something before building on it.

Quick Start

Claude Code

Install every protocol, together with the route and epistemic-cooperative plugins:

curl -fsSL https://raw.githubusercontent.com/jongwony/epistemic-protocols/main/scripts/install.sh | bash

route lets the agent invoke a suitable protocol from the conversation context, and find relevant collaboration principles when needed, so you do not have to know which protocol fits. It is still experimental: its wording and hook set can change between releases. epistemic-cooperative adds guided learning (/onboard), deficit recognition (/probe), and contributor tools. To leave either one out, run claude plugin disable <name>@epistemic-protocols after installing; without route, every protocol stays installed and callable by its own command.

You can also invoke a protocol yourself at the decision point you are at — for example /inquire before handing work to the AI, or /bound when you cannot yet see what a task needs you to decide.

/onboard gives a quick recommendation from your recent sessions and can continue into guided learning with scenarios, trials, and quizzes.

Codex

This repository is also a Codex plugin marketplace. To add it from GitHub:

curl -fsSL https://raw.githubusercontent.com/jongwony/epistemic-protocols/main/scripts/install-codex.sh | bash

For local development from a checkout:

codex plugin marketplace add /path/to/epistemic-protocols

The Codex marketplace keeps the same plugin boundaries as Claude Code: each protocol is its own plugin, and epistemic-cooperative carries the utility skills. The marketplace lives at .agents/plugins/marketplace.json; each plugin keeps its Codex manifest beside its Claude manifest at <plugin>/.codex-plugin/plugin.json.

A protocol's checkpoint presents its decisions and what each answer changes; it does not by itself suspend execution, so on a non-interactive run such as codex exec the decisions can arrive after the work has started.

Other agent tools

Protocol skill sources live in each plugin directory under <plugin>/skills/<name>/SKILL.md. The repository does not ship a pre-materialized .agents/skills/ symlink view because Codex marketplace discovery can scan both plugin manifests and Agent Skills symlinks, producing duplicate skill entries.

Hosts that need an Agent Skills-style view should materialize it outside the Codex marketplace checkout or use host-specific packaging. Runtime tool grounding still varies by tool, so protocol behavior in non-Claude-Code hosts is provisional pending accumulated cross-host use evidence.

Protocols

ProtocolCommandWhen to useOnce it has run
Aitesis/inquireA task rests on missing context or unchecked assumptions, and you need to see what remains unknownYou can recognize what was settled and from where, what rests on weak or unreached ground, and what only you decide
Euporia/elicitYou know roughly what you want but can't yet say which decisions it turns on — and your own material (codebase, rules, past sessions) and the domain's usual decisions hold the cluesYou can say "this is my intent, aligned enough" — each recorded value stands on your own words, and what you left open is carried
Heuresis/ideateYou have no candidates yet, or the field narrowed too early — widen it before choosing any—
Proplasma/previewYou're about to commit to one of several directions, but you can't judge them from their descriptions — you'd have to see them firstYou can say what each direction means for your purpose, whether that rests on a probe you saw, a description, your own account, or evidence, and which one you take
Hypotyposis/sketchYou have to make something and can't say what it should be, but you'd recognize it on sightYou can point at a version as you met it and say "this is the form, for this purpose", and see where it and the passed-over versions are
Analogia/groundYou're carrying a framework, an analogy, or an earlier design over to a case, or checking an abstraction against its own cases, and it isn't clear what that comparison actually supportsYou can say what carries each conclusion, what was checked and found, what would break it, and whether it holds, is blocked, or remains undetermined
Periagoge/induceSeveral concrete cases seem to share something you can't name yet — pin down what they have in common—
Merismos/apportionYou're about to hand one goal to an autonomous run — cut it into units that each fit one stretch of the run and carry their own conditions for when they are doneYou can call the plan yours — units with their checks, accepted gaps, and held judgments; what needed you before the run is settled, and the rest comes back to you once at the end
Epharmoge/contextualizeA result — this session's or another's — may be correct but not fit your actual situation, or leave out something you asked forYou can see each misfit found, settled or withdrawn by your words, your grant, or evidence, with the fixes carried out and reread until nothing remains open
Horismos/boundYou cannot yet see what needs deciding in a task, or which decisions to keep or entrustYou can see each decision, what rests on it, its cost if wrong, what settled it, and what remains open and who settles it
Anamnesis/recollectYou vaguely remember something was discussed before but cannot name it — one session, or a line of work, topic, or concept spread across several—
Katalepsis/graspSomething in front of you — code, a document, a result — needs to be actually understood: you can't follow it yet, or you nod along and aren't sureYou can say your understanding serves your purpose, on a map built with you and checked against the material, knowing what would settle the checks still pending
Hyphegesis/conductThe work takes several lines of thinking, and it isn't obvious what order they run in, which can run apart, how their results combine, when to stop, or where each result goes — settle how it runs before startingYou can say how the lines order, combine, stop, and where their results go, recognize what you entrusted and kept, and call the method yours

The protocols are not a fixed sequence or grouping: reach for the one whose deficit you are in, and combine them as the situation calls for.

Utilities

For utility plugin installation in Claude Code, see Quick Start.

Epistemic Cooperative

Skills that act at their own decision points — around the protocols, on the work itself, and on the prose that steers the agent.

CommandWhen to use
Finding the protocol
/onboardNew here — get one recommendation from your recent sessions, then optionally learn by scenario, trial, and quiz
/probeSomething feels off but you cannot name which deficit it is — several hypotheses, routed by your recognition
Shaping the work
/reduced-space-testA claim that a stand-in behaves like the real target — test it in a bounded space and carry the untested remainder forward explicitly
/gate-checkAn option set is about to be presented to you — an independent advisor rules it genuine, collapsed, or malformed, and its cited grounds are verified first
Auditing instruction prose
/white-bearProse that tells the agent what not to do — find prohibition framing and negated anchoring that keep the wrong target in view
/zero-shotProse that anchors on examples where a principle would generalize — find and name those spots
Steering the project
/realignThe project guide's direction line no longer matches where the work is going — fuse the inscribed line, outside signals, and your present understanding

Route

Experimental. The hook set and the injected wording can change between releases, and the optional advisory channel is unvalidated — see route/README.md before depending on either.

Context-driven protocol routing. A session-start hook places the installed-protocol deficit table and the premise index at the head of context, once per context epoch; a per-prompt hook places a short directive beside each prompt. When the accumulated context shows a deficit exactly one installed core protocol resolves, the agent invokes that protocol, nudges when several fit, and stays silent when none does. The invoked protocol's own first gate keeps your judgment where it was.

What the checks cover

Different mechanisms check different things, and it helps to know where each one stops.

  • Lean proofs — a protocol's contract is also written as a Lean model inside its SKILL.md. Lean checks that the properties stated about that model hold, under the assumptions the model declares; the judgments the model leaves open are among those assumptions, not things it proves. A protocol's lean/EpistemicProtocols/<Protocol>/Theorems.lean holds what is stated and proved about its model.
  • Runtime evidence — the contributor skill /realize runs a protocol in a real session and collects evidence that the steps it declares actually happen, through automatic checks plus a review of the transcript.
  • Static checks — /verify checks the files' structure: required sections, consistent names and references, matching versions.

None of these measures what happens downstream of a protocol, such as whether it reduces rework, and that is deliberate: how much a protocol helps depends on what each person does not yet know, and on the model, which keeps improving. What a run can show is which decisions entered the conversation because the AI asked or presented them rather than because they were written up front. The contributor skill /outcome runs the same request with and without a protocol and lists those decisions with the passages they came from.

For Contributors

Start with ONBOARDING.md. Paste the full file into a fresh Claude Code session to use Claude as an onboarding buddy for environment setup, core docs, and the contribution workflow.

For architecture, read CLAUDE.md. For the underlying collaboration principles, explore premise/.

When editing the project's public description, follow the guidance in Mission Bridge.

Greek Codex
ProtocolGreekMeaning
KatalepsisκατάληψιςGrasping, comprehension
HorismosὁρισμόςA bounding
AitesisαἴτησιςRequest, inquiry
AnalogiaἀναλογίαProportion
PeriagogeπεριαγωγήTurning-around
EuporiaεὐπορίαWay through, resourcefulness
MerismosμερισμόςApportionment
EpharmogeἐφαρμογήApplication, fitting
AnamnesisἀνάμνησιςRecollection
HyphegesisὑφήγησιςLeading the way, guiding from ahead
ProplasmaπρόπλασμαPreliminary model, first mold
HypotyposisὑποτύπωσιςOutline, first sketch
HeuresisεὕρεσιςFinding, discovery

Acknowledgments

  • @yolohyo — Comment-lifecycle UX design contribution for comment-review (the skill has since moved to cc-plugin as a protocol-free substrate plugin)
  • @zzsza — Quiz-based participatory UX design contribution for Onboard

License

MIT